Tagged articles

Go

1967 articles · Page 13 of 20
Senior Brother's Insights
Senior Brother's Insights
Aug 30, 2023 · Backend Development

Why Learning Multiple Programming Languages Boosts Your Backend Skills

The author reflects on how studying several programming languages—Java, Go, and Python—mirrors learning foreign tongues, revealing that cross‑language comparison sharpens understanding of data structures, HTTP fundamentals, and framework implementations, ultimately deepening overall software development expertise.

GoJavabackend development
0 likes · 5 min read
Why Learning Multiple Programming Languages Boosts Your Backend Skills
FunTester
FunTester
Aug 24, 2023 · Backend Development

How to Fix Critical Bugs in a Go Goroutine Pool and Boost Scaling Efficiency

This article analyzes several bugs discovered in a Go goroutine pool implementation—incorrect active count, mismatched execution counters, slow scaling during QPS spikes, and inefficient recycling—and presents detailed code fixes and redesigns to achieve accurate metrics and faster, more graceful worker management.

BackendGoPerformance
0 likes · 11 min read
How to Fix Critical Bugs in a Go Goroutine Pool and Boost Scaling Efficiency
JD Tech
JD Tech
Aug 23, 2023 · Fundamentals

Go Language Basics: Syntax, Variables, Control Flow, OOP, Concurrency, and Error Handling

This article introduces Go to developers familiar with other object‑oriented languages, covering the language definition, basic syntax such as variable and constant declarations, control structures, functions with multiple returns and variadic parameters, data structures like arrays, slices and maps, struct‑based object‑orientation, interfaces, goroutine‑based concurrency, channels, mutexes, and the simple error‑handling model using error, defer, panic, and recover.

FunctionsGoSyntax
0 likes · 25 min read
Go Language Basics: Syntax, Variables, Control Flow, OOP, Concurrency, and Error Handling
Baidu Geek Talk
Baidu Geek Talk
Aug 14, 2023 · Information Security

Design and Implementation of Unified Permission Management Service (MPS) at Baidu

Unified Permission Management Service (MPS) at Baidu centralizes fragmented permission systems across internal platforms, integrating ACL, DAC, and RBAC models via Baidu's GDP framework, and provides modules for platform and node management, permission CRUD, workflow approvals, and audit/recovery, now serving over 20,000 users and managing more than 100,000 permission nodes.

ACLAccess ControlBaidu
0 likes · 16 min read
Design and Implementation of Unified Permission Management Service (MPS) at Baidu
21CTO
21CTO
Aug 10, 2023 · Backend Development

What’s New in Go 1.21? Key Features, Performance Boosts, and Code Samples

Go 1.21.0 introduces toolchain enhancements, new built‑in functions, expanded standard library packages, performance improvements through PGO and garbage‑collector tuning, experimental WASI support, and version‑number changes, all illustrated with concise code examples for developers.

Gogo-1.21language features
0 likes · 7 min read
What’s New in Go 1.21? Key Features, Performance Boosts, and Code Samples
Cognitive Technology Team
Cognitive Technology Team
Aug 6, 2023 · Fundamentals

Common Pitfalls When Using Go Slices and How to Avoid Them

This article explains three typical pitfalls of Go slices—ignoring the slice returned by append, unintentionally sharing the underlying array which can cause memory leaks, and the value‑copy behavior of for‑range loops—while also showing how to inspect slice internals using unsafe pointers.

BackendCOPYGo
0 likes · 5 min read
Common Pitfalls When Using Go Slices and How to Avoid Them
Didi Tech
Didi Tech
Aug 3, 2023 · Cloud Native

eBPF-Based Cross-Language Non-Intrusive Traffic Recording for Cloud-Native Services

The article describes an eBPF‑based, language‑agnostic traffic recording framework that hooks low‑level socket operations and thread identifiers to capture complete request‑response flows across Java, PHP, and Go services without modifying application code, dramatically lowering implementation and maintenance costs for cloud‑native traffic replay.

GoSocketcloud-native
0 likes · 15 min read
eBPF-Based Cross-Language Non-Intrusive Traffic Recording for Cloud-Native Services
FunTester
FunTester
Jul 28, 2023 · Fundamentals

Unveiling Go’s Channel: Deep Dive into Runtime, Memory Leaks, and Best Practices

This article explores Go's channel implementation—from its CSP‑inspired design and internal hchan structure to real‑world memory‑leak debugging, creation nuances, send/receive mechanics, and proper closing—providing developers with a comprehensive understanding of safe concurrent programming in Go.

