Tagged articles
1622 articles
Page 3 of 17
Code Wrench
Code Wrench
Oct 26, 2025 · Backend Development

Build a Scalable Go Actor Framework with Auto‑Scaling and Graceful Shutdown

Explore the Go Actor model’s core concepts, compare popular Actor libraries, and follow a step‑by‑step implementation that introduces a mailbox, supervisor restart strategy, dynamic ActorPool with auto‑scaler, graceful shutdown via context, and Prometheus metrics, culminating in a complete, production‑ready concurrent framework.

Auto ScalingGoPrometheus
0 likes · 15 min read
Build a Scalable Go Actor Framework with Auto‑Scaling and Graceful Shutdown
Code Wrench
Code Wrench
Oct 25, 2025 · Backend Development

Mastering Go Local Cache: TTL, Sharded LRU, Singleflight & Async Refresh

This article walks through a production‑grade Go local cache implementation, covering TTL and LRU fundamentals, sharded concurrency, singleflight protection, asynchronous refresh, capacity control, persistence, performance testing, and real‑world usage scenarios.

CacheGoLRU
0 likes · 9 min read
Mastering Go Local Cache: TTL, Sharded LRU, Singleflight & Async Refresh
Radish, Keep Going!
Radish, Keep Going!
Oct 25, 2025 · Backend Development

10 Go Code Review Rules for Safer, Cleaner Backend Development

This article presents ten practical Go code‑review guidelines—covering error handling, premature abstraction, concurrency, scope, safety, early returns, file organization, declaration order, semantic naming, and purposeful comments—to help teams write more reliable and maintainable backend code.

Code reviewGobest-practices
0 likes · 9 min read
10 Go Code Review Rules for Safer, Cleaner Backend Development
Code Wrench
Code Wrench
Oct 24, 2025 · Backend Development

Transforming a Simple Factorial into a Concurrent Go Engine

This article explores how a basic factorial calculation can be turned into a sophisticated concurrent system in Go, covering deadlock pitfalls, fan‑out/fan‑in pipelines, Redux‑style state management, and a controllable streaming factorial engine with pause and resume capabilities.

ChannelFan-outGo
0 likes · 9 min read
Transforming a Simple Factorial into a Concurrent Go Engine
BirdNest Tech Talk
BirdNest Tech Talk
Oct 24, 2025 · Backend Development

Bridging Go and Python with pyproc: Ultra‑Low‑Latency Interprocess Calls

This article introduces pyproc, a library that lets Go applications invoke Python functions via Unix Domain Sockets with sub‑45 µs latency, explaining the problem of mixing Go and Python ecosystems, the architecture, performance benefits, suitable use cases, and a step‑by‑step quick‑start guide with full code examples.

AI InfrastructureGoInterprocess Communication
0 likes · 7 min read
Bridging Go and Python with pyproc: Ultra‑Low‑Latency Interprocess Calls
Architect
Architect
Oct 23, 2025 · Backend Development

Mastering tldb Distributed Locks: Go, Java, and Python Examples

This article explains how tldb implements language‑agnostic distributed locks, describes the Lock, TryLock, and Unlock APIs, and provides practical Go and Java code samples along with test results to help developers integrate reliable distributed locking into their systems.

Godistributed-lockmq client
0 likes · 8 min read
Mastering tldb Distributed Locks: Go, Java, and Python Examples
Go Development Architecture Practice
Go Development Architecture Practice
Oct 23, 2025 · Fundamentals

How Go 1.26’s new Built‑in ‘new’ Accepts Any Expression – Simplify Code and Boost Performance

The article explains the background and need for helper functions that return pointers to values in Go, introduces the upcoming Go 1.26 extension that lets the built‑in new function accept arbitrary expressions, shows practical code examples, demonstrates memory‑leak avoidance and performance gains, and concludes with a brief outlook on the feature’s release.

GenericsGoMemory
0 likes · 8 min read
How Go 1.26’s new Built‑in ‘new’ Accepts Any Expression – Simplify Code and Boost Performance
Code Wrench
Code Wrench
Oct 23, 2025 · Backend Development

Master Go Conditional Compilation: Build Constraints, Tags & Examples

Learn how Go’s powerful conditional compilation system—using file suffixes and build tags—enables precise control over platform-specific code, debug/release modes, and feature toggles, with detailed explanations, common pitfalls, a full-featured logger example, Makefile automation, and CI/CD integration.

GoMakefileconditional compilation
0 likes · 10 min read
Master Go Conditional Compilation: Build Constraints, Tags & Examples
DevOps Coach
DevOps Coach
Oct 18, 2025 · Backend Development

Why Choosing Go Became My Startup’s Biggest Mistake

The author recounts how selecting Go for a fintech startup initially seemed ideal due to its concurrency, performance, and simplicity, but a series of technical and organizational challenges—including missing generics, verbose error handling, ecosystem gaps, hiring difficulties, and productivity loss—ultimately forced a switch to Kotlin and Spring Boot.

