Tagged articles
245 articles
Page 1 of 3
Architecture & Thinking
Architecture & Thinking
Apr 22, 2026 · Backend Development

Why Traditional Limit‑Offset Fails on Billion‑Row Tables and How to Fix It

This article dissects the performance collapse of classic LIMIT‑OFFSET pagination on tables with hundreds of millions of rows, explains the underlying execution steps, presents benchmark data, and walks through a progressive set of solutions—including index tuning, Seek pagination, Cursor pagination, and sharding—complete with Go code examples and practical trade‑offs.

Golangcursor paginationmysql
0 likes · 30 min read
Why Traditional Limit‑Offset Fails on Billion‑Row Tables and How to Fix It
Selected Java Interview Questions
Selected Java Interview Questions
Apr 12, 2026 · Operations

How nginxpulse Turns Nginx Logs into Insightful Dashboards

nginxpulse is an open‑source Nginx access‑log analyzer that parses logs, stores them in PostgreSQL, and visualizes PV/UV trends, IP locations, status‑code distribution, client types, and real‑time traffic through a Vue 3/ECharts dashboard, with flexible Docker‑based deployment options.

GolangNginxPulselog analysis
0 likes · 12 min read
How nginxpulse Turns Nginx Logs into Insightful Dashboards
Ray's Galactic Tech
Ray's Galactic Tech
Apr 4, 2026 · Backend Development

How to Turn go-zero’s DB Automation into Production‑Ready CRUD

This guide explains why go-zero’s database automation is an engineering standard rather than a shortcut, outlines the problems it solves for large Go back‑ends, details the generation pipeline, shows how to integrate caching, and provides production‑grade practices such as custom queries, transactions, high‑concurrency tuning, testing, and deployment for an e‑commerce order service.

BackendCode GenerationGolang
0 likes · 29 min read
How to Turn go-zero’s DB Automation into Production‑Ready CRUD
Code Wrench
Code Wrench
Jan 24, 2026 · Backend Development

Mastering Approximate Top‑K: Scalable Hotspot Detection for Go Backends

When a small fraction of requests overwhelms a system, understanding which endpoints, keys, or users cause the bottleneck is crucial; this article explains why traditional full‑count sorting fails at scale, introduces efficient approximate Top‑K algorithms such as fixed‑size min‑heap and Count‑Min Sketch, and provides production‑ready Go implementations with practical usage patterns and performance benchmarks.

BackendData StructuresGolang
0 likes · 15 min read
Mastering Approximate Top‑K: Scalable Hotspot Detection for Go Backends
Code Wrench
Code Wrench
Jan 22, 2026 · Backend Development

Mastering Consistent Hashing in Go: From Simple Modulo to Virtual Nodes

This article explains why naive modulo-based routing fails in distributed Go services, introduces the stable and scalable concept of consistent hashing, walks through a basic implementation, shows how virtual nodes improve balance, and outlines common use cases and pitfalls for production systems.

Golangvirtual nodes
0 likes · 10 min read
Mastering Consistent Hashing in Go: From Simple Modulo to Virtual Nodes
Code Wrench
Code Wrench
Jan 20, 2026 · Backend Development

Mastering API Rate Limiting in Go: Practical Algorithms and Implementation

This article walks through real‑world Go rate‑limiting strategies—from naive checks to fixed, sliding, and token‑bucket algorithms—explaining their pitfalls, implementation details, performance trade‑offs, and practical tips for choosing and deploying the right solution in production services.

BackendGolangalgorithm
0 likes · 10 min read
Mastering API Rate Limiting in Go: Practical Algorithms and Implementation
Code Wrench
Code Wrench
Jan 19, 2026 · Backend Development

Why Go Projects Need Algorithms: Real‑World Practices and Pitfalls

This article explores how common engineering problems in Go projects—such as rate limiting, cache eviction, and task scheduling—are fundamentally algorithmic, explains why developers often overlook them, and shows where and how to apply practical algorithms to improve performance, stability, and scalability.

AlgorithmsBackendGolang
0 likes · 7 min read
Why Go Projects Need Algorithms: Real‑World Practices and Pitfalls
Code Wrench
Code Wrench
Dec 17, 2025 · Backend Development

Why Configuration Governance Is the Key to Sustainable Go Microservices

The article explains how abandoning go-kit and rebuilding the EasyMS project around configuration governance reshaped the project structure, startup flow, and service evolution, delivering an engineering‑grade configuration system with versioning, atomic snapshots, deep merging, and safe hot‑updates for long‑term microservice maintenance.

ConfigurationGolangService Architecture
0 likes · 9 min read
Why Configuration Governance Is the Key to Sustainable Go Microservices
Code Wrench
Code Wrench
Dec 9, 2025 · Artificial Intelligence

Building Memory v3: Adding Long‑Term Memory to Your Go AI Agent

This guide walks you through creating a Memory v3 module for a Go‑based AI agent, enabling long‑term storage of preferences, tasks, and context so the agent can recall and leverage past interactions for more personalized responses.

