Tagged articles
1622 articles
Page 10 of 17
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 CollectionGoPerformance debugging
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.

ContainersGoMicroservices
0 likes · 9 min read
Go Language for Cloud Computing and Microservices
MaGe Linux Operations
MaGe Linux Operations
May 11, 2023 · Cloud Native

Master Distributed Tracing in Go with OpenTelemetry – A Practical Guide

In modern cloud‑native applications, distributed tracing is essential for pinpointing errors across microservices, and OpenTelemetry provides a standardized framework for collecting and analyzing trace data, with a hands‑on Go implementation demonstrated in an upcoming expert-led workshop.

Cloud NativeDistributed TracingGo
0 likes · 5 min read
Master Distributed Tracing in Go with OpenTelemetry – A Practical Guide
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.

GoTIOBE Indexc++
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.

Code RefactoringDevOpsGo
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.

Cloud NativeGoKubernetes
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.

BackendGohigh-concurrency
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.

GoPrometheusStorage Engine
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.

GoORMReflection
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.

Backend ArchitectureDDDDomain Events
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.

Backend ArchitectureDDDGo
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.

BackendGoGolang
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.

GoOperationslog agent
0 likes · 16 min read
Loggie: A High-Performance Log Collection Agent System Design and Implementation
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.

BackendGoPrometheus
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.

Data StructureGenericsGo
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 CallsGoStack vs Registers
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.

GoNATNetworking
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.

DDDDomain ModelingGo
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
Alibaba Cloud Native
Alibaba Cloud Native
Dec 8, 2022 · Cloud Native

How to Seamlessly Integrate Polaris Service Governance with dubbogo Go RPC

This guide explains why and how to combine Tencent's open‑source Polaris service‑governance platform with the high‑performance dubbogo Go RPC framework, covering architecture, registration, discovery, dynamic routing and rate‑limiting, complete with configuration snippets and practical code examples.

GoMicroservicesPolaris
0 likes · 11 min read
How to Seamlessly Integrate Polaris Service Governance with dubbogo Go RPC
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.

Goc++career 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.

BackendError HandlingGo
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.

Backend ArchitectureDDDDomain Services
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.

ChannelGoGoroutine
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.

Escape AnalysisGobackend-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.

DDDGoSoftware Architecture
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.

CRDCloud NativeDeployment
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.

Fault InjectionGoReliability Testing
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.

GoOrchestratorRecovery
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.

GenericsGoGo 1.18
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
Baidu Geek Talk
Baidu Geek Talk
Nov 2, 2022 · Backend Development

Avoid These Common Go Pitfalls Before They Crash Your Code

This article compiles a series of frequent Go programming pitfalls—ranging from incorrect use of unsafe.Sizeof and variadic any parameters to slice expansion, pointer handling, closure capture, concurrency bugs, and serialization quirks—providing concrete code examples and safe alternatives to help developers write more reliable Go code.

GoPitfallsbest practices
0 likes · 18 min read
Avoid These Common Go Pitfalls Before They Crash Your Code
Qunar Tech Salon
Qunar Tech Salon
Nov 2, 2022 · Databases

Design of a Next‑Generation Qunar Database Automation Platform: Architecture, Communication Protocol, and Security

This article describes the layered architecture of Qunar's next‑generation database automation platform, outlines the design goals for secure Agent/Plugin‑Server communication, compares communication and encryption methods, and details the authentication and request flow using symmetric encryption and token‑based security.

Agent-Server CommunicationGoSecurity Protocol
0 likes · 9 min read
Design of a Next‑Generation Qunar Database Automation Platform: Architecture, Communication Protocol, and Security
MaGe Linux Operations
MaGe Linux Operations
Oct 29, 2022 · Backend Development

How to Build a Go Trie for Real‑Time Sensitive Word Filtering

This article demonstrates how to implement a sensitive‑word detection system in Go using a prefix‑tree (Trie), covering brute‑force, regex, and optimized rune‑based methods, plus special‑character filtering, pinyin support, and complete source code examples.

GoText FilteringTrie
0 likes · 19 min read
How to Build a Go Trie for Real‑Time Sensitive Word Filtering
Shopee Tech Team
Shopee Tech Team
Oct 27, 2022 · Backend Development

Design and Implementation of a Scalable Fund Routing Decision Engine at Shopee

Shopee’s scalable fund‑routing decision engine combines a configurable Go‑based rule engine with Redis‑backed, Lua‑driven quota control to dynamically match loan orders to external capital providers, enforce multi‑dimensional volume limits, achieve tens of thousands TPS, and provide extensible risk‑management capabilities across markets.

GoPerformance Testingbackend-development
0 likes · 17 min read
Design and Implementation of a Scalable Fund Routing Decision Engine at Shopee
ITPUB
ITPUB
Oct 26, 2022 · Backend Development

How to Choose the Right Components When Building a Go Microservice Framework

This article walks through practical trade‑offs in designing a Go microservice framework, covering protocol choices, data transport, network handling, serialization methods, service registry options, routing algorithms, and rate‑limiting strategies, while highlighting real‑world implementation details and pitfalls.