BackendGolanguage selection
0 likes · 9 min read
Why Choosing Go Became My Startup’s Biggest Mistake
Code Wrench
Code Wrench
Oct 18, 2025 · Backend Development

Master High‑Performance Queues in Go: Kafka, RabbitMQ & Redis Compared

This article explains how to build a high‑throughput, low‑latency, and scalable queue system in Go by leveraging Kafka, RabbitMQ, and Redis, covering core concepts, practical code examples, performance optimizations, and guidance on choosing the right solution for different workloads.

GoKafkaMessage Queue
0 likes · 11 min read
Master High‑Performance Queues in Go: Kafka, RabbitMQ & Redis Compared
Code Wrench
Code Wrench
Oct 16, 2025 · Artificial Intelligence

Build a Go‑Powered Stock Trend Predictor with ONNX Runtime in Minutes

This guide walks you through setting up an Ubuntu environment, training a LightGBM stock‑movement model in Python, exporting it to ONNX, and deploying fast, cross‑platform inference in Go using ONNX Runtime, complete with code snippets and project structure.

AIGoInference
0 likes · 11 min read
Build a Go‑Powered Stock Trend Predictor with ONNX Runtime in Minutes
21CTO
21CTO
Oct 13, 2025 · Backend Development

Speed Up Go Programs with Goroutines and Channels: From Seconds to Milliseconds

This article demonstrates how Go's goroutines and channels can transform a sequential task that takes seconds per operation into a highly concurrent solution that completes millions of operations in just a few seconds, complete with code examples and performance benchmarks.

ChannelGoGoroutine
0 likes · 5 min read
Speed Up Go Programs with Goroutines and Channels: From Seconds to Milliseconds
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 12, 2025 · Backend Development

Building a High‑Performance Content Moderation System with Trie, Aho‑Corasick, Redis, and Go

This article details how to design and implement a scalable, low‑cost content moderation pipeline that combines a local Trie + Aho‑Corasick engine, Redis‑based hot‑updates, MySQL persistence, and third‑party machine‑review fallback to achieve millisecond‑level response, high accuracy, and controllable costs.

Aho-CorasickBackendGo
0 likes · 34 min read
Building a High‑Performance Content Moderation System with Trie, Aho‑Corasick, Redis, and Go
Code Wrench
Code Wrench
Oct 11, 2025 · Backend Development

Master Go Concurrency with sync: Mutex, RWMutex, WaitGroup, Once, Cond & Pool

Learn how Go's sync package provides essential concurrency primitives—Mutex, RWMutex, WaitGroup, Once, Cond, and Pool—through clear examples and best‑practice patterns that prevent data races, deadlocks, and performance pitfalls, enabling safe, elegant, and efficient goroutine coordination.

GoOncePool
0 likes · 7 min read
Master Go Concurrency with sync: Mutex, RWMutex, WaitGroup, Once, Cond & Pool
Linux Code Review Hub
Linux Code Review Hub
Oct 9, 2025 · Operations

Non‑Intrusive MCP Observability with eBPF: Introducing MCPSpy

The article explains how the emerging Model Context Protocol (MCP) for AI tools lacks visibility, outlines security and monitoring challenges, compares alternative tracing methods, and presents MCPSpy—a Linux‑only eBPF‑based, non‑intrusive solution that captures MCP stdio traffic, parses JSON‑RPC messages, and outputs human‑readable or JSON logs.

AI securityGoMCP
0 likes · 17 min read
Non‑Intrusive MCP Observability with eBPF: Introducing MCPSpy
Go Programming World
Go Programming World
Oct 9, 2025 · Backend Development

Unlock AI Tool Integration with the New Go MCP SDK v1.0.0

This article introduces the Model Context Protocol (MCP) Go SDK v1.0.0, explains its stable API guarantees, provides quick‑start examples for building MCP servers and clients in Go, and outlines the SDK's modular design and error‑handling strategy for AI‑enabled backend development.

AI integrationBackend DevelopmentGo
0 likes · 11 min read
Unlock AI Tool Integration with the New Go MCP SDK v1.0.0
Code Wrench
Code Wrench
Oct 5, 2025 · Backend Development

Build a Real‑Time Go Stock Analyzer with WebSocket & Vue Frontend

This article details version 3.0 of a Go‑based stock analysis system that adds sector classification, persistent watchlists, scheduled strategy evaluation, real‑time WebSocket market feeds, K‑line charting with technical indicators, a Vue front‑end, deployment steps, future roadmap, and a public GitHub repository.

Backend DevelopmentGoVue
0 likes · 7 min read
Build a Real‑Time Go Stock Analyzer with WebSocket & Vue Frontend
Code Wrench
Code Wrench
Oct 3, 2025 · Backend Development