AgentBackendGolang
0 likes · 4 min read
Building Memory v3: Adding Long‑Term Memory to Your Go AI Agent
360 Smart Cloud
360 Smart Cloud
Dec 1, 2025 · Artificial Intelligence

How to Build Real‑Time Streaming Speech Recognition with a Large‑Model API (Go & Python)

This guide explains the background of speech‑to‑text technology, introduces the large‑model streaming speech recognition API, walks through obtaining an API key, and provides detailed Go and Python code for establishing a WebSocket connection, sending full‑client and audio‑only requests, and parsing server responses.

AIGolangLarge Model
0 likes · 12 min read
How to Build Real‑Time Streaming Speech Recognition with a Large‑Model API (Go & Python)
Java Companion
Java Companion
Nov 23, 2025 · Backend Development

A Minimalist Web‑Based API Debugger That Could Replace Postman

WebCurl is an open‑source, ultra‑lightweight web API testing tool that runs entirely in the browser without any installation, offering a minimalist design, zero third‑party dependencies, and a rich set of features such as HTTP CONNECT tunneling, custom headers, file upload/download, echo server, static file serving, and flexible command‑line options.

API testingGolangHTTP debugging
0 likes · 8 min read
A Minimalist Web‑Based API Debugger That Could Replace Postman
Code Wrench
Code Wrench
Nov 12, 2025 · Fundamentals

Master Go Behavioral Design Patterns: Strategy, Observer, Command & More

Explore nine essential Go behavioral design patterns—Strategy, Observer, Command, State, Chain of Responsibility, Template Method, Iterator, Visitor, Memento, and Interpreter—through clear definitions, core principles, concise Go implementations, and practical use cases that illustrate how to replace complex if‑else logic with clean, extensible architecture.

Behavioral PatternsGolangdesign-patterns
0 likes · 13 min read
Master Go Behavioral Design Patterns: Strategy, Observer, Command & More
Tencent Cloud Developer
Tencent Cloud Developer
Oct 22, 2025 · Backend Development

How Tencent News Cut PUSH Platform Code by 87% and Boosted Performance 3.5×

The article details how Tencent News' PUSH platform was re‑architected—consolidating modules, unifying the tech stack to Go, building an in‑house message channel, and introducing batch IO and priority scheduling—resulting in a 70% cost cut, 3.5‑fold throughput increase, and dramatically lower latency.

GolangMicroservicesScalability
0 likes · 20 min read
How Tencent News Cut PUSH Platform Code by 87% and Boosted Performance 3.5×
Code Wrench
Code Wrench
Sep 5, 2025 · Backend Development

Mastering Distributed Locks in Go: Principles, Implementations, and Pitfalls

This article explains the fundamentals of distributed locks, compares Redis, etcd, ZooKeeper and database approaches, provides practical Go code examples, highlights common mistakes, and offers optimization tips so developers can confidently apply the right locking strategy in real-world systems.

BackendGolangZooKeeper
0 likes · 12 min read
Mastering Distributed Locks in Go: Principles, Implementations, and Pitfalls
Code Wrench
Code Wrench
Jul 16, 2025 · Backend Development

Build Scalable Multi‑Tenant SQL Server Pools in Go with GORM Optimizations

This guide details a complete solution for building multi‑tenant SQL Server connection pools in Go microservices, covering YAML tenant configuration, a thread‑safe pool factory, Gin middleware integration, advanced GORM query techniques, high‑concurrency optimizations, monitoring, slow‑query logging, and circuit‑breaker safeguards.

Connection PoolGORMGolang
0 likes · 8 min read
Build Scalable Multi‑Tenant SQL Server Pools in Go with GORM Optimizations
21CTO
21CTO
Jul 9, 2025 · Backend Development

Why Top Tech Giants Are Switching to Go: Real‑World Success Stories

This article surveys how seventeen leading technology companies—from Uber and Netflix to Google and Capital One—have adopted Golang for backend services, micro‑services, and infrastructure, highlighting the performance gains, cost savings, and developer productivity improvements that make Go a strategic choice across diverse industries.

Backend DevelopmentGoGolang
0 likes · 41 min read
Why Top Tech Giants Are Switching to Go: Real‑World Success Stories
Tencent Technical Engineering
Tencent Technical Engineering
Jun 20, 2025 · Artificial Intelligence

Mastering AI Agents: Core Concepts, Protocols, and Golang Frameworks for Multi‑Agent Collaboration

This comprehensive article explores the evolution of AI agents, explains key protocols like MCP and A2A, compares reasoning frameworks such as CoT, ReAct, and Plan‑and‑Execute, and demonstrates how Golang frameworks Eino and tRPC‑A2A‑Go enable elegant development, orchestration, and observability of complex multi‑agent systems with practical code examples and visual diagrams.

A2AAI AgentEino
0 likes · 55 min read
Mastering AI Agents: Core Concepts, Protocols, and Golang Frameworks for Multi‑Agent Collaboration
21CTO
21CTO
Jun 19, 2025 · Backend Development