GoMicroservicesprotocol design
0 likes · 12 min read
How to Choose the Right Components When Building a Go Microservice Framework
Architect
Architect
Oct 21, 2022 · Databases

Designing Efficient POI Proximity Search with MySQL, GeoHash, and Redis

This article explains how to implement fast nearby POI queries by calculating distances with the Haversine formula, designing MySQL tables and indexes, applying GeoHash for dimensionality reduction, and leveraging Redis Geo for high‑concurrency scenarios, while also providing Go code examples for each step.

GeoHashGoPOI
0 likes · 29 min read
Designing Efficient POI Proximity Search with MySQL, GeoHash, and Redis
MaGe Linux Operations
MaGe Linux Operations
Oct 20, 2022 · Databases

Boost Ranking Performance with Redis Sorted Sets and Go

This article explains why MySQL struggles with large‑scale ranking, introduces Redis sorted sets as a high‑performance alternative, and provides complete Go code examples—including direct command usage and a struct‑based wrapper—to implement, query, and manage ranked data efficiently.

GoSorted Setranking
0 likes · 8 min read
Boost Ranking Performance with Redis Sorted Sets and Go
Sohu Tech Products
Sohu Tech Products
Oct 19, 2022 · Fundamentals

Understanding the Observer Pattern with Go Code Examples

This article explains the Observer (publish‑subscribe) pattern, illustrates it with a humorous dialogue, provides complete Go interface and struct implementations for subjects and observers, shows sample client code and output, and discusses practical refactoring using the pattern for configuration changes.

GoObserver PatternPublish-Subscribe
0 likes · 8 min read
Understanding the Observer Pattern with Go Code Examples
Tencent Cloud Developer
Tencent Cloud Developer
Sep 29, 2022 · Backend Development

Analyzing Go Memory Layout and Object Dumping

The article demonstrates how to examine a running Go program’s memory layout by defining example structs, using unsafe.Sizeof/Alignof, dumping writable regions via a Bash script and GDB, and locating fields and string constants in the resulting memory dumps to verify object representation.

GoHeap InspectionLinux
0 likes · 27 min read
Analyzing Go Memory Layout and Object Dumping
macrozheng
macrozheng
Sep 28, 2022 · Backend Development

Why Java 19 Virtual Threads Outperform Traditional Threads and Go Goroutines

This article introduces Java 19's virtual threads, compares their performance and scheduling with traditional platform threads and Go goroutines, provides practical code examples, benchmark results, and migration guidelines, and explains the underlying M:N scheduling mechanisms that make virtual threads more efficient for high‑concurrency, I/O‑bound workloads.

GoVirtual Threadsconcurrency
0 likes · 22 min read
Why Java 19 Virtual Threads Outperform Traditional Threads and Go Goroutines
21CTO
21CTO
Sep 24, 2022 · Frontend Development

Why Wails Is the Lightweight Go Alternative to Electron for Desktop Apps

This article explains how the Go‑based Wails framework provides a lightweight, fast, and native‑rendered solution for cross‑platform desktop applications, comparing it to Electron and detailing its features, IPC mechanism, and the recent v2 release.

Desktop AppsElectron AlternativeGo
0 likes · 6 min read
Why Wails Is the Lightweight Go Alternative to Electron for Desktop Apps
Tencent Cloud Developer
Tencent Cloud Developer
Sep 23, 2022 · Backend Development

Deep Dive into Go Context Package: Source Code Analysis and Design Patterns

An in‑depth examination of Go’s compact context package reveals its core interface, internal implementations like emptyCtx, cancelCtx, timerCtx, and valueCtx, the propagation and cancellation mechanisms, and practical design patterns, concluding with essential best‑practice guidelines for passing, canceling, and using context values safely.

Design PatternsGoGoroutine
0 likes · 18 min read
Deep Dive into Go Context Package: Source Code Analysis and Design Patterns
MaGe Linux Operations
MaGe Linux Operations
Sep 21, 2022 · Backend Development

Simplify Go Microservices to RESTful APIs with Ginrest and Generics

This article introduces Ginrest, a Go 1.18 generic‑based library that streamlines the conversion of gRPC or other microservice functions into RESTful endpoints by providing request/response wrappers, unified error handling, and context utilities, dramatically reducing repetitive boilerplate code.

GinGoRESTful
0 likes · 9 min read
Simplify Go Microservices to RESTful APIs with Ginrest and Generics
FunTester
FunTester
Sep 21, 2022 · Backend Development

Mastering Go Redis Set Operations: API Guide and Performance Benchmark

This article provides a comprehensive guide to implementing and testing Go Redis Set APIs—including SAdd, SCard, SIsMember, SMembers, SRem, SPop, and SPopN—complete with code examples, a unified test suite, and a performance benchmark that reports QPS and execution time.

APIBackendGo
0 likes · 8 min read
Mastering Go Redis Set Operations: API Guide and Performance Benchmark
21CTO
21CTO
Sep 15, 2022 · Information Security

How govulncheck Helps Go Developers Spot Real Vulnerabilities

The new govulncheck tool leverages the Go vulnerability database to pinpoint actual vulnerable function calls in code, reducing noise and addressing developer challenges around error handling and third‑party library security, while recent surveys highlight the growing need for such solutions.