GoMemory Leakchannel
0 likes · 31 min read
Unveiling Go’s Channel: Deep Dive into Runtime, Memory Leaks, and Best Practices
Senior Brother's Insights
Senior Brother's Insights
Jul 27, 2023 · Backend Development

How Varied Config Strategies in a Go Project Reveal Team Work Styles

The article recounts a Go project's evolution of configuration handling—from hard‑coded DB credentials to a unified global struct and finally an init‑based implicit loader—highlighting how each teammate’s approach reflects distinct mindsets, knowledge gaps, and productivity trade‑offs, and invites readers to consider their own collaboration preferences.

GoSoftware Engineeringbackend development
0 likes · 5 min read
How Varied Config Strategies in a Go Project Reveal Team Work Styles
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Jul 26, 2023 · Cloud Native

Design and Implementation of a Cloud‑Native Operator Platform for Component Management at Tongcheng Travel

This article details Tongcheng Travel's cloud‑native migration journey, describing the challenges of resource quota management, component versioning, and operational automation, and explains how a Kubernetes Operator platform built with Go, kubebuilder, and a watch‑broadcast mechanism addresses these issues while outlining future expansion plans.

GoKubernetesOperator
0 likes · 9 min read
Design and Implementation of a Cloud‑Native Operator Platform for Component Management at Tongcheng Travel
37 Interactive Technology Team
37 Interactive Technology Team
Jul 26, 2023 · Backend Development

Investigation and Resolution of CPU Spike in a Kafka-Go Consumer Using pprof

Using Go’s pprof, the team traced a gradual CPU spike in a high‑throughput kafka‑go consumer to a saturated commit queue and repeatedly nested context values, which forced costly lookups; eliminating the unnecessary trace‑id context injection (or recreating a fresh context each loop) resolved the issue and reduced CPU usage to under 2 %.

CPU profilingConsumerContext
0 likes · 10 min read
Investigation and Resolution of CPU Spike in a Kafka-Go Consumer Using pprof
FunTester
FunTester
Jul 25, 2023 · Backend Development

Implementing a Dynamic QPS Load‑Testing Model in Go Using a Goroutine Pool

This article presents a Go‑based dynamic QPS load‑testing framework that leverages a custom goroutine pool, explains the rationale behind reusing goroutines, provides core functions for task execution and console command handling, and includes a complete runnable demo illustrating high‑throughput performance testing.

GoQPSgoroutine pool
0 likes · 5 min read
Implementing a Dynamic QPS Load‑Testing Model in Go Using a Goroutine Pool
Bilibili Tech
Bilibili Tech
Jul 21, 2023 · Backend Development

Understanding and Avoiding Pitfalls of Closures in Go

The article explains Go closures, shows how capturing loop variables by reference can cause bugs like repeated values, demonstrates correct patterns such as copying variables inside loops or passing them as parameters, and offers guidelines to avoid common pitfalls with defer and concurrency.

GoPitfallanonymous function
0 likes · 11 min read
Understanding and Avoiding Pitfalls of Closures in Go
Shopee Tech Team
Shopee Tech Team
Jul 13, 2023 · Backend Development

Design and Implementation of seadt-SAGA Distributed Transaction Framework

The article details Shopee’s seadt‑SAGA framework—a Go‑based distributed transaction solution that implements the SAGA pattern via two modes, orchestration with a central coordinator and collaboration with embedded logic, explains their state‑machine designs, compares rollback ordering using vector clocks versus sequence numbers, and discusses each mode’s trade‑offs.

GoSAGAcollaboration
0 likes · 23 min read
Design and Implementation of seadt-SAGA Distributed Transaction Framework
MaGe Linux Operations
MaGe Linux Operations
Jul 10, 2023 · Operations

Deploy and Use rtty for Web‑Based Remote Linux Management

This guide explains how rtty combines a lightweight C client, a Go server, and a Vue front‑end to provide web‑accessible terminals for remote Linux device maintenance, covering its key features, installation steps, token generation, and browser‑based access.

C++GoLinux
0 likes · 4 min read
Deploy and Use rtty for Web‑Based Remote Linux Management
Bilibili Tech
Bilibili Tech
Jul 7, 2023 · Backend Development

Applying DDD and Hexagonal Architecture to Build a Unified Danmaku Platform

The article explains how Bilibili’s senior engineer uses Domain‑Driven Design combined with hexagonal architecture to merge separate VOD and live‑stream Danmaku services into a unified platform, detailing sub‑domain decomposition, six‑sided ports, rich models, mapping logic, and the trade‑offs of improved modularity, maintainability, and reduced duplication versus added design and refactoring effort.