Why Go (Golang) Dominates 2025 Backend Development: Speed, Concurrency & Real‑World Success

Go, created by Google in 2007 and open‑sourced in 2009, has become a top choice for modern backend and cloud‑native development thanks to its simple syntax, powerful built‑in concurrency, fast native compilation, low memory usage, and widespread adoption by companies like Google, Uber, Netflix, Docker, and Kubernetes.

Cloud NativeDockerGo
0 likes · 26 min read
Why Go (Golang) Dominates 2025 Backend Development: Speed, Concurrency & Real‑World Success
DeWu Technology
DeWu Technology
Jun 12, 2025 · Backend Development

How Componentized Architecture Transforms Activity Systems: From OOP to Rule Engines

This article explores how DeWu's community activity platform evolved from ad‑hoc implementations to a componentized, event‑driven backend using OOP principles, modular design, rule engines, and observer‑hook mechanisms, while also outlining future AI‑driven optimizations and system‑wide standardization.

Backend ArchitectureComponentizationEvent-driven
0 likes · 20 min read
How Componentized Architecture Transforms Activity Systems: From OOP to Rule Engines
php Courses
php Courses
May 26, 2025 · Backend Development

Flow Control in Go (Golang): if/else, for, switch, break, continue, and goto

This article explains Go's flow‑control constructs—including conditional statements, loops, switch branches, and special statements like break, continue, and goto—provides syntax details, highlights key characteristics, and offers multiple code examples to help developers write clear and efficient Go code.

Flow ControlGoGolang
0 likes · 9 min read
Flow Control in Go (Golang): if/else, for, switch, break, continue, and goto
DeWu Technology
DeWu Technology
Apr 21, 2025 · Backend Development

Design and Evolution of a Unified Exchange Mall Middleware Platform

The unified exchange mall middleware platform consolidates disparate points‑redemption and lottery flows into a four‑layer architecture—business, gameplay templates, domain models, and downstream services—offering standardized APIs, dynamic RPC routing, Redis‑based inventory control, anti‑fraud safeguards, and built‑in monitoring, thereby cutting development costs, enhancing maintainability, and ensuring system stability.

BackendGolangMicroservices
0 likes · 18 min read
Design and Evolution of a Unified Exchange Mall Middleware Platform
Raymond Ops
Raymond Ops
Feb 27, 2025 · Backend Development

How to Resolve golang.org/x Package Download Failures with Proxies and Go Modules

This guide explains why Go commands often cannot download golang.org/x packages, and provides step‑by‑step solutions including setting HTTP/HTTPS proxies, manually cloning mirror repositories, using go.mod replace directives, and configuring the GOPROXY environment variable to ensure reliable dependency retrieval.

GOPROXYGolangdependency management
0 likes · 6 min read
How to Resolve golang.org/x Package Download Failures with Proxies and Go Modules
Python Programming Learning Circle
Python Programming Learning Circle
Feb 10, 2025 · Artificial Intelligence

Why Golang Won’t Replace Python: A Comparative Overview for AI Engineers

The article compares Golang and Python for AI development, highlighting Golang’s superior scalability, performance, and concurrency while acknowledging Python’s extensive libraries, community support, and accessibility, and concludes that both languages have distinct strengths rather than one completely supplanting the other.

AIGolangScalability
0 likes · 7 min read
Why Golang Won’t Replace Python: A Comparative Overview for AI Engineers
Tencent Cloud Developer
Tencent Cloud Developer
Jan 22, 2025 · Cloud Native

Rate Limiting: Concepts, Algorithms, and Distributed Solutions

Rate limiting protects micro‑service stability by rejecting excess traffic, using algorithms such as fixed‑window, sliding‑window, leaky‑bucket and token‑bucket, and can be deployed locally or distributed via Redis, load‑balancers, or coordination services, each offering different trade‑offs in precision, scalability, and complexity.

Distributed SystemsGolangMicroservices
0 likes · 31 min read
Rate Limiting: Concepts, Algorithms, and Distributed Solutions
ByteFE
ByteFE
Jan 20, 2025 · Artificial Intelligence

Eino: An Open‑Source Golang Framework for Large‑Model Application Development

Eino is a Golang‑based, open‑source framework that streamlines the full devops lifecycle of large‑model applications by providing stable, strongly‑typed components, graph‑based orchestration, built‑in tooling, and extensible architecture to help developers quickly build reliable AI services.

AIFrameworkGolang
0 likes · 13 min read
Eino: An Open‑Source Golang Framework for Large‑Model Application Development
Ops Development & AI Practice
Ops Development & AI Practice
Jan 18, 2025 · Fundamentals

How to Find the Unique Number in O(n) Time Using XOR in Go

This article explains how to identify the single non‑repeating integer in a list where every other number appears twice, using an O(n) time and O(1) space XOR‑based algorithm, complete with Go code, step‑by‑step analysis, complexity discussion, and UML activity diagram.