Build a Go-Powered Automated Stock Screener with SQLite and Vue3 Visualization

This article presents version 2.0 of a Go-based stock analysis system that upgrades data storage to SQLite, adds MA/MACD indicators, modular strategy engines, daily scheduling, and a Vue3 front‑end, providing full code snippets, configuration examples, and deployment instructions.

AutomationGoSQLite
0 likes · 8 min read
Build a Go-Powered Automated Stock Screener with SQLite and Vue3 Visualization
DevOps Coach
DevOps Coach
Oct 1, 2025 · Operations

10 Hard‑Earned Infrastructure Lessons Every Engineer Should Know

Drawing from real incidents like SQLite crashes, missing logs, unthrottled APIs, slow container startups, queue bottlenecks, network partitions, unreliable clocks, and weak alerts, this article shares ten concrete infrastructure lessons with code examples, performance data, and practical recommendations to avoid costly pitfalls.

DevOpsGoInfrastructure
0 likes · 8 min read
10 Hard‑Earned Infrastructure Lessons Every Engineer Should Know
Code Wrench
Code Wrench
Sep 30, 2025 · Backend Development

Mastering Go-Redis: High‑Performance Caching, Locks, and Queues

This tutorial walks through why Redis is essential for Go services, how to choose and install the go‑redis client, and provides step‑by‑step code for connections, common commands, cache‑aside, distributed locks, leaderboards, and lightweight queues, followed by performance tuning and best‑practice recommendations.

Gocachingdistributed-lock
0 likes · 8 min read
Mastering Go-Redis: High‑Performance Caching, Locks, and Queues
21CTO
21CTO
Sep 29, 2025 · Backend Development

What’s New in Go 1.25? Core Generics, Performance Boosts, and GC Revolution

The article reviews Go 1.25’s major updates—including the removal of core types for generics, Cgroup‑aware GOMAXPROCS, the experimental greentea GC, a revamped JSON package, and toolchain enhancements—while offering migration tips and highlighting future language trends.

Garbage CollectionGenericsGo
0 likes · 8 min read
What’s New in Go 1.25? Core Generics, Performance Boosts, and GC Revolution
Code Wrench
Code Wrench
Sep 29, 2025 · Backend Development

Mastering Go Goroutine Pools: Boost Performance with Custom and Ants Implementations

This article explains why high‑concurrency Go programs suffer from CPU spikes, memory bloat, and GC jitter, then introduces the architecture of a goroutine pool, provides a step‑by‑step implementation, compares a simple channel‑based pool with the high‑performance Ants library, and shares benchmark results and optimization tips.

ANTSGo
0 likes · 9 min read
Mastering Go Goroutine Pools: Boost Performance with Custom and Ants Implementations
Code Wrench
Code Wrench
Sep 26, 2025 · Backend Development

Fiber vs Gin vs GoFrame: Which Go Web Framework Wins for Performance and Cloud‑Native Apps

This article compares the three leading Go web frameworks—Fiber, Gin, and GoFrame—by examining their routing mechanisms, middleware ecosystems, configuration options, microservice and cloud‑native support, real‑world code examples, and benchmark results to help developers choose the most suitable solution for their projects.

FiberGoGoFrame
0 likes · 9 min read
Fiber vs Gin vs GoFrame: Which Go Web Framework Wins for Performance and Cloud‑Native Apps
360 Smart Cloud
360 Smart Cloud
Sep 26, 2025 · Artificial Intelligence

How to Turn OpenAPI Specs into AI Agent Tools with MCP: A Multi‑Language Guide

This article explains how the Model Context Protocol (MCP) bridges large language models and external services by converting OpenAPI specifications into callable tools, covering generation with openapi‑generator, mapping rules, three runtime modes (stdio, streamable, SSE), and implementation details in Java, Python, and Go.

AI agentsGoJava
0 likes · 23 min read
How to Turn OpenAPI Specs into AI Agent Tools with MCP: A Multi‑Language Guide
Code Wrench
Code Wrench
Sep 24, 2025 · Backend Development

Master Go Network Protocols: From TCP/UDP to HTTP/3 and TLS

This guide walks Go developers through the OSI and TCP/IP layering models, explains key transport and application protocols such as TCP, UDP, HTTP/1.1, HTTP/2, HTTP/3, RPC, WebSocket, and TLS, and provides practical Go code snippets and deployment tips for building performant, secure, and real‑time services.

GoHTTPNetwork Protocols
0 likes · 7 min read
Master Go Network Protocols: From TCP/UDP to HTTP/3 and TLS
Code Wrench
Code Wrench
Sep 22, 2025 · Artificial Intelligence

Build a Private ChatGPT on Your Laptop with Ollama, DeepSeek‑R1 and Go MCP