DDDGoKratos
0 likes · 21 min read
Applying DDD and Hexagonal Architecture to Build a Unified Danmaku Platform
Baidu Geek Talk
Baidu Geek Talk
Jul 5, 2023 · Backend Development

How Baidu Wenku App Migrated Its Backend from PHP to Go: Lessons and Results

This article details Baidu Wenku App's backend migration from a PHP‑based stack to Go, covering the motivation, technical debt, technology selection, step‑by‑step migration strategy, quality assurance practices, performance improvements, and key takeaways for large‑scale service refactoring.

GoPHPPerformance Optimization
0 likes · 17 min read
How Baidu Wenku App Migrated Its Backend from PHP to Go: Lessons and Results
IT Services Circle
IT Services Circle
Jun 29, 2023 · Backend Development

Tencent Testing Engineer Interview Experience and Technical Q&A

This article shares a detailed account of a Tencent testing engineer interview, covering self‑introduction, Go knowledge, Redis performance, distributed lock implementation, semaphore mechanics, RPC vs HTTP, concurrency usage, Git security practices, Linux commands, and a few brain‑teaser and algorithm questions.

BackendGoRPC
0 likes · 13 min read
Tencent Testing Engineer Interview Experience and Technical Q&A
FunTester
FunTester
Jun 28, 2023 · Backend Development

Designing a Go Coroutine Pool Based on Java ThreadPoolExecutor

This article explains how to implement a high‑performance Go coroutine pool by adapting key features of Java’s ThreadPoolExecutor, covering core parameters, task queue design, dynamic scaling, worker management, timeout handling, and provides complete code examples and self‑test results.

BackendGoThreadPool
0 likes · 10 min read
Designing a Go Coroutine Pool Based on Java ThreadPoolExecutor
Open Source Linux
Open Source Linux
Jun 26, 2023 · Operations

Master Disk Space Insight: Install and Use the Go‑Based “diskusage” Tool

This guide introduces the Go‑based “diskusage” utility, shows how to install it with a single command, explains its usage with examples such as filtering specific file types, displaying sizes in gigabytes, and enabling colored output, and notes its cross‑platform support for Linux, macOS, and Windows.

Gocommand-linecross-platform
0 likes · 2 min read
Master Disk Space Insight: Install and Use the Go‑Based “diskusage” Tool
php Courses
php Courses
Jun 15, 2023 · Backend Development

Benefits of Learning Go for PHP Developers

The article explains why PHP programmers should learn Go, highlighting its faster execution, superior concurrency support, and built‑in web server capabilities, while providing simple code examples and mentioning a related training course.

GoPerformanceweb development
0 likes · 5 min read
Benefits of Learning Go for PHP Developers
37 Interactive Technology Team
37 Interactive Technology Team
Jun 15, 2023 · Backend Development

Concurrent Safety of Go Maps: Issues, Solutions, and Performance Comparison

Go maps are not safe for concurrent access, so programs can panic when multiple goroutines read and write the same map; to prevent this you can use sync.Once for immutable data, protect maps with sync.RWMutex, employ sharded locks via concurrent‑map, or use the built‑in sync.Map, each offering different performance trade‑offs depending on read/write ratios and concurrency level.

GoRWMutexconcurrency
0 likes · 13 min read
Concurrent Safety of Go Maps: Issues, Solutions, and Performance Comparison
php Courses
php Courses
Jun 8, 2023 · Backend Development

Benefits of Learning Go for PHP Programmers

Learning Go offers PHP developers faster execution, superior concurrency, and a built‑in web server, making it easier to build high‑performance applications, and this article demonstrates these advantages with simple code examples while also providing resources for further study.

GoProgramming Languagebackend development
0 likes · 4 min read
Benefits of Learning Go for PHP Programmers
ITPUB
ITPUB
Jun 2, 2023 · Backend Development

Hands‑On DDD in Go: Building a Microservice‑Based E‑Commerce System

This article, the final installment of a DDD series, walks through a practical implementation of Domain‑Driven Design in Go using Kitex and Thrift, covering bounded contexts, layered architecture, domain modeling, persistence, factories, domain services, and cross‑cutting concerns in a fictional e‑commerce system.

DDDDomain-Driven DesignGo
0 likes · 12 min read
Hands‑On DDD in Go: Building a Microservice‑Based E‑Commerce System
Bilibili Tech
Bilibili Tech
Jun 2, 2023 · Backend Development

Investigation and Resolution of Service Availability Fluctuations in a High‑QPS Go Backend Service

An investigation of a 100k‑QPS Go monolith revealed that intermittent availability drops were caused by a memory‑leak in the third‑party gcache LFU implementation, which inflated GC work and produced long mark phases; upgrading gcache eliminated the leak and restored 0.999+ availability, highlighting the need for thorough observability and dependency monitoring.