Golangalgorithmspace complexity
0 likes · 6 min read
How to Find the Unique Number in O(n) Time Using XOR in Go
Alibaba Cloud Native
Alibaba Cloud Native
Nov 27, 2024 · Cloud Native

How to Add Zero‑Code Observability to Golang Apps with Alibaba’s OpenTelemetry Agent

This guide explains how to use Alibaba’s open‑source Golang Agent to automatically instrument Go applications for tracing, metrics, and log correlation without modifying source code, covering binary download, build replacement for go build, endpoint configuration, and step‑by‑step examples with Docker‑based dependencies and Jaeger visualization.

AgentGolangOpenTelemetry
0 likes · 11 min read
How to Add Zero‑Code Observability to Golang Apps with Alibaba’s OpenTelemetry Agent
Java Tech Enthusiast
Java Tech Enthusiast
Nov 14, 2024 · Backend Development

Comprehensive Backend Interview Q&A: Golang, Networking, OS, MySQL, Redis, Design Patterns, and Algorithms

The article presents recent tech-company salary figures and a comprehensive set of backend interview questions spanning Go language fundamentals, memory management, networking protocols, OS synchronization, MySQL transaction isolation and indexing, Redis performance, design‑pattern implementations, and classic algorithms such as quicksort.

AlgorithmsDesign PatternsGolang
0 likes · 11 min read
Comprehensive Backend Interview Q&A: Golang, Networking, OS, MySQL, Redis, Design Patterns, and Algorithms
JD Cloud Developers
JD Cloud Developers
Nov 7, 2024 · Fundamentals

Unlocking Fast Set Membership: Bloom & Cuckoo Filters Explained

This article introduces Bloom filters and Cuckoo filters, explains their probabilistic nature, false‑positive behavior, space‑time trade‑offs, provides Go and Java implementation examples, and discusses practical use cases such as Redis extensions and high‑traffic e‑commerce scenarios.

Cuckoo FilterGolangbloom-filter
0 likes · 16 min read
Unlocking Fast Set Membership: Bloom & Cuckoo Filters Explained
DevOps
DevOps
Oct 31, 2024 · Backend Development

Improving Backend Engineer Skills: Abstract Problem Solving and Code Abstractions

This article explores the core competencies of backend engineers, emphasizing accurate problem abstraction, discusses Go's ServerCodec and I/O interfaces, demonstrates algorithmic solutions to the Word Search II problem, and offers practical advice on improving coding skills through studying language features, system design, and effective learning habits.

BackendGolangSoftware Engineering
0 likes · 19 min read
Improving Backend Engineer Skills: Abstract Problem Solving and Code Abstractions
Baidu Tech Salon
Baidu Tech Salon
Oct 15, 2024 · Industry Insights

How Baidu Revamped Visual Search: From PHP to Golang and Graph Engine

This article details Baidu's visual search architecture evolution, covering the shift from a PHP/HHVM stack to Golang with the GDP framework, the adoption of the ExGraph graph engine, comprehensive system redesign, and stability infrastructure built to support rapid product iteration and AI model integration.

Backend DevelopmentGolangarchitecture
0 likes · 14 min read
How Baidu Revamped Visual Search: From PHP to Golang and Graph Engine
FunTester
FunTester
Oct 15, 2024 · Backend Development

Generate Realistic Test Data in Go with the GoFakeIt Library

This article introduces GoFakeIt, a lightweight Go library for quickly generating diverse fake data—personal, address, financial, network, and more—explains its key features, shows how to install it via go get, and provides practical code examples for each data type.

BackendData GenerationFake Data
0 likes · 13 min read
Generate Realistic Test Data in Go with the GoFakeIt Library
Baidu Geek Talk
Baidu Geek Talk
Oct 14, 2024 · Backend Development

Evolution of Baidu Visual Search Architecture: Stack Upgrade, Full‑Link Refactoring, and Stability Enhancements

Baidu Visual Search upgraded its PHP/HHVM stack to Golang, introduced a Backend‑For‑Frontend layer, refactored presentation and system modules with the GDP framework and ExGraph, and built comprehensive monitoring and self‑healing tools, delivering a modular, scalable, and stable AI‑driven search platform.

BackendGolangSystem Design
0 likes · 13 min read
Evolution of Baidu Visual Search Architecture: Stack Upgrade, Full‑Link Refactoring, and Stability Enhancements
Alibaba Cloud Observability
Alibaba Cloud Observability
Sep 5, 2024 · Cloud Native

Can Alibaba’s OpenTelemetry Golang Agent Simplify Your Go App Monitoring?

This article explains why the newly released OpenTelemetry Golang Agent from Alibaba Cloud offers a compile‑time, non‑intrusive alternative to manual SDK instrumentation and eBPF auto‑instrumentation, detailing its architecture, code examples, plugin support, context propagation improvements, and future roadmap for Go observability.