This guide walks you through installing Ollama, pulling the open‑source DeepSeek‑R1:1.5B model, wrapping it with a Go‑based Model Context Protocol (MCP) server, creating a client example, and enhancing the experience with Open‑WebUI while offering performance‑tuning tips.

DeepSeekGoLocal AI
0 likes · 9 min read
Build a Private ChatGPT on Your Laptop with Ollama, DeepSeek‑R1 and Go MCP
Open Source Tech Hub
Open Source Tech Hub
Sep 21, 2025 · Backend Development

Boost PHP API Platform Performance with Go-Powered gRPC Services

Learn how to combine PHP's ease of use with Go's high-performance concurrency by integrating gRPC services into an API Platform project, covering environment setup, protobuf definitions, Go server implementation, PHP client integration, and troubleshooting tips to dramatically reduce API latency.

API PlatformBackendGo
0 likes · 8 min read
Boost PHP API Platform Performance with Go-Powered gRPC Services
Code Wrench
Code Wrench
Sep 19, 2025 · Backend Development

Choosing the Right Go Web Framework: Performance, Ease‑of‑Use, and Use‑Case Guide

This article compares eight popular Go web frameworks—fasthttp, Fiber, Gin, Echo, Beego, Revel, Hertz, and Kratos—by evaluating their performance, developer friendliness, and ideal application scenarios, and provides concise code examples to help you select the best fit for high‑performance backend development.

API developmentBackend PerformanceGo
0 likes · 8 min read
Choosing the Right Go Web Framework: Performance, Ease‑of‑Use, and Use‑Case Guide
Code Wrench
Code Wrench
Sep 18, 2025 · Backend Development

Master GORM Plugins: Build an Asynchronous Audit Log Extension in Go

Learn how to extend GORM with custom plugins by implementing the Plugin interface, registering lifecycle callbacks, and creating an asynchronous audit‑log module that records Create, Update, Delete, and Query actions to a dedicated table, with configurable batch size, flush interval, and buffer settings.

GORMGoORM
0 likes · 10 min read
Master GORM Plugins: Build an Asynchronous Audit Log Extension in Go
FunTester
FunTester
Sep 18, 2025 · Backend Development

Boost Go Performance: Master Concurrency, Worker Pools, and Compiler Optimizations

Learn how to dramatically improve Go program throughput and stability by tuning GOMAXPROCS, using buffered channels, optimizing lock contention, implementing worker pools, leveraging efficient data structures, and applying compiler tools such as escape analysis, PGO, and build flags for smaller, faster binaries.

Goperformance
0 likes · 12 min read
Boost Go Performance: Master Concurrency, Worker Pools, and Compiler Optimizations
Code Wrench
Code Wrench
Sep 17, 2025 · Databases

Mastering GORM Sharding: A Lightweight Go Plugin for Scalable Databases

This article explains why horizontal sharding becomes essential for billion‑row tables, introduces the non‑intrusive GORM Sharding plugin, walks through installation, configuration, and code examples, and evaluates its advantages, limitations, common issues, and suitable use cases for Go back‑end services.

GORMGoperformance
0 likes · 11 min read
Mastering GORM Sharding: A Lightweight Go Plugin for Scalable Databases
Code Wrench
Code Wrench
Sep 16, 2025 · Backend Development

Mastering GORM DBResolver: Read/Write Splitting and Load Balancing in Go

Learn how to use GORM's DBResolver plugin in Go to achieve efficient read/write separation and load balancing across master and replica databases, with detailed code examples, configuration tips, production best practices, and strategies for connection pooling, transaction consistency, and handling replication lag.

DBResolverGORMGo
0 likes · 8 min read
Mastering GORM DBResolver: Read/Write Splitting and Load Balancing in Go
Efficient Ops
Efficient Ops
Sep 15, 2025 · Operations

Mastering Prometheus Histograms: From Basics to Advanced Queries

This article explains the fundamentals of Prometheus Histogram metrics, covering data format, metric types, how histograms work as cumulative time series, provides Go code examples for collection, and demonstrates practical queries for rate, bucket analysis, and quantile calculations to monitor service performance.

GoHistogramMetrics
0 likes · 12 min read
Mastering Prometheus Histograms: From Basics to Advanced Queries
Code Wrench
Code Wrench
Sep 15, 2025 · Fundamentals

Master Go Maps: Deep Dive into Internals, Tricks, and Real-World Use Cases

This article explores Go's map type in depth, covering its underlying hash table mechanics, key requirements, concurrency considerations, and a comprehensive set of practical techniques—including existence checks, JSON conversion, sorting, slicing, multi-dimensional maps, and real-world examples for analytics and log processing.

GoJSONMAP
0 likes · 10 min read
Master Go Maps: Deep Dive into Internals, Tricks, and Real-World Use Cases
Code Wrench
Code Wrench
Sep 14, 2025 · Backend Development

GORM Performance Hacks: Real-World Optimizations for High-Concurrency Go Apps