Garbage CollectionGogcache
0 likes · 10 min read
Investigation and Resolution of Service Availability Fluctuations in a High‑QPS Go Backend Service
php Courses
php Courses
May 16, 2023 · Cloud Computing

Go Language for Cloud Computing and Microservices

This article explains how Go's efficient concurrency model, lightweight runtime, and rich standard library make it ideal for building scalable cloud computing solutions and microservice architectures, while also providing code examples for coroutines, HTTP services, and container integration.

Gocontainersmicroservices
0 likes · 9 min read
Go Language for Cloud Computing and Microservices
Python Programming Learning Circle
Python Programming Learning Circle
May 10, 2023 · Fundamentals

May 2024 TIOBE Index Highlights: Go Drops Out of Top 10, C++ Gains, New Languages Struggle to Enter Rankings

The May 2024 TIOBE programming language index shows minimal changes in the top 20, with Go falling to #12, C++ climbing to #4 with over 3% growth, and newer languages like Swift and Rust still finding it hard to break into the top 100, while the CEO emphasizes the stability of language popularity.

C++GoLanguage Popularity
0 likes · 5 min read
May 2024 TIOBE Index Highlights: Go Drops Out of Top 10, C++ Gains, New Languages Struggle to Enter Rankings
Laravel Tech Community
Laravel Tech Community
May 4, 2023 · Information Security

Go 1.20.4 and 1.19.9 Release: Security Fixes in html/template

The Go 1.20.4 and 1.19.9 releases address three critical security vulnerabilities in the html/template package, including improper handling of CSS values, JavaScript whitespace, and HTML empty attributes, which could lead to unintended HTML injection and attribute manipulation.

CVEGoHTML template
0 likes · 2 min read
Go 1.20.4 and 1.19.9 Release: Security Fixes in html/template
DeWu Technology
DeWu Technology
Apr 19, 2023 · Backend Development

Web Project Code Refactoring: Practices, Challenges, and Solutions

The article details a year‑long refactoring case study of a fast‑iteration web project migrated from Python to Java/Go, describing inherited performance bugs, a prioritized migration plan, monitoring integration, concrete optimizations such as query reduction and cache redesign, and the resulting stability and latency gains, while outlining required developer skills and best‑practice recommendations.

DevOpsGocode refactoring
0 likes · 19 min read
Web Project Code Refactoring: Practices, Challenges, and Solutions
Liangxu Linux
Liangxu Linux
Apr 17, 2023 · Operations

Master NextTrace: A Lightweight Go‑Based Visual Traceroute Tool for Linux

This guide introduces NextTrace, a lightweight open‑source Go traceroute utility, explains how to install it on Linux, macOS and via GHPROXY, details its extensive command‑line options, and demonstrates advanced features such as TCP/UDP tracing, TTL control, parallel requests, map and table outputs.

GoLinuxnetwork diagnostics
0 likes · 9 min read
Master NextTrace: A Lightweight Go‑Based Visual Traceroute Tool for Linux
MaGe Linux Operations
MaGe Linux Operations
Apr 13, 2023 · Operations

Master Network Tracing with Nexttrace: Install, Commands, and Advanced Features

This article introduces the open‑source Go‑based visual route‑tracking CLI tool Nexttrace, showcases its popularity, explains how to install it on Linux and macOS, and provides detailed usage examples—including ICMP, TCP, UDP tracing, fast‑trace mode, interface selection, and map visualization—plus advanced options such as TTL and concurrency control.

Advanced FeaturesCLIGo
0 likes · 5 min read
Master Network Tracing with Nexttrace: Install, Commands, and Advanced Features
New Oriental Technology
New Oriental Technology
Apr 7, 2023 · Cloud Native

Capo Project: Cloud‑Native Network Coordination Service – Deployment, Configuration, Testing, and CI/CD Guide

This article provides a comprehensive guide to the open‑source Capo cloud‑native network coordination service, covering its architecture, three deployment methods (Helm, Kustomize, plain YAML), detailed configuration parameters, observability setup, static code analysis with golangci‑lint, extensive unit and e2e testing using Kind, Helm chart packaging, registry publishing, and a full GitHub Actions CI/CD workflow.

CI/CDGoHelm
0 likes · 26 min read
Capo Project: Cloud‑Native Network Coordination Service – Deployment, Configuration, Testing, and CI/CD Guide
21CTO
21CTO
Mar 31, 2023 · Backend Development

Boost Go Performance: 6 Proven Techniques for Faster, Leaner Apps