Automatic InstrumentationCloud NativeGolang
0 likes · 15 min read
Can Alibaba’s OpenTelemetry Golang Agent Simplify Your Go App Monitoring?
Tencent Cloud Developer
Tencent Cloud Developer
Sep 3, 2024 · Backend Development

Rate Limiting: Purpose, Algorithms, Implementation Methods, Strategies, and Considerations

Rate limiting safeguards system stability by capping request rates, employing algorithms such as fixed‑window, sliding‑window, leaky‑bucket, and token‑bucket, and can be applied at application, proxy, or hardware layers while using strategies like threshold setting, request classification, feedback, and ensuring fairness, flexibility, and transparency.

BackendDistributed SystemsGolang
0 likes · 28 min read
Rate Limiting: Purpose, Algorithms, Implementation Methods, Strategies, and Considerations
Alibaba Cloud Native
Alibaba Cloud Native
Sep 2, 2024 · Cloud Native

Why the New OpenTelemetry Golang Agent Beats Manual and eBPF Instrumentation

This article explains the challenges of manual OpenTelemetry SDK instrumentation and eBPF auto‑instrumentation for Go applications, introduces the Alibaba Cloud OpenTelemetry Golang Agent that performs compile‑time automatic instrumentation, details its architecture, code examples, plugin support, and future roadmap.

Automatic InstrumentationGolangOpenTelemetry
0 likes · 18 min read
Why the New OpenTelemetry Golang Agent Beats Manual and eBPF Instrumentation
21CTO
21CTO
Aug 21, 2024 · Backend Development

Why Go (Golang) Is Dominating Backend Development: Top 5 Frameworks Compared

This article explains Go's origins, naming, core advantages, and why it excels in backend and infrastructure, then reviews five major Go web frameworks—Gin, Beego, Revel, and Buffalo—detailing their strengths, weaknesses, and sample code to help developers choose the right tool.

BeegoGinGolang
0 likes · 12 min read
Why Go (Golang) Is Dominating Backend Development: Top 5 Frameworks Compared
Tencent Cloud Developer
Tencent Cloud Developer
Aug 6, 2024 · Backend Development

Nine Common Techniques for Service Performance Optimization

The article outlines nine broadly applicable techniques—caching, parallel and batch processing, data compression, lock‑free design, sharding, eliminating unnecessary requests, and resource pooling—that together can dramatically cut service latency and improve throughput, as demonstrated by an 80% latency reduction in a real‑world project.

Distributed SystemsGolangPerformance Optimization
0 likes · 28 min read
Nine Common Techniques for Service Performance Optimization
Liangxu Linux
Liangxu Linux
Aug 4, 2024 · Backend Development

Mastering Go’s Empty Interface: Store Any Type and Copy Data Safely

This guide explains Go's empty interface, how any value can be stored in it, demonstrates declaring variables and functions with interface{}, shows practical slice examples, discusses memory layout, and provides the correct way to copy data into an empty‑interface slice.

GolangInterfaceSlice
0 likes · 5 min read
Mastering Go’s Empty Interface: Store Any Type and Copy Data Safely
php Courses
php Courses
Jul 10, 2024 · Backend Development

Nginx Fundamentals and Multi‑Language Simple Static Server Implementations

This course covers Nginx installation, process control, reload, configuration loading, static service, HTTP and gRPC reverse proxy, load balancing, and demonstrates building simple static servers in Go, Python, PHP, C, and C++ to deepen understanding of Nginx’s core principles.

GolangNGINXPython
0 likes · 2 min read
Nginx Fundamentals and Multi‑Language Simple Static Server Implementations
Go Programming World
Go Programming World
Jul 4, 2024 · Fundamentals

Understanding False Sharing and Cache Padding in Go

This article explains the concept of false sharing caused by CPU cache line interactions, demonstrates how cache padding can mitigate the performance penalty, and provides Go benchmark code and results to illustrate the impact on multi‑core concurrency.

Golangcache paddingconcurrency
0 likes · 8 min read
Understanding False Sharing and Cache Padding in Go
MaGe Linux Operations
MaGe Linux Operations
Jun 1, 2024 · Fundamentals

Mastering Go Slices: Creation, Manipulation, and Performance Tips

Go slices are dynamic, flexible data structures built on arrays, offering automatic growth, efficient memory use, and powerful operations such as creation via make or literals, slicing, appending, copying, iteration, and passing to functions, with detailed examples and visualizations illustrating their internal mechanics.

GoGolangMemory
0 likes · 17 min read
Mastering Go Slices: Creation, Manipulation, and Performance Tips
Alibaba Cloud Observability
Alibaba Cloud Observability
May 29, 2024 · Cloud Native

Why iLogtail Needed a Complete Architecture Overhaul and How It Was Done

This article explains the evolution of iLogtail from a single‑file collector to a multi‑language, plugin‑based observability pipeline, outlines the motivations for refactoring, describes the new unified data model, plugin abstractions, pipeline design, configuration management, hot‑reload mechanisms, and the separation of enterprise and open‑source code, providing a comprehensive view of the architectural upgrade.