This article examines why GORM is popular in Go, outlines common performance pitfalls such as default transactions and N+1 queries, and provides practical optimization techniques—including disabling default transactions, selective field queries, batch processing, prepared statements, and indexing—illustrated with real‑world case studies for high‑concurrency and large‑scale data scenarios.

GORMGoORM
0 likes · 7 min read
GORM Performance Hacks: Real-World Optimizations for High-Concurrency Go Apps
Code Wrench
Code Wrench
Sep 12, 2025 · Information Security

Master Secure Go Cryptography: Common Pitfalls & Best Practices

This article provides a comprehensive guide to Go cryptography, covering fundamental concepts, common mistakes like using math/rand for keys or RSA v1.5 padding, correct implementations with crypto/rand, AES‑GCM, RSA‑OAEP/PSS, password‑derived keys, performance benchmarks, and practical testing strategies.

AESGoRSA
0 likes · 12 min read
Master Secure Go Cryptography: Common Pitfalls & Best Practices
Code Wrench
Code Wrench
Sep 11, 2025 · Fundamentals

Mastering Go Reflection: Principles, Pitfalls, and a Practical DI Container

This article thoroughly explains Go's reflection mechanism, showcases typical scenarios such as function calls, ORM mapping, and dependency injection, highlights common pitfalls and performance concerns, and provides optimization tips along with a concrete lightweight DI container example.

GoORMReflection
0 likes · 6 min read
Mastering Go Reflection: Principles, Pitfalls, and a Practical DI Container
BirdNest Tech Talk
BirdNest Tech Talk
Sep 11, 2025 · Backend Development

Why Go Introduced encoding/json/v2: Fixes, New API, and Performance Gains

The article analyzes the long‑standing issues of Go's original encoding/json package, explains the design and API of the experimental encoding/json/v2 and jsontext packages, and shows how the new implementation improves correctness, flexibility, and performance while preserving compatibility.

GoJSONapi-design
0 likes · 23 min read
Why Go Introduced encoding/json/v2: Fixes, New API, and Performance Gains
Code Wrench
Code Wrench
Sep 9, 2025 · Fundamentals

Master Go Pointers: Best Practices, Performance Tips, and Code Review Checklist

This guide explains why Go pointers matter, covers their definition, memory model, and safe usage, provides practical best‑practice checklists, performance comparisons, and code examples—including handling large structs, optional fields, and complex data structures—while highlighting scenarios where pointers should be avoided.

Code reviewGobest practices
0 likes · 8 min read
Master Go Pointers: Best Practices, Performance Tips, and Code Review Checklist
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Sep 9, 2025 · Cloud Native

Master Client‑Go: Build Efficient Kubernetes Controllers with Go

Client‑Go is the official Go client library for Kubernetes, offering low‑level HTTP handling, local caching, and event‑driven List‑Watch mechanisms; the article explains its architecture, client types, cache components, code examples, and best practices for building production‑grade controllers and operators.

GoOperatorWorkqueue
0 likes · 21 min read
Master Client‑Go: Build Efficient Kubernetes Controllers with Go
Go Programming World
Go Programming World
Sep 7, 2025 · Backend Development

Mastering Go’s sync.Pool: Deep Dive into Object Pooling and Performance

This article explains how Go's sync.Pool works, shows practical usage examples, walks through its source code, and details the underlying implementation, including Put/Get methods, pinning, and garbage‑collection interaction, helping developers efficiently reuse objects in concurrent programs.

GoObject Poolingconcurrency
0 likes · 20 min read
Mastering Go’s sync.Pool: Deep Dive into Object Pooling and Performance
Code Wrench
Code Wrench
Sep 7, 2025 · Backend Development

Unlock Million-Scale Concurrency in Go: Goroutine, Channel & Real-World Patterns

Discover how Go transforms massive concurrency challenges into elegant communication using goroutines, channels, select, and the GMP scheduler, and learn practical patterns such as producer-consumer, pub/sub, worker pools, pipelines, and a prime sieve, complete with runnable code snippets and engineering tips for robust backend systems.

Backend DevelopmentChannelGo
0 likes · 12 min read
Unlock Million-Scale Concurrency in Go: Goroutine, Channel & Real-World Patterns
Code Wrench
Code Wrench
Sep 6, 2025 · Backend Development

Mastering High-Performance Timers: Heap vs Timing Wheel in Go and C#

This article explains the core principles of timers, compares heap‑based and timing‑wheel algorithms, analyzes Go's built‑in timer implementation versus C#'s approach, and provides practical optimization techniques for high‑concurrency, high‑precision scenarios.

CGoHeap
0 likes · 10 min read
Mastering High-Performance Timers: Heap vs Timing Wheel in Go and C#
Ops Development Stories
Ops Development Stories
Sep 5, 2025 · Backend Development