This article presents six practical Go performance optimizations—including GOMAXPROCS tuning for Kubernetes, struct field ordering, garbage‑collection limits, zero‑copy unsafe conversions, jsoniter usage, and sync.Pool pooling—that together can dramatically lower CPU, memory, and latency in production services.

Garbage CollectionGoKubernetes
0 likes · 9 min read
Boost Go Performance: 6 Proven Techniques for Faster, Leaner Apps
Cloud Native Technology Community
Cloud Native Technology Community
Mar 30, 2023 · Cloud Native

Kubernetes List/Watch, Informer Mechanism, and Writing Controllers for Pods and Custom Resources

This article explains how Kubernetes uses the List/Watch API and the Informer client library to monitor resources, compares direct HTTP Watch with Informer, provides Go code examples for pod controllers, shared informers, custom CRD controllers, and introduces higher‑level frameworks such as controller‑runtime and Kubebuilder.

CloudNativeControllerCustomResource
0 likes · 49 min read
Kubernetes List/Watch, Informer Mechanism, and Writing Controllers for Pods and Custom Resources
21CTO
21CTO
Mar 24, 2023 · Backend Development

How to Build a High‑Concurrency Ticket‑Spiking System Like 12306 with Go and Redis

This article dissects the architecture of a 12306‑style ticket‑spiking service, explaining load‑balancing strategies, weighted Nginx routing, local and remote stock deduction using Go and Redis, and demonstrates performance testing that achieves thousands of requests per second while preventing oversell and undersell.

BackendGoRedis
0 likes · 20 min read
How to Build a High‑Concurrency Ticket‑Spiking System Like 12306 with Go and Redis
Top Architect
Top Architect
Mar 8, 2023 · Databases

Deep Dive into Prometheus V2 Storage Engine and Query Process

This article explains the internal storage layout, on‑disk and in‑memory data structures, and the query execution flow of Prometheus V2, illustrating how blocks, chunks, WAL, indexes and postings are organized and accessed to serve time‑series queries efficiently.

GoPrometheusTSDB
0 likes · 15 min read
Deep Dive into Prometheus V2 Storage Engine and Query Process
HomeTech
HomeTech
Feb 22, 2023 · Operations

Design and Implementation of a Realistic Simulation Load‑Testing System for High‑Concurrency Scenarios

The article describes the background, architecture, tool selection, key features, implementation challenges (including Go code for TCP/WebSocket handling), and real‑world deployment of a distributed simulation load‑testing platform that supports dynamic QPS control, multi‑protocol testing, and end‑to‑end data verification.

GoLoad TestingLocust
0 likes · 8 min read
Design and Implementation of a Realistic Simulation Load‑Testing System for High‑Concurrency Scenarios
Bilibili Tech
Bilibili Tech
Feb 21, 2023 · Databases

Building a Custom Go ORM: SQL Builder and Reflection-based Scanner

The article explains how to replace repetitive raw SQL and manual row scanning in Go by building a lightweight custom ORM that combines a chainable SQLBuilder for dynamic query construction with a reflection‑based Scanner that maps results to structs, also covering code generation and optional non‑reflection optimizations.

GoORMSQL Builder
0 likes · 17 min read
Building a Custom Go ORM: SQL Builder and Reflection-based Scanner
Bilibili Tech
Bilibili Tech
Feb 17, 2023 · Backend Development

Design and Implementation of the Comet Workflow Engine at Bilibili

The article details Bilibili’s Comet workflow engine—a low‑code, plugin‑extensible platform built since 2019 that uses visual DAG templates, graph‑based legality checks, and asynchronous execution to automate diverse business processes such as SRE automation, permission requests, and push‑task approvals, improving operational efficiency across mobile and web services.

DAGGoProcess Engine
0 likes · 18 min read
Design and Implementation of the Comet Workflow Engine at Bilibili
ITPUB
ITPUB
Feb 15, 2023 · Backend Development

Mastering Domain Events in Go: Definition, Publishing, and Consumption

This article explains what domain events are, how to define them with proper naming and attributes, explores multiple techniques for publishing events in Go—including parameter injection, static-like helpers, return‑based and repository‑based approaches—and describes strategies for consuming events safely and atomically.

DDDDomain EventsEvent Consumption
0 likes · 15 min read
Mastering Domain Events in Go: Definition, Publishing, and Consumption
FunTester
FunTester
Feb 12, 2023 · Operations

Using goreplay (gor) for Traffic Capture and Replay in Performance Testing

This guide explains how to prepare a Go environment, install and configure the goreplay (gor) tool, capture real HTTP traffic from production, and replay it in a test environment with options for filtering, scaling, looping, and real‑time playback to achieve accurate performance testing.