CConfiguration ManagementGolang
0 likes · 43 min read
Why iLogtail Needed a Complete Architecture Overhaul and How It Was Done
Architect
Architect
May 10, 2024 · Backend Development

Rate Limiting Algorithms: Fixed Window, Sliding Window, Leaky Bucket, Token Bucket, and Distributed Rate Limiting

This article explains the importance of rate limiting in microservice architectures, introduces four basic algorithms—fixed window, sliding window, leaky bucket, and token bucket—compares their advantages and disadvantages, and presents both single-machine and distributed implementations with Go code examples.

Distributed SystemsGolangMicroservices
0 likes · 29 min read
Rate Limiting Algorithms: Fixed Window, Sliding Window, Leaky Bucket, Token Bucket, and Distributed Rate Limiting
Go Programming World
Go Programming World
May 5, 2024 · Backend Development

Using pflag for Command-Line Argument Parsing in Go

This article introduces the Go third‑party flag package pflag, detailing its POSIX/GNU‑style features, basic and advanced usage, flag syntax, name normalization, NoOptDefVal handling, deprecation/hiding mechanisms, and how to mix it with the standard flag package.

Golangcommand-lineflag parsing
0 likes · 17 min read
Using pflag for Command-Line Argument Parsing in Go
Ops Development & AI Practice
Ops Development & AI Practice
Apr 19, 2024 · Backend Development

How to Add a Timeout to an Infinite Loop in Go

This guide shows how to protect a long‑running Go function that checks a RabbitMQ cluster by using time.After and a select statement to automatically stop the infinite loop after a configurable timeout, improving robustness and maintainability.

BackendGolangTimeout
0 likes · 5 min read
How to Add a Timeout to an Infinite Loop in Go
MaGe Linux Operations
MaGe Linux Operations
Apr 18, 2024 · Backend Development

10 Essential Go Practices for Robust, Maintainable Code

This article shares ten practical Go best‑practice tips—ranging from using a single GOPATH and structuring for‑select loops to defining custom types, adding String methods for enums, and wrapping repetitive logic with context functions—to help developers write flexible, readable, and error‑resistant Go programs.

GolangSoftware Engineeringcode quality
0 likes · 14 min read
10 Essential Go Practices for Robust, Maintainable Code
Bilibili Tech
Bilibili Tech
Apr 12, 2024 · Backend Development

Design and Optimization of a High‑Throughput Long‑Connection Service for Live Streaming

The article details a Golang‑based high‑throughput long‑connection service for live‑streaming, describing its five‑layer architecture, multi‑protocol support, load‑balancing, message‑queue decoupling, aggregation with brotli compression, multi‑region deployment, priority channels, and future enhancements for observability and intelligent endpoint selection.

Backend ArchitectureGolangHigh Throughput
0 likes · 16 min read
Design and Optimization of a High‑Throughput Long‑Connection Service for Live Streaming
Sanyou's Java Diary
Sanyou's Java Diary
Mar 7, 2024 · Backend Development

Mastering Rate Limiting: Algorithms, Pros, Cons, and Distributed Solutions

This article explores why rate limiting is essential for high‑concurrency services, introduces four core algorithms with Go implementations, compares their strengths and weaknesses, and presents practical distributed limiting strategies using Redis, load balancers, and coordination services.

GolangMicroservicesalgorithm
0 likes · 30 min read
Mastering Rate Limiting: Algorithms, Pros, Cons, and Distributed Solutions
Tencent Cloud Developer
Tencent Cloud Developer
Feb 28, 2024 · Backend Development

Comprehensive Guide to Rate Limiting Algorithms and Distributed Rate Limiting Solutions

This guide explains why rate limiting is essential for micro‑service stability, outlines six design principles, details four classic algorithms—fixed window, sliding window, leaky bucket, and token bucket—and compares centralized Redis, load‑balancer cache, and coordination‑service distributed solutions.

Distributed SystemsGolangMicroservices
0 likes · 30 min read
Comprehensive Guide to Rate Limiting Algorithms and Distributed Rate Limiting Solutions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 24, 2024 · Backend Development

Introducing Karta: A Lightweight Go Library for Asynchronous and Batch Function Task Processing

This article introduces Karta, a lightweight Go library that provides two modes—Pipeline for unknown‑size asynchronous tasks and Group for known‑size batch tasks—offering a concise API, configurable workers, and built‑in callbacks to simplify high‑performance concurrent processing in backend applications.

Batch ProcessingGolangLibrary
0 likes · 9 min read
Introducing Karta: A Lightweight Go Library for Asynchronous and Batch Function Task Processing
Architecture & Thinking
Architecture & Thinking
Jan 28, 2024 · Backend Development

How Baidu’s Unified Long‑Connection Service Scales Millions of Real‑Time Connections

This article details Baidu’s internally built unified long‑connection service in Go, covering its motivation, architecture, functional implementation, performance optimizations, multi‑business support, deployment strategy, and lessons learned for delivering secure, high‑concurrency, low‑latency real‑time connectivity across mobile applications.