Simplify Jenkins Role Management with a Go SDK and REST API

This article explains how the Jenkins Role Strategy plugin’s UI can become unresponsive with many users, introduces a Go SDK that wraps its REST API, demonstrates permission template, role, and user/group management code, and shows how to build a simple Gin‑based web UI for role assignment.

GoJenkinsREST API
0 likes · 13 min read
Simplify Jenkins Role Management with a Go SDK and REST API
Go Programming World
Go Programming World
Sep 5, 2025 · Backend Development

How to Test Concurrent Go Code with the New testing/synctest Package

Go’s built‑in concurrency primitives make parallel programming easy, but testing such code is tricky; this article explains the experimental testing/synctest package introduced in Go 1.24/1.25, shows how to rewrite flaky, slow tests into fast, reliable ones, and demonstrates its use with real‑world examples.

GoGoroutineconcurrency
0 likes · 15 min read
How to Test Concurrent Go Code with the New testing/synctest Package
Code Wrench
Code Wrench
Sep 3, 2025 · Backend Development

Master Go: From Beginner Basics to Advanced Concurrency and Runtime

This guide outlines a structured roadmap for learning Go, covering entry‑level syntax, essential concurrency primitives, project‑based practice, engineering best‑practices, and deep runtime and ecosystem exploration, with recommended resources and practical project ideas for each stage.

GoLearning Pathconcurrency
0 likes · 5 min read
Master Go: From Beginner Basics to Advanced Concurrency and Runtime
Tencent Cloud Developer
Tencent Cloud Developer
Sep 3, 2025 · Databases

Deep Dive into GORM: Architecture, Internals, and Common Pitfalls

This article provides a comprehensive overview of Go's powerful GORM ORM library, covering its core concepts, architecture, internal logic, common pitfalls, practical tips, and advanced features such as soft deletes, transaction handling, batch operations, and integration with trpc-go, helping developers master GORM's inner workings.

Batch InsertGORMGo
0 likes · 26 min read
Deep Dive into GORM: Architecture, Internals, and Common Pitfalls
Tencent Technical Engineering
Tencent Technical Engineering
Sep 1, 2025 · Backend Development

Mastering Go Garbage Collection: Tips to Slash Latency and Boost Performance

This article explains Go's memory management mechanisms—including GC fundamentals, stop‑the‑world marking, tri‑color marking with write barriers, hybrid write barriers, and practical optimization techniques such as reducing heap allocations, using caches, concurrency patterns, and profiling tools—to help developers identify and eliminate performance bottlenecks.

Garbage CollectionGoMemory Management
0 likes · 20 min read
Mastering Go Garbage Collection: Tips to Slash Latency and Boost Performance
Java Tech Enthusiast
Java Tech Enthusiast
Aug 29, 2025 · Backend Development

Xiaohongshu Autumn 2024 Tech Interview Guide: Salary, Questions & Tips

This article outlines Xiaohongshu's 2024 autumn recruitment details, salary ranges for different offer tiers, work‑schedule changes, and provides in‑depth answers to common backend interview questions covering Redis performance, HTTP vs RPC, virtual memory layout, Go's GMP model, coroutine advantages, C++ class size, diamond inheritance, static variables, core‑dump analysis, and a median‑finding algorithm challenge.

BackendCGo
0 likes · 19 min read
Xiaohongshu Autumn 2024 Tech Interview Guide: Salary, Questions & Tips
Architect's Guide
Architect's Guide
Aug 29, 2025 · Backend Development

Build a High‑Performance Go IM System with WebSocket: From Basics to Scaling

This article walks you through the fundamentals of instant‑messaging systems, explains the WebSocket protocol in depth, and provides a complete Go implementation for a scalable, high‑availability IM service with registration, authentication, single‑ and group‑chat, emoji and image support, plus optimization and architecture recommendations.

GoIM SystemWebSocket
0 likes · 40 min read
Build a High‑Performance Go IM System with WebSocket: From Basics to Scaling
DeWu Technology
DeWu Technology
Aug 27, 2025 · Backend Development

How to Build Scalable Go Systems: Principles, Patterns, and Code Practices

This article explains why scalable systems are essential, outlines core design principles such as the open‑closed and modular approaches, demonstrates Go implementations of strategy, middleware, plugin, and configuration‑driven architectures, and provides validation metrics and an evolution roadmap for building extensible backend services.

ConfigurationDesign PatternsGo
0 likes · 20 min read
How to Build Scalable Go Systems: Principles, Patterns, and Code Practices
IT Services Circle
IT Services Circle
Aug 24, 2025 · Backend Development

What’s New in Go 1.25? Key Toolchain, Runtime, and Library Enhancements

Go 1.25, released in August 2025, brings a suite of toolchain, runtime, and standard‑library upgrades—including default memory‑leak detection, a new go.mod ignore directive, container‑aware GOMAXPROCS, experimental greentea GC, JSON V2, and several new diagnostics—without changing the language syntax.