GoGoReplayHTTP capture
0 likes · 6 min read
Using goreplay (gor) for Traffic Capture and Replay in Performance Testing
ITPUB
ITPUB
Feb 10, 2023 · Backend Development

Designing Clean Application Services in DDD: Principles & Best Practices

This article explains how application services act as a façade for domain models, outlines key design principles, shows practical Go/Java implementation patterns, discusses transaction propagation and security handling, and provides concrete best‑practice recommendations for building thin, framework‑agnostic backend services.

Application ServiceDDDDTO
0 likes · 17 min read
Designing Clean Application Services in DDD: Principles & Best Practices
21CTO
21CTO
Feb 4, 2023 · Backend Development

What’s New in Go 1.20? Key Features, Performance Boosts, and OS Support

Go 1.20, released six months after 1.19, brings major toolchain, runtime, and library updates—including new slice‑to‑array conversion, unsafe package functions, struct field comparison rules, comparable type enhancements, reduced binary size, build‑flag architecture support, coverage flags, and experimental RISC‑V FreeBSD support—while improving CPU performance by up to 2% and cutting memory overhead.

BackendGogo1.20
0 likes · 5 min read
What’s New in Go 1.20? Key Features, Performance Boosts, and OS Support

Loggie: A High-Performance Log Collection Agent System Design and Implementation

Loggie is a cloud-native, Go-based log-collection agent that replaces Filebeat and Flume by using a micro-kernel producer-consumer architecture with hot-swappable pipelines, achieving 2 GB/s read speeds, 1.6‑2.6× higher throughput while using only a quarter of the CPU, and providing built-in observability, reliability, and latency monitoring for large-scale enterprise deployments.

GoLog Collectionlog agent
0 likes · 16 min read
Loggie: A High-Performance Log Collection Agent System Design and Implementation
Caiyun Tech Team
Caiyun Tech Team
Jan 6, 2023 · Backend Development

Optimizing Geospatial Queries: Finding the K Nearest Weather Stations in Go

The article walks through a real‑world case of locating the K closest national weather stations to a Beijing site, explains why naive full‑scan using Vincenty's formula is slow, and details a tile‑based indexing solution that cuts query time to 900‑3000 ns and reduces CPU usage by about 10 percent.

GeospatialGoKNN
0 likes · 7 min read
Optimizing Geospatial Queries: Finding the K Nearest Weather Stations in Go
DeWu Technology
DeWu Technology
Jan 4, 2023 · Backend Development

Diagnosing and Resolving Go Memory Leak with pprof and Prometheus

The article explains how a sudden Go service memory‑usage alert was traced with go tool pprof to a massive allocation in the quantile.newStream function, uncovered a Prometheus metric‑label explosion caused by the START_POINT label, and resolved the leak by disabling that label, while also reviewing typical Go memory‑leak patterns.

BackendGoMemory Leak
0 likes · 15 min read
Diagnosing and Resolving Go Memory Leak with pprof and Prometheus
Tencent Cloud Developer
Tencent Cloud Developer
Dec 30, 2022 · Backend Development

Implementation and Optimization of Generic Skip List in Go (stl4go)

stl4go provides a generic Go 1.18 container library that implements an optimized skip‑list‑based ordered map, using adaptive levels, efficient random‑level generation, type‑specific paths, and cache‑friendly node structures to achieve near‑C++ performance, surpassing existing Go generic collections.

GoGo 1.18Performance Optimization
0 likes · 18 min read
Implementation and Optimization of Generic Skip List in Go (stl4go)
Tencent Cloud Developer
Tencent Cloud Developer
Dec 21, 2022 · Backend Development

Function Call Mechanisms in Go and Performance Optimization

The article explains Go’s caller‑callee model, stack‑frame layout, and how parameter and return‑value passing shifted in Go 1.17.1—using registers for up to nine arguments or results and the stack for any beyond—highlighting the impact on performance and optimization.

Function CallsGoPerformance
0 likes · 24 min read
Function Call Mechanisms in Go and Performance Optimization
政采云技术
政采云技术
Dec 20, 2022 · Fundamentals

Intranet Penetration: Principles, NAT, and FRP Implementation

This article explains the concepts of public and private IP addresses, NAT techniques, and the principle of intranet penetration, then demonstrates how to set up and analyze the open‑source FRP framework, including configuration files and core Go code for both server and client components.

GoIntranet PenetrationNAT
0 likes · 16 min read
Intranet Penetration: Principles, NAT, and FRP Implementation
ITPUB
ITPUB
Dec 12, 2022 · Fundamentals