Backend ArchitectureGolanghigh concurrency
0 likes · 21 min read
How Baidu’s Unified Long‑Connection Service Scales Millions of Real‑Time Connections
Tencent Cloud Developer
Tencent Cloud Developer
Jan 11, 2024 · Backend Development

Delve Debugger for Go: Installation, Configuration, and Command Guide

Delve, the primary Go debugger, is installed via its official guide, requires disabling inlining with appropriate gcflags, supports flexible location specifications and rich expressions, offers multiple debugging modes (debug, exec, attach, core), configurable settings, runtime commands, breakpoint types, variable and stack inspection, and integrates seamlessly with Goland.

DebuggingDelveGo
0 likes · 28 min read
Delve Debugger for Go: Installation, Configuration, and Command Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 16, 2023 · Backend Development

Comprehensive Guide to Go Modules: Managing Dependencies in Go Projects

This article provides an in‑depth overview of Go Modules, covering its history, core concepts such as modules, packages, versioning, environment variables, the Minimal Version Selection algorithm, and practical commands for initializing projects, adding, upgrading, and downgrading dependencies, all illustrated with real code examples.

GolangVersioningdependency management
0 likes · 29 min read
Comprehensive Guide to Go Modules: Managing Dependencies in Go Projects
360 Smart Cloud
360 Smart Cloud
Dec 7, 2023 · Fundamentals

Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development

This article explains how asynchronous programming and event‑driven mechanisms work in both frontend JavaScript and backend Golang, covering the JavaScript event loop, macro‑ and micro‑tasks, goroutine‑based concurrency, and the kernel‑level epoll architecture that together enable efficient, non‑blocking execution.

AsynchronousBackendGolang
0 likes · 17 min read
Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development
Senior Brother's Insights
Senior Brother's Insights
Dec 3, 2023 · Fundamentals

Mastering Go's Switch: Advanced Patterns and Common Pitfalls

This guide explores Go's versatile switch statement, covering basic syntax, initializer and value parts, literal true switches, short assignments, multiple case values, fallthrough behavior, default placement nuances, and type switches, all illustrated with clear code examples.

GoGolangTutorial
0 likes · 9 min read
Mastering Go's Switch: Advanced Patterns and Common Pitfalls
DevOps
DevOps
Nov 14, 2023 · Backend Development

Backend Development Growth Roadmap

This article presents a comprehensive, four‑stage roadmap for backend developers, covering foundational Go knowledge, engineering best practices, advanced system architecture, and expert‑level soft skills, offering practical guidance for career growth and technical mastery.

BackendDevOpsGolang
0 likes · 21 min read
Backend Development Growth Roadmap
Liangxu Linux
Liangxu Linux
Nov 9, 2023 · Backend Development

Essential Go Commands Every Developer Should Master

This guide walks you through installing Go, verifying the environment, initializing modules, managing dependencies, running and building programs, formatting code, cleaning unused packages, testing, and static analysis using core Go command‑line tools.

DevelopmentGolangcommand-line
0 likes · 4 min read
Essential Go Commands Every Developer Should Master
Tencent Cloud Developer
Tencent Cloud Developer
Nov 9, 2023 · Backend Development

Troubleshooting Golang GC Performance Issues Causing Request Timeout Spikes

The article details how a Go service’s default GOGC setting caused overly frequent garbage‑collection pauses that spiked request timeouts, and how adjusting GOGC dynamically with debug.SetGCPercent and setting memory limits reduced GC CPU usage, extended pause intervals, and eliminated timeout spikes.

Backend DevelopmentGC optimizationGOGC
0 likes · 20 min read
Troubleshooting Golang GC Performance Issues Causing Request Timeout Spikes
Architect
Architect
Nov 5, 2023 · Backend Development

The Complete Backend Development Roadmap: From Fundamentals to Expert Architecture

This article presents a comprehensive, step‑by‑step roadmap for backend engineers, covering everything from basic Go language concepts, data structures, and OS fundamentals to advanced microservice design, high‑performance networking, scalability, reliability, security, DevOps practices, team and product management, and real‑world project execution.

BackendDevOpsGolang
0 likes · 28 min read
The Complete Backend Development Roadmap: From Fundamentals to Expert Architecture
DevOps
DevOps
Oct 25, 2023 · Fundamentals

Why Engineers and Leaders Must Do Code Review and How to Apply Effective Practices

The article explains why both engineers and leaders must participate in code reviews, outlines common pitfalls such as duplicated or overly complex code, and provides concrete best‑practice guidelines—including file and function size limits, early returns, and clear logging—to improve code quality and team collaboration.

Code reviewDevOpsGolang
0 likes · 22 min read
Why Engineers and Leaders Must Do Code Review and How to Apply Effective Practices
Sohu Tech Products
Sohu Tech Products
Oct 18, 2023 · Cloud Native

Building a Minimal Container from Scratch Using Go