ContainerGoGo 1.25
0 likes · 8 min read
What’s New in Go 1.25? Key Toolchain, Runtime, and Library Enhancements
Linux Ops Smart Journey
Linux Ops Smart Journey
Aug 18, 2025 · Cloud Native

How to Build Multi-Arch Go Images with Jenkins and Buildah

This guide explains how to use Jenkins together with Buildah to automatically build and push multi‑architecture (amd64 and arm64) container images for Go applications, covering prerequisites, a complete Jenkinsfile, tips for faster builds, and a test pipeline demonstration.

BuildahGoJenkins
0 likes · 7 min read
How to Build Multi-Arch Go Images with Jenkins and Buildah
php Courses
php Courses
Aug 18, 2025 · Backend Development

Boosting Laravel Performance: How We Integrated Go as an Accelerator

This article details how a Laravel‑based PHP system was enhanced by introducing Go components, covering architecture design, cross‑language communication, performance optimizations, lessons learned, and measurable improvements in response time and server load.

BackendGoHybrid Architecture
0 likes · 7 min read
Boosting Laravel Performance: How We Integrated Go as an Accelerator
Ops Development Stories
Ops Development Stories
Aug 13, 2025 · Cloud Native

How to Build a Kubernetes Fault‑Diagnosis CLI with AI‑Powered Insights

This article walks through extending the K8s Chat command‑line tool by adding an ‘analyze event’ command that gathers warning‑level events and pod logs, stores them in a map, and sends the information to a large‑language model via OpenAI’s API to receive actionable troubleshooting recommendations, while also suggesting further enhancements such as self‑healing and visualization.

AICLIGo
0 likes · 15 min read
How to Build a Kubernetes Fault‑Diagnosis CLI with AI‑Powered Insights
ITPUB
ITPUB
Aug 12, 2025 · Backend Development

Why Microsoft Rewrote TypeScript in Go for a 10× Speed Boost

Microsoft’s TypeScript team migrated the compiler from JavaScript to Go, achieving up to ten‑fold performance gains, halving memory usage, and enabling shared‑memory concurrency, while preserving compatibility and exploring future AI‑driven code analysis and language‑service APIs.

GoTypeScriptcompiler
0 likes · 35 min read
Why Microsoft Rewrote TypeScript in Go for a 10× Speed Boost
Go Programming World
Go Programming World
Aug 12, 2025 · Backend Development

Master dyno: Simplify Go JSON/YAML Handling with Dynamic Maps

This article explains how the Go dyno package lets you effortlessly read, modify, and serialize deeply‑nested JSON/YAML structures by providing Get, Set, Delete, Append and conversion utilities that work with map[string]interface{}, map[interface{}]interface{} and []interface{} without using reflection.

Code ExampleGoJSON
0 likes · 23 min read
Master dyno: Simplify Go JSON/YAML Handling with Dynamic Maps
Code Wrench
Code Wrench
Aug 11, 2025 · Backend Development

Mastering Go Context: Timeout Control and Signal Propagation for Robust Services

This guide explains why Go's Context timeout is essential for managing goroutine lifecycles, details the WithDeadline and WithTimeout APIs, reveals the internal timer and cancellation mechanisms, and provides practical HTTP request patterns and best‑practice recommendations for building stable, high‑performance backend services.

BackendGoTimeout
0 likes · 6 min read
Mastering Go Context: Timeout Control and Signal Propagation for Robust Services
Go Programming World
Go Programming World
Aug 4, 2025 · Backend Development

Why Go’s yaml.v3 Fails to Convert YAML with Duplicate Keys to JSON (and How to Fix It)

This article explains why converting a YAML document containing both numeric and string keys (e.g., 1 and "1") to JSON fails in Go using yaml.v3, demonstrates the resulting errors, and shows how to resolve the issue with dyno.ConvertMapI2MapS or alternative libraries, while also comparing behavior in Python and JavaScript.

Data ConversionGoJSON
0 likes · 17 min read
Why Go’s yaml.v3 Fails to Convert YAML with Duplicate Keys to JSON (and How to Fix It)
ITPUB
ITPUB
Aug 2, 2025 · Backend Development

Which Language Survives a 1GB Memory Limit? Go, Rust, Node, Python, Java Tested

By imposing a strict 1 GB memory cap on identical workloads across Go, Rust, Node.js, Python (Flask/Gunicorn), and Java Spring Boot, this study reveals how each language’s runtime handles memory pressure, detailing survival times, performance quirks, and ultimate failure modes.

GoJavaMemory
0 likes · 8 min read
Which Language Survives a 1GB Memory Limit? Go, Rust, Node, Python, Java Tested
Go Development Architecture Practice
Go Development Architecture Practice
Jul 31, 2025 · Backend Development