Why Factories Matter in Go DDD: Clean Object Creation and Validation

This article explains how introducing factories in Domain‑Driven Design with Go separates object creation logic from domain responsibilities, hides implementation details, enforces invariants, and improves validation, while showing practical code patterns and design‑pattern choices for simple and complex domain objects.

DDDDomain-Driven DesignFactory Pattern
0 likes · 15 min read
Why Factories Matter in Go DDD: Clean Object Creation and Validation
Top Architect
Top Architect
Dec 11, 2022 · Backend Development

Applying Domain‑Driven Design (DDD) to Microservice Decomposition: Strategy, Tactics, and Code Implementation

This article explains how Domain‑Driven Design can be used to split monolithic applications into well‑structured microservices by introducing strategic domain modeling, tactical design patterns such as aggregates and value objects, and provides a concrete Go project example with full directory layout and code snippets.

DDDGodomain modeling
0 likes · 15 min read
Applying Domain‑Driven Design (DDD) to Microservice Decomposition: Strategy, Tactics, and Code Implementation
Architecture Digest
Architecture Digest
Dec 9, 2022 · Backend Development

Using Domain-Driven Design to Split Microservices

This article explains how Domain-Driven Design (DDD) can guide the decomposition of monolithic applications into microservices by introducing strategic and tactical design concepts, illustrating them with a membership‑center example, and providing detailed Go code structures and implementations.

DDDGoservice decomposition
0 likes · 14 min read
Using Domain-Driven Design to Split Microservices
NiuNiu MaTe
NiuNiu MaTe
Dec 8, 2022 · Backend Development

C++ vs Go: Which Language Boosts Your Job Prospects?

The article argues that for most developers, especially those from ordinary schools, learning C++ is costly and inefficient, while Go can be mastered quickly and aligns better with current hiring demands that prioritize practical backend skills and project experience.

C++Gocareer advice
0 likes · 5 min read
C++ vs Go: Which Language Boosts Your Job Prospects?
37 Interactive Technology Team
37 Interactive Technology Team
Dec 2, 2022 · Backend Development

Why Avoid Go’s init() Function? Risks, Testing Issues, and Better Alternatives

This article explains why using Go's init() function is discouraged due to readability, testing complications, and error‑handling limitations, and it offers practical alternatives such as direct variable initialization, custom init functions with sync.Once, and controlled error‑aware initialization patterns.

BackendGobest practices
0 likes · 8 min read
Why Avoid Go’s init() Function? Risks, Testing Issues, and Better Alternatives
ITPUB
ITPUB
Nov 28, 2022 · Backend Development

How to Build and Deploy a Scalable Open‑Source Decision Engine with Go and YAML

This article explains the concepts, design principles, and practical implementation steps of an open‑source decision engine—covering rule vs. decision flow, DSL creation with YAML, operator handling, workflow orchestration, and deployment considerations for production environments.

BackendDSLGo
0 likes · 15 min read
How to Build and Deploy a Scalable Open‑Source Decision Engine with Go and YAML
ITPUB
ITPUB
Nov 28, 2022 · Backend Development

When Should You Use Domain Services in Go? A Practical DDD Guide

This article explains the role of domain services in Go‑based Domain‑Driven Design, outlines three situations where they are appropriate, shows how to implement them statelessly, recommends functional package organization, and demonstrates dependency inversion with interfaces and infrastructure implementations.

DDDDomain ServicesDomain-Driven Design
0 likes · 13 min read
When Should You Use Domain Services in Go? A Practical DDD Guide
Tencent Cloud Developer
Tencent Cloud Developer
Nov 28, 2022 · Backend Development

Understanding Go Channels: Implementation, Usage, and Performance

The article explains Go’s channel implementation as a lock‑protected FIFO queue composed of a circular buffer, send and receive wait queues, detailing creation, send/receive mechanics, closing behavior, a real‑world memory‑leak example, and why this design offers safe, performant concurrency comparable to mutexes.

GoPerformancechannel
0 likes · 29 min read
Understanding Go Channels: Implementation, Usage, and Performance
Tencent Cloud Developer
Tencent Cloud Developer
Nov 26, 2022 · Backend Development

Go Design Patterns: Comprehensive Concepts, Implementations, and Tests

The article offers a comprehensive Go‑language catalog of classic software design patterns—Interpreter, Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy, Factory Method, Abstract Factory, Builder, Prototype, and Singleton—detailing each pattern’s concept, concrete implementation code, and passing unit‑test results.

Code ExamplesDesign PatternsGo
0 likes · 39 min read
Go Design Patterns: Comprehensive Concepts, Implementations, and Tests
MaGe Linux Operations
MaGe Linux Operations
Nov 23, 2022 · Backend Development