The article walks through building a minimal Go‑based container from the ground up, explaining essential container concepts such as Linux namespaces, cgroups, and PivotRoot, and providing step‑by‑step code for creating isolated processes, configuring resource limits, and assembling a functional, lightweight container environment.

ContainerDockerGolang
0 likes · 13 min read
Building a Minimal Container from Scratch Using Go
21CTO
21CTO
Sep 16, 2023 · Backend Development

Top 10 Microservice Frameworks of 2023 – Which One Fits Your Project?

This comprehensive guide explores the fundamentals of microservices, outlines their key characteristics, and presents the ten most popular microservice frameworks of 2023—detailing each framework’s main features and typical use cases to help developers choose the right tool for building scalable, resilient applications.

GolangMicroservicesframeworks
0 likes · 47 min read
Top 10 Microservice Frameworks of 2023 – Which One Fits Your Project?
Continuous Delivery 2.0
Continuous Delivery 2.0
Aug 14, 2023 · Backend Development

Principles and Practices of Code Review: Insights from a Tencent Backend Engineer

This article shares a Tencent backend engineer's extensive experience with code review, outlining why engineers and leaders should practice it, identifying common pitfalls such as duplicated code and premature optimization, and presenting concrete principles, model design advice, and Go code examples to improve software quality.

BackendGolang
0 likes · 40 min read
Principles and Practices of Code Review: Insights from a Tencent Backend Engineer
Architects Research Society
Architects Research Society
Jul 9, 2023 · Backend Development

Top 10 Backend Frameworks for Web Development in 2023

This article reviews the ten most popular backend frameworks for 2023—including Spring Boot, Django, Express.js, ASP.NET Core, Laravel, Ruby on Rails, Fiber, CakePHP, Flask, and Play—explaining their key features, language ecosystems, and recommended learning resources for developers of all levels.

BackendGolangJava
0 likes · 12 min read
Top 10 Backend Frameworks for Web Development in 2023
Amap Tech
Amap Tech
Jun 15, 2023 · Backend Development

Golang Unit Testing Plugin: Design, Implementation, and Best Practices

The Golang Unit Testing Plugin 3.0 unifies scripts, uses containerized resources, supports all Go versions, provides precise AST‑based incremental coverage, and generates detailed HTML reports, enabling developers to select the plugin in Aone Lab and automatically compile, test, collect coverage, and upload results, dramatically reducing integration effort and improving CI efficiency across dozens of applications.

Golangci/cdcoverage
0 likes · 8 min read
Golang Unit Testing Plugin: Design, Implementation, and Best Practices
Didi Tech
Didi Tech
May 26, 2023 · Big Data

Design and Optimization of Didi's Spatial‑Temporal Supply‑Demand System

Didi’s redesigned Spatial‑Temporal Supply‑Demand System replaces a single‑Redis bottleneck with a multi‑cluster routing layer, semantic sharding, multi‑level caching and delayed queues, achieving higher horizontal scalability, fault isolation, ~30 % latency reduction, increased cache hit rates, fewer query nodes, and faster, code‑free feature configuration.

Configuration ManagementDistributed SystemsGolang
0 likes · 19 min read
Design and Optimization of Didi's Spatial‑Temporal Supply‑Demand System
Tencent Cloud Developer
Tencent Cloud Developer
May 5, 2023 · Backend Development

Golang vs Java: Syntax, Concurrency, Exception Handling, GC and Ecosystem Comparison

While Go offers concise syntax, non‑intrusive interfaces, lightweight goroutine concurrency, a simple three‑color garbage collector and a small native binary footprint, Java provides a mature object‑oriented model, extensive libraries, generational GC and robust tooling, making the optimal language choice depend on project performance, ecosystem and development speed requirements.

Backend DevelopmentGolangJava
0 likes · 28 min read
Golang vs Java: Syntax, Concurrency, Exception Handling, GC and Ecosystem Comparison
MaGe Linux Operations
MaGe Linux Operations
Apr 9, 2023 · Backend Development

Build a Go HTTP Proxy from Scratch: Full Guide with Code

Learn how to implement a functional HTTP/HTTPS proxy in Go, covering proxy concepts, forward and reverse types, protocol specifics, header transformations, and a complete, runnable code example that listens on TCP, parses requests, connects to target servers, and forwards traffic.

BackendCode ExampleGolang
0 likes · 11 min read
Build a Go HTTP Proxy from Scratch: Full Guide with Code
IT Services Circle
IT Services Circle
Mar 9, 2023 · Backend Development

Interview Experience and Preparation Guide for Backend Engineer Positions at ByteDance, MiHoYo, Futu, and Yuanfudao

The author shares a detailed recap of interview preparation, processes, technical questions, and personal reflections from recent backend engineering interviews at several top Chinese tech companies, highlighting the importance of solid fundamentals, Go knowledge, and systematic study resources.

BackendCloud NativeGolang
0 likes · 19 min read
Interview Experience and Preparation Guide for Backend Engineer Positions at ByteDance, MiHoYo, Futu, and Yuanfudao