Gogovulnchecksecurity
0 likes · 6 min read
How govulncheck Helps Go Developers Spot Real Vulnerabilities
MaGe Linux Operations
MaGe Linux Operations
Sep 14, 2022 · Backend Development

What Go Developers Really Think About Generics, Security, and Tooling in the 2022 Q2 Survey

The 2022 Q2 Go developer survey of 5,752 respondents reveals rapid adoption of generics, limited awareness of fuzz testing, security concerns centered on third‑party dependencies, mixed feelings about new features, and insights into tooling, IDE preferences, and workspace usage that guide the Go team's future priorities.

GoToolingdeveloper survey
0 likes · 17 min read
What Go Developers Really Think About Generics, Security, and Tooling in the 2022 Q2 Survey
Tencent Cloud Developer
Tencent Cloud Developer
Sep 14, 2022 · Backend Development

Understanding Go Stack Memory Management

The article explains how Go’s runtime manages goroutine stacks—starting with a 2 KB initial size, evolving from segmented to continuous stacks, detailing allocation via stackpool and stackLarge, expansion with runtime.newstack, shrinkage by the garbage collector, and the internal structures that coordinate these processes.

GoMemory ManagementRuntime
0 likes · 15 min read
Understanding Go Stack Memory Management
21CTO
21CTO
Sep 12, 2022 · Backend Development

Go 2022 Q2 Survey: Surprising Insights on Generics, Fuzzing, and Security

Based on responses from 5,752 developers, the 2022 Q2 Go survey uncovers rapid adoption of generics, low awareness of built-in fuzz testing, major security concerns around third-party dependencies, challenges in error handling, and preferences for tooling and platforms, offering a comprehensive snapshot of the Go ecosystem.

GenericsGodeveloper tools
0 likes · 6 min read
Go 2022 Q2 Survey: Surprising Insights on Generics, Fuzzing, and Security
Architecture Digest
Architecture Digest
Sep 7, 2022 · Backend Development

Building a High-Performance Scalable Instant Messaging System with Go and WebSocket

This article guides readers through the design and implementation of a high‑performance, scalable instant‑messaging (IM) system using Go, detailing WebSocket protocol fundamentals, server‑side architecture, authentication, message handling, code examples, and optimization strategies for production deployment.

GoInstant MessagingWebSocket
0 likes · 39 min read
Building a High-Performance Scalable Instant Messaging System with Go and WebSocket
IT Architects Alliance
IT Architects Alliance
Sep 6, 2022 · Backend Development

Building a High‑Performance, Scalable IM System with Go and WebSocket

This article explains the fundamentals of instant‑messaging, dives deep into the WebSocket protocol and its handshake, and provides a step‑by‑step guide with Go code to quickly build a high‑availability, extensible IM system that supports registration, login, single‑chat, group‑chat, file upload and optimization strategies.

GoIM SystemMessage Queue
0 likes · 38 min read
Building a High‑Performance, Scalable IM System with Go and WebSocket
Top Architect
Top Architect
Aug 31, 2022 · Backend Development

Implementing a Reliable Delay Queue with Redis and Go

This article explains how to build a precise, persistent delay queue using Redis data structures and Lua scripts, demonstrates a Go client library with code examples for sending, consuming, acknowledging, and retrying delayed messages, and discusses the design requirements such as durability, retry mechanisms, and timing accuracy.

GoLuaMessage Queue
0 likes · 13 min read
Implementing a Reliable Delay Queue with Redis and Go
Infra Learning Club
Infra Learning Club
Aug 31, 2022 · Backend Development

How to Build a Remote Go Development Environment with VS Code

This guide walks through configuring a remote Linux machine for Go development using VS Code’s Remote‑SSH extension, covering SSH key setup, host configuration, Go installation, VS Code extensions, and additional system tweaks to create a fast, resource‑rich development environment.

Development EnvironmentGoLinux
0 likes · 7 min read
How to Build a Remote Go Development Environment with VS Code
Architecture Digest
Architecture Digest
Aug 31, 2022 · Backend Development

Implementing a Reliable Delay Queue with Redis and Go

This article explains how to build a reliable delayed message queue using Redis, covering business scenarios, requirements such as persistence and retry, the design of Redis data structures, Lua scripts for atomic operations, and a Go implementation with example code for producing and consuming delayed tasks.

Distributed SystemsGoLua
0 likes · 13 min read
Implementing a Reliable Delay Queue with Redis and Go
MaGe Linux Operations
MaGe Linux Operations
Aug 26, 2022 · Cloud Native

How to Extend the Kubernetes Scheduler with Custom Plugins and Network Traffic Scoring

This article provides a step‑by‑step guide on extending the Kubernetes scheduler, covering configuration of scheduler profiles, implementing out‑of‑tree plugins, integrating Prometheus‑based network traffic scoring, and deploying the custom scheduler both inside and outside a cluster, complete with code samples and troubleshooting tips.

GoKubernetesPrometheus
0 likes · 24 min read
How to Extend the Kubernetes Scheduler with Custom Plugins and Network Traffic Scoring