Building a Scalable WebSocket Push Service in Go: From Basics to Million‑User Architecture

This article explains WebSocket fundamentals, compares pull and push models, details the WebSocket handshake flow, presents a complete Go server and client implementation, analyzes performance bottlenecks of a million‑user bullet‑screen system, and proposes concrete optimizations such as packet merging, lock granularity, JSON encoding reduction, and HTTP/2‑based clustering.

Goreal-time messagingscalable architecture
0 likes · 13 min read
Building a Scalable WebSocket Push Service in Go: From Basics to Million‑User Architecture
Go Development Architecture Practice
Go Development Architecture Practice
Jul 28, 2025 · Fundamentals

Can Go Replace Python for Scripting? Practical Tips and Tools

This article explores using Go as a scripting language, covering its strengths such as fast compilation and strong typing, the use of the go run command, helpful third‑party packages, Linux shebang workarounds, alternative interpreters like Gomacro, and the remaining limitations compared to traditional scripting languages.

GoGomacroScripting
0 likes · 8 min read
Can Go Replace Python for Scripting? Practical Tips and Tools
Go Programming World
Go Programming World
Jul 28, 2025 · Fundamentals

What Is the Purpose of Go’s doc.go File and How to Use It Effectively?

This article explains the role of the doc.go file in Go projects for centralized package documentation, demonstrates its structure with real examples, shows how to generate docs using godoc and go doc, and explores advanced uses like canonical import paths and code generation annotations.

Code GenerationGocanonical import
0 likes · 14 min read
What Is the Purpose of Go’s doc.go File and How to Use It Effectively?
MaGe Linux Operations
MaGe Linux Operations
Jul 23, 2025 · Cloud Native

Build a Real‑Time eBPF‑Based Kubernetes Network Anomaly Detector

This article walks through designing and implementing a zero‑intrusion, real‑time network anomaly detection system for Kubernetes using eBPF, covering architecture, kernel‑space eBPF programs, Go user‑space collectors, deployment via DaemonSet, performance optimizations, alerting integration with Prometheus/Grafana, and real‑world case studies.

GoGrafanaKubernetes
0 likes · 16 min read
Build a Real‑Time eBPF‑Based Kubernetes Network Anomaly Detector
Code Wrench
Code Wrench
Jul 22, 2025 · Backend Development

Master Dynamic Config Management for Go Microservices with Consul

This tutorial walks you through setting up Consul with Docker, designing a three‑layer configuration hierarchy, implementing a Go loader that merges Consul and file sources, and enabling hot‑reload for robust, environment‑aware microservice configuration.

ConfigurationGoMicroservices
0 likes · 7 min read
Master Dynamic Config Management for Go Microservices with Consul
FunTester
FunTester
Jul 22, 2025 · Backend Development

Mastering Go's ServeMux: Custom Handlers, Redirects, and Closures

This guide explains Go's net/http ServeMux as a request router, demonstrates built‑in handlers like RedirectHandler, shows how to create custom http.Handler implementations, use functions as handlers, and pass variables via closures, complete with runnable code examples.

Custom HandlerGoHTTP handlers
0 likes · 8 min read
Mastering Go's ServeMux: Custom Handlers, Redirects, and Closures
Go Programming World
Go Programming World
Jul 20, 2025 · Fundamentals

Unlocking Go 1.23 Iterators: Deep Dive into Push & Pull Mechanisms

This comprehensive guide explores Go 1.23's iterator system, detailing the underlying principles of push and pull iterators, code transformations performed by the compiler, coroutine implementation, and practical examples that compare Go's approach with Python and JavaScript, helping developers master iterator usage and design.

GoIteratorsPull Iterator
0 likes · 29 min read
Unlocking Go 1.23 Iterators: Deep Dive into Push & Pull Mechanisms
21CTO
21CTO
Jul 19, 2025 · Backend Development

Which Language Wins 2025? Go, Python, or Rust – Speed, Cost, and Career Insights

Choosing a programming language now requires weighing execution speed, memory usage, developer productivity, ecosystem tools, and salary trends; this article compares Go, Python, and Rust across benchmarks, cloud‑native suitability, AI/ML dominance, and market demand to guide teams on when to adopt each technology.

Backend DevelopmentBenchmarkGo
0 likes · 9 min read
Which Language Wins 2025? Go, Python, or Rust – Speed, Cost, and Career Insights
Go Programming World
Go Programming World
Jul 17, 2025 · Fundamentals

Mastering Go 1.23 Iterators: From Basics to Advanced Usage

This article explores the newly introduced iterator feature in Go 1.23, explaining what iterators are, why they were added, how to implement them manually, how to use the new iter package, and how the slices and maps packages provide iterator‑friendly utilities for Go developers.

GenericsGoIterators
0 likes · 34 min read
Mastering Go 1.23 Iterators: From Basics to Advanced Usage