Boost Go Performance 42% with One Tiny Change: Escape Analysis Explained

An accidental discovery by a GitHub engineer revealed that moving a single '&' operator in a Go program eliminated unnecessary copies, reduced heap allocations via escape analysis, and improved execution speed by 42%, highlighting common pitfalls in Go’s regex engine, malloc, and garbage collection.

GoPerformance Optimizationbackend development
0 likes · 5 min read
Boost Go Performance 42% with One Tiny Change: Escape Analysis Explained
Baidu Geek Talk
Baidu Geek Talk
Nov 23, 2022 · Backend Development

Applying Domain‑Driven Design (DDD) to Microservice Decomposition

The article shows how Domain‑Driven Design can guide microservice decomposition by using strategic layers (core, supporting, generic domains) and tactical building blocks (aggregates, entities, value objects, services, events), illustrated with a membership‑center example and a four‑layer Go code architecture, while noting DDD’s suitability for complex domains.

DDDGobackend development
0 likes · 15 min read
Applying Domain‑Driven Design (DDD) to Microservice Decomposition
Tencent Cloud Developer
Tencent Cloud Developer
Nov 21, 2022 · Fundamentals

Go Design Patterns: Comprehensive Examples and Implementations

This article showcases practical Go implementations of classic behavioral design patterns—Chain of Responsibility, Command, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor—providing concise explanations, full source code, and test programs that demonstrate each pattern’s problem‑solving workflow.

Behavioral PatternsCode ExamplesDesign Patterns
0 likes · 54 min read
Go Design Patterns: Comprehensive Examples and Implementations
AsiaInfo Technology: New Tech Exploration
AsiaInfo Technology: New Tech Exploration
Nov 21, 2022 · Cloud Native

Zero‑Touch Kubernetes Deployment: A Minimalist, Automated Solution

This article analyzes the challenges of traditional Kubernetes cluster installation, proposes a fully automated, zero‑touch deployment framework that abstracts and packages all required resources, and explores its architecture, implementation using Go, cloud‑edge collaboration with KubeEdge, and future extensions toward CRD‑based operators.

CRDGoKubernetes
0 likes · 22 min read
Zero‑Touch Kubernetes Deployment: A Minimalist, Automated Solution
Bilibili Tech
Bilibili Tech
Nov 18, 2022 · Operations

Chaos Engineering and Fault Injection System Design: Principles, Implementation, and Practice

Chaos Engineering and Fault Injection System Design combine steady-state hypotheses, controlled blast-radius experiments, and a lightweight interceptor layer using gRPC and protobuf to inject and report faults in micro-service architectures, enabling continuous testing, rapid MTTR reduction, and resilient services through automated, real-time experimentation and analysis.

Gofault injectiongRPC
0 likes · 15 min read
Chaos Engineering and Fault Injection System Design: Principles, Implementation, and Practice
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 17, 2022 · Databases

DeadMaster Recovery Process in Orchestrator

This article explains the complete DeadMaster recovery workflow of Orchestrator, detailing how the system selects the appropriate check‑and‑recover function, handles emergency grace periods, reads topology information, registers recovery attempts, validates promotion constraints, executes the actual failover, and runs post‑recovery hooks, with extensive Go code examples.

GoMySQLOrchestrator
0 likes · 18 min read
DeadMaster Recovery Process in Orchestrator
MaGe Linux Operations
MaGe Linux Operations
Nov 15, 2022 · Backend Development

Go 1.18 & 1.19 Highlights: Generics, Fuzzing, Workspaces Explained

The article reviews Go’s 13‑year journey, focusing on the major 2022 releases Go 1.18 and Go 1.19, and explains new features such as generics, fuzz testing, workspaces, documentation improvements, memory limits, VS Code extensions, security tools, and the team’s future roadmap.

GoGo 1.18Go 1.19
0 likes · 4 min read
Go 1.18 & 1.19 Highlights: Generics, Fuzzing, Workspaces Explained
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 7, 2022 · Databases

Orchestrator Failover Process Source Code Analysis – Simulating Faults and Understanding ContinuousDiscovery

This article walks through a simulated MySQL 3307 cluster failure, examines Orchestrator's source code to explain the ContinuousDiscovery loop, discovery queues, health ticks, caretaking tasks, raft coordination, topology snapshots, and the logic distinguishing UnreachableMaster from DeadMaster states.

ContinuousDiscoveryDatabase HAGo
0 likes · 20 min read
Orchestrator Failover Process Source Code Analysis – Simulating Faults and Understanding ContinuousDiscovery