Tagged articles
1622 articles
Page 12 of 17
IT Services Circle
IT Services Circle
Mar 16, 2022 · Backend Development

Introducing the Go Generic Utility Library samber/lo

This article introduces the open‑source Go generic utility library samber/lo, explains how to install Go 1.18 beta and the library, and demonstrates common operations such as type conversion, concurrent processing, containment checks, filtering, deduplication, grouping, chunking, and ternary-like expressions with concise code examples.

GenericsGoUtility Library
0 likes · 7 min read
Introducing the Go Generic Utility Library samber/lo
21CTO
21CTO
Mar 16, 2022 · Backend Development

What’s New in Go 1.18? Fuzz Testing, Generics, and 20% Performance Boost

Google’s Go 1.18 release introduces native fuzz testing, generics support, module workspaces, and up to 20% performance gains on ARM64 and Apple M1, enhancing security and productivity for developers while reinforcing Go’s pivotal role in cloud‑native projects like Kubernetes and Docker.

GenericsGoGo 1.18
0 likes · 5 min read
What’s New in Go 1.18? Fuzz Testing, Generics, and 20% Performance Boost
Cyber Elephant Tech Team
Cyber Elephant Tech Team
Mar 16, 2022 · Backend Development

Mastering GoKit: Building Scalable Microservices with Go

This article introduces microservice concepts, explains GoKit's architecture and onion model, and walks through building a simple calculation service in Go, progressively adding logging, metrics, and middleware using the decorator pattern to achieve a clean, decoupled three‑layer design.

Decorator PatternGoGoKit
0 likes · 14 min read
Mastering GoKit: Building Scalable Microservices with Go
Baidu Geek Talk
Baidu Geek Talk
Mar 7, 2022 · Backend Development

Design and Implementation of GDP Streaming RPC Framework (Go Version of brpc Streaming)

The Go‑based GDP Streaming RPC framework extends Baidu’s internal brpc‑compatible RPC system with a high‑performance streaming transport that preserves message order, supports multiple concurrent streams per socket, offers customizable serialization and event‑driven handlers, and enables efficient large‑scale data transfers such as voice or replica synchronization, achieving comparable latency and throughput to the original C++ implementation.

GoRPCStreaming
0 likes · 12 min read
Design and Implementation of GDP Streaming RPC Framework (Go Version of brpc Streaming)
MaGe Linux Operations
MaGe Linux Operations
Mar 2, 2022 · Backend Development

How Go’s New Arena Package Boosts Performance by Up to 15%

The Go community’s arena proposal introduces a contiguous‑memory allocation method that reduces allocation overhead and enables bulk freeing, offering up to 15% CPU and memory savings for large applications while ensuring safety through dynamic checks.

Goarena allocationperformance optimization
0 likes · 5 min read
How Go’s New Arena Package Boosts Performance by Up to 15%
DevOps Cloud Academy
DevOps Cloud Academy
Mar 2, 2022 · Operations

Promoter: Rendering AlertManager Graphs for DingTalk Notifications Using Go

The article introduces Promoter, a Go‑based webhook that fetches Prometheus metrics, renders alert graphs with gonum/plot, stores the images in S3‑compatible object storage, and embeds them in DingTalk notifications, providing deployment instructions, template customization, and core implementation details.

AlertmanagerDingTalkGo
0 likes · 10 min read
Promoter: Rendering AlertManager Graphs for DingTalk Notifications Using Go
Architecture Digest
Architecture Digest
Mar 1, 2022 · Backend Development

Implementing and Testing a High‑Throughput WeChat Red‑Packet System: 1M Connections and Up to 60k QPS

This article details a practical reproduction of a large‑scale WeChat red‑packet service, describing the design goals, hardware and software setup, concurrency architecture, monitoring tools, and performance results that demonstrate a single‑machine handling one million connections and up to sixty thousand queries per second.

Distributed SystemsGoQPS
0 likes · 17 min read
Implementing and Testing a High‑Throughput WeChat Red‑Packet System: 1M Connections and Up to 60k QPS
FunTester
FunTester
Feb 24, 2022 · Backend Development

How to Add Load Balancing to a Custom Go DNS Resolver

This guide shows how to modify a Go custom DNS resolver to perform simple load balancing by predefining IP addresses and randomly selecting one for each new connection, including full code examples and test output.

BackendCustom ResolverDNS
0 likes · 5 min read
How to Add Load Balancing to a Custom Go DNS Resolver
Zhuanzhuan Tech
Zhuanzhuan Tech
Feb 23, 2022 · Backend Development

Go Error Handling Practices in ZuanZuan Operations: Usage and Management

This article explains how ZuanZuan's operations team applies Go's error handling mechanisms—including error values, panic/recover, sentinel errors, and custom error types—along with practical guidelines and code examples to improve reliability and maintainability of production services.

Error HandlingGobackend-development
0 likes · 13 min read
Go Error Handling Practices in ZuanZuan Operations: Usage and Management
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Feb 21, 2022 · Backend Development

Deep Dive into Go net/http and Gin Framework Source Code

This article provides a comprehensive analysis of Go's net/http library and the Gin framework, detailing request handling flow, router implementation, middleware chaining, and context management, while presenting key source code excerpts to illustrate how HTTP services are built and extended in Go.

GinGoHTTP
0 likes · 18 min read
Deep Dive into Go net/http and Gin Framework Source Code
FunTester
FunTester
Feb 17, 2022 · Backend Development

Implementing a Custom DNS Resolver for Go HTTP Client Testing

This article demonstrates how to extend Go's HTTP client with a custom DNS resolver using net.Dialer, configure load‑balancing, and test the implementation with sample code and a simple mock service, providing a practical guide for backend developers.

DNSGohttp-client
0 likes · 6 min read
Implementing a Custom DNS Resolver for Go HTTP Client Testing
Tencent Cloud Developer
Tencent Cloud Developer
Feb 16, 2022 · Backend Development

Table-Driven Testing in Go: Concepts, Examples, and Advanced Techniques

The article explains Go’s table‑driven testing pattern, showing how separating test data into a slice of structs simplifies test code, improves quality, and enables subtests, parallel execution, assertions, mocking, and custom templates, illustrated with a GetWeekDay example and advanced techniques.

GoMockingParallel Testing
0 likes · 14 min read
Table-Driven Testing in Go: Concepts, Examples, and Advanced Techniques
Tencent Cloud Developer
Tencent Cloud Developer
Feb 10, 2022 · Backend Development

Understanding CGO: Usage, Mechanisms, and Best Practices in Go

CGO lets Go programs call C functions and vice versa by importing "C", generating intermediate files, handling type conversion, managing runtime transitions, and requiring careful memory and pointer handling, with best‑practice guidelines to avoid leaks, scheduler issues, and thread explosion.

C interoperabilityGocgo tool
0 likes · 33 min read
Understanding CGO: Usage, Mechanisms, and Best Practices in Go
MaGe Linux Operations
MaGe Linux Operations
Feb 7, 2022 · Cloud Native

Why K8ssandra Is Switching from Helm to Its Own Operator

The article explains how K8ssandra, an Apache Cassandra distribution for Kubernetes, evolved from using Helm charts to developing a dedicated Operator to overcome Helm's limitations, improve multi‑cluster support, and align more closely with Kubernetes best practices.

Cloud NativeGoK8ssandra
0 likes · 13 min read
Why K8ssandra Is Switching from Helm to Its Own Operator
IT Services Circle
IT Services Circle
Feb 1, 2022 · Fundamentals

Comprehensive Guide to Recommended Programming Videos and Resources for Python, Go, Frontend, and Data Analysis

This article curates a wide range of high‑quality video tutorials, books, and online resources covering Python fundamentals, web crawling, data analysis, machine learning, Go language development, and front‑end technologies, offering practical recommendations and rating scores to help learners choose suitable study material.

GoLearning ResourcesPython
0 likes · 12 min read
Comprehensive Guide to Recommended Programming Videos and Resources for Python, Go, Frontend, and Data Analysis
Architect
Architect
Jan 30, 2022 · Backend Development

Designing a High‑Concurrency Ticket Spike System with Load Balancing, Nginx, and Go

This article explains how to design and implement a high‑concurrency ticket‑seckill system by analyzing the 12306 architecture, introducing multi‑layer load balancing, demonstrating Nginx weighted round‑robin configuration, and providing Go and Redis code to achieve stable, low‑latency ticket purchasing under massive simultaneous requests.

GoNginxhigh concurrency
0 likes · 19 min read
Designing a High‑Concurrency Ticket Spike System with Load Balancing, Nginx, and Go
MaGe Linux Operations
MaGe Linux Operations
Jan 28, 2022 · Databases

How to Parse MySQL Binlog with Go: Build a Simple Replication Demo

This article demonstrates how to use Go to parse MySQL binlog events and synchronize data by implementing a lightweight replication client, covering configuration, server module, packet handling, handshake, registration, dump command, and providing complete source code examples with explanations.

BinlogGoReplication
0 likes · 16 min read
How to Parse MySQL Binlog with Go: Build a Simple Replication Demo
Beike Product & Technology
Beike Product & Technology
Jan 27, 2022 · Backend Development

Performance Optimization of Beike IM: Scaling Group Chat to Over 300 QPS

This article details how the Beike instant‑messaging system was analyzed, bottlenecks identified, and a series of backend optimizations—including business isolation, increased concurrency, computation reduction, and Redis connection‑pool redesign—were applied to boost 300‑person group‑chat throughput from 15 QPS to over 320 QPS, achieving more than a twenty‑fold performance gain.

GoIMMessaging
0 likes · 12 min read
Performance Optimization of Beike IM: Scaling Group Chat to Over 300 QPS
Java Backend Technology
Java Backend Technology
Jan 26, 2022 · Backend Development

How to Simulate 100 Million WeChat Red‑Packet Requests on a Single Server

This article details a practical backend engineering experiment that reproduces the massive load of 100 billion WeChat red‑packet requests by simulating one million concurrent users on a single machine, covering target metrics, hardware/software choices, architecture, implementation steps, performance testing, and analysis of the results.

Backend ArchitectureGoLoad Simulation
0 likes · 18 min read
How to Simulate 100 Million WeChat Red‑Packet Requests on a Single Server
Top Architect
Top Architect
Jan 25, 2022 · Backend Development

Design and Implementation of a High‑Concurrency WeChat Red‑Envelope System Simulating 10 Billion Requests

This article details the design, goals, hardware and software choices, implementation techniques, performance testing phases, and analysis of a prototype backend capable of handling one million concurrent connections and up to 60 k QPS to simulate the massive load of ten billion WeChat red‑envelope requests.

Backend ArchitectureDistributed SystemsGo
0 likes · 18 min read
Design and Implementation of a High‑Concurrency WeChat Red‑Envelope System Simulating 10 Billion Requests
Code DAO
Code DAO
Jan 18, 2022 · Backend Development

Implementing Pagination, Filters, and Error Handling in a Go Clean Architecture with Ent and gqlgen (Part 3)

This tutorial walks through adding pagination and flexible where‑filters to the User List interface, configuring gqlgen extensions, handling GraphQL errors, wrapping mutations in transactions, and building unit, integration, and end‑to‑end tests for a Go clean‑architecture project using Ent and gqlgen.

Clean ArchitectureError HandlingGo
0 likes · 23 min read
Implementing Pagination, Filters, and Error Handling in a Go Clean Architecture with Ent and gqlgen (Part 3)
Tencent Qidian Tech Team
Tencent Qidian Tech Team
Jan 18, 2022 · Operations

Unlock Go Performance: Master pprof, trace, GODEBUG, and Escape Analysis

This comprehensive guide explores Go performance optimization techniques, covering pprof profiling, trace analysis, GODEBUG diagnostics, and escape analysis, while providing practical code examples and real‑world case studies to help developers identify and resolve CPU, memory, and goroutine bottlenecks in production services.

Escape AnalysisGODEBUGGo
0 likes · 40 min read
Unlock Go Performance: Master pprof, trace, GODEBUG, and Escape Analysis
Tencent Cloud Developer
Tencent Cloud Developer
Jan 17, 2022 · Backend Development

Applying Clean Architecture, Dependency Injection, and Testing in a Go Backend Project

The article demonstrates how to structure a Go backend using Clean Architecture’s four‑layer model, interface‑driven design, and compile‑time dependency injection with Google Wire, providing concrete examples of repository, service, and API implementations and unit‑testing each layer with sqlmock, gomock, and httptest.

GoWirebackend-development
0 likes · 17 min read
Applying Clean Architecture, Dependency Injection, and Testing in a Go Backend Project
Code DAO
Code DAO
Jan 15, 2022 · Backend Development

Implementing Clean Architecture with ent and gqlgen – Part 2

This article walks through integrating the four Clean Architecture layers—entity, use‑case, interface‑adapter, and framework/driver—into a Go application using ent for ORM and gqlgen for GraphQL, covering folder layout, ULID primary keys, Node interface support, and pagination implementation.

Clean ArchitectureGoGraphQL
0 likes · 19 min read
Implementing Clean Architecture with ent and gqlgen – Part 2
macrozheng
macrozheng
Jan 13, 2022 · Backend Development

Why Rewrite Dubbo in Go? Business and Technical Reasons Behind Dubbo‑Go

This article examines the motivations for rewriting the Java‑centric Dubbo RPC framework in Go, discussing language efficiency, company‑level technology choices, the advantages of Go’s lightweight concurrency for gateways, and how Dubbo‑Go bridges Java and Go in modern microservice and service‑mesh architectures.

DubboGoRPC
0 likes · 10 min read
Why Rewrite Dubbo in Go? Business and Technical Reasons Behind Dubbo‑Go
FunTester
FunTester
Jan 11, 2022 · Backend Development

Mastering GORM: A Beginner’s Guide to Go ORM CRUD Operations

This article walks through setting up GORM in a Go project, covering dependency management, database initialization, model definition, and practical examples of select, insert, update, delete, raw SQL execution, and transaction handling with detailed code snippets.

BackendCRUDGORM
0 likes · 9 min read
Mastering GORM: A Beginner’s Guide to Go ORM CRUD Operations
Laravel Tech Community
Laravel Tech Community
Jan 11, 2022 · Cloud Native

Alibaba Sentinel: Open‑Source Cloud‑Native High‑Availability Protection for Distributed Services (Sentinel Go v1.0.4 Release)

The article introduces Alibaba's open‑source Sentinel, a cloud‑native high‑availability protection component for distributed microservices that offers flow control, circuit breaking, concurrency limiting and adaptive overload protection, and highlights the new Sentinel Go v1.0.4 features such as Prometheus metrics, enhanced circuit‑breaker recovery, Apollo data source, and updated Kubernetes CRD support for version 1.22+.

Circuit BreakingCloud NativeFlow Control
0 likes · 2 min read
Alibaba Sentinel: Open‑Source Cloud‑Native High‑Availability Protection for Distributed Services (Sentinel Go v1.0.4 Release)
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Jan 3, 2022 · Backend Development

Building a Simple Rule Engine with Go's AST and Parser

This article explains how to design a lightweight rule engine in Go by first using JSON‑defined rules, then leveraging Go's token scanner and AST parser to evaluate boolean expressions such as header and cookie checks, and finally discusses extending the engine with custom primitives and GoYACC for more complex grammars.

ASTDSLGo
0 likes · 16 min read
Building a Simple Rule Engine with Go's AST and Parser
Code DAO
Code DAO
Jan 1, 2022 · Backend Development

Building a Clean Architecture GraphQL App with ent and gqlgen (Part 1)

This tutorial walks through creating a maintainable GraphQL application using Go, demonstrating how to set up a Docker‑based MySQL database, configure Viper and Echo, define ent schemas, run migrations, integrate gqlgen with ent, and implement queries and mutations following Clean Architecture principles.

Clean ArchitectureDockerEcho
0 likes · 22 min read
Building a Clean Architecture GraphQL App with ent and gqlgen (Part 1)
Liangxu Linux
Liangxu Linux
Jan 1, 2022 · Cloud Native

How to Gracefully Stop Docker Containers Using Signals, ENTRYPOINT, and CMD

This article explains Linux signals, the difference between exec and shell forms of Dockerfile ENTRYPOINT and CMD, and demonstrates with Go and shell script examples how to configure containers so that docker stop sends SIGTERM correctly for a clean shutdown instead of a forced kill.

ContainerDockerENTRYPOINT
0 likes · 11 min read
How to Gracefully Stop Docker Containers Using Signals, ENTRYPOINT, and CMD
FunTester
FunTester
Dec 31, 2021 · Operations

FunTester’s 2021 Leap: 100k+ QPS Performance & Distributed Testing Insights

The 2021 year‑end summary details FunTester’s rapid growth, the expansion of its public account, major performance upgrades reaching over 100 k QPS, the design of a distributed testing framework, dynamic load models, log‑replay innovations, and the author’s deep dive into Go, Java and Groovy.

Distributed SystemsGoLoad Testing
0 likes · 10 min read
FunTester’s 2021 Leap: 100k+ QPS Performance & Distributed Testing Insights
Baidu Geek Talk
Baidu Geek Talk
Dec 29, 2021 · Backend Development

How to Seamlessly Sync Swagger Docs to Yapi for Automatic API Updates

This guide explains how to keep Swagger annotations in sync with Yapi by generating a swagger.json file, exposing it via Nginx, and configuring Yapi’s automatic import, so that API documentation updates automatically after each code change without manual effort.

API documentationGoNginx
0 likes · 14 min read
How to Seamlessly Sync Swagger Docs to Yapi for Automatic API Updates
Tencent Cloud Middleware
Tencent Cloud Middleware
Dec 28, 2021 · Cloud Native

Integrating PolarisMesh with gRPC-Go for Full-Service Governance

This guide explains how Tencent's open‑source PolarisMesh service mesh can be combined with the Go implementation of gRPC to add service discovery, health checking, dynamic routing, circuit breaking, graceful shutdown, and traffic limiting, providing step‑by‑step code examples and integration architecture.

GoPolarisMeshService Mesh
0 likes · 9 min read
Integrating PolarisMesh with gRPC-Go for Full-Service Governance
Tencent Cloud Developer
Tencent Cloud Developer
Dec 27, 2021 · Databases

Design and Implementation of a Simple Go ORM for MySQL

The article introduces a lightweight Go ORM for MySQL, explains native connection setup, details the SmallormEngine design with chainable methods for Table, Where, Insert, Update, Delete, and BatchInsert, and demonstrates how reflection builds SQL fragments while handling errors and supporting fluent query composition.

CRUDGoORM
0 likes · 32 min read
Design and Implementation of a Simple Go ORM for MySQL
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 24, 2021 · Fundamentals

Evolution of Garbage Collection in Go: From Mark‑Sweep to Hybrid Write Barriers

This article explains how Go's garbage collection has progressed from the simple stop‑the‑world mark‑and‑sweep algorithm in Go 1.3, through the tri‑color concurrent marking with insert and delete write barriers in Go 1.5, to the hybrid write‑barrier approach introduced in Go 1.8 that dramatically reduces pause times while preserving memory safety.

Garbage CollectionGoMark-and-Sweep
0 likes · 31 min read
Evolution of Garbage Collection in Go: From Mark‑Sweep to Hybrid Write Barriers
Tencent Cloud Developer
Tencent Cloud Developer
Dec 22, 2021 · Backend Development

Performance Analysis of Go map Concurrency: sync.Map vs map+RWLock vs concurrent‑map

The article compares Go’s native map (which crashes under concurrent access), a map protected by sync.RWMutex, the lock‑free read‑optimized sync.Map introduced in Go 1.9, and the sharded orcaman/concurrent‑map, showing that sync.Map excels in read‑heavy workloads while sharded maps better handle frequent inserts, and suggesting other cache libraries for eviction or expiration needs.

Goconcurrencysync.Map
0 likes · 20 min read
Performance Analysis of Go map Concurrency: sync.Map vs map+RWLock vs concurrent‑map
Tencent Cloud Developer
Tencent Cloud Developer
Dec 20, 2021 · Backend Development

Go Concurrency Basics, Libraries, and Best Practices

The article explains Go’s scheduler (M, P, G), demonstrates goroutine, channel, and select usage, covers sync primitives, atomic ops, context cancellation, singleflight, common pitfalls, debugging tools, and a channel‑driven chatroom case study, offering best‑practice guidance for efficient concurrent programming.

ChannelGoSynchronization
0 likes · 21 min read
Go Concurrency Basics, Libraries, and Best Practices
21CTO
21CTO
Dec 15, 2021 · Backend Development

Go 1.18 Beta1 Adds Generics & New Tools, and Meet the Neo Web Framework

The Go 1.18 Beta1 release introduces generics support, workspace mode, fuzz testing, and performance improvements, while the newly announced Neo framework offers a lightweight, MIT‑licensed solution for building Go web applications with simple installation and example code.

Beta ReleaseGoNeo Framework
0 likes · 5 min read
Go 1.18 Beta1 Adds Generics & New Tools, and Meet the Neo Web Framework
High Availability Architecture
High Availability Architecture
Dec 15, 2021 · Backend Development

Understanding Go Modules: From GOPATH to Modern Dependency Management

This article explains the evolution of Go's development workflow from the legacy GOPATH mode to the modern Go Modules system, details version‑specific changes, answers common migration questions, and provides a step‑by‑step tutorial with code examples for creating, testing, and managing Go modules in production projects.

GOPATHGobackend-development
0 likes · 13 min read
Understanding Go Modules: From GOPATH to Modern Dependency Management
DeWu Technology
DeWu Technology
Dec 14, 2021 · Operations

Online Service Alarm Handling and Performance Profiling in Go

The article outlines a systematic SOP‑driven approach for diagnosing online service alarms and performance issues in Go, detailing a toolbox that includes pprof, trace, goroutine visualizers, perf and eBPF, and recommends application‑level optimizations, system tuning, and continuous profiling to accelerate root‑cause identification and reduce incident frequency.

GoOnline ServiceSOP
0 likes · 11 min read
Online Service Alarm Handling and Performance Profiling in Go
Taobao Frontend Technology
Taobao Frontend Technology
Dec 13, 2021 · Frontend Development

What’s New in 2024? Explore ahooks 3.0, Tailwind CSS 3.0, Fiber, Happy DOM & More

This roundup introduces the latest releases of several open‑source projects—including ahooks 3.0 with full SSR support, Tailwind CSS v3.0’s new runtime engine, the Go‑based Fiber web framework, Happy DOM’s performance benchmarks, the low‑code front‑end framework amis, and the multi‑framework compiler Mitosis—providing concise overviews and key features for each.

FiberGoHappy DOM
0 likes · 9 min read
What’s New in 2024? Explore ahooks 3.0, Tailwind CSS 3.0, Fiber, Happy DOM & More
ByteDance Web Infra
ByteDance Web Infra
Dec 10, 2021 · Fundamentals

Programming Language Insights, Compiler Design, and Industry Experiences from Web Infra Experts

In this extensive interview, industry veterans Zhao Haiping and Zhang Hongbo discuss the evolution of programming languages, compiler development, language design trade‑offs, and practical experiences across companies like Facebook, Alibaba, and ByteDance, offering valuable guidance for developers and researchers alike.

Compiler designGoRust
0 likes · 67 min read
Programming Language Insights, Compiler Design, and Industry Experiences from Web Infra Experts
Tencent Cloud Developer
Tencent Cloud Developer
Dec 8, 2021 · Backend Development

Understanding Go Module Paths, Versioning, and Pseudo‑Versions

The article explains Go module paths defined in go.mod, how they combine with package subdirectories, the semantic versioning scheme (major, minor, patch, pre‑release), and how Go generates and orders pseudo‑versions from tags, branches, or commits when fetching modules.

GoModulesPseudo-Version
0 likes · 9 min read
Understanding Go Module Paths, Versioning, and Pseudo‑Versions
Ops Development Stories
Ops Development Stories
Dec 8, 2021 · Cloud Native

How to Build a Custom Kubernetes Authentication Webhook with GitHub and LDAP

This article explains how to create a custom Kubernetes authentication webhook in Go that supports GitHub token and LDAP authentication, details the required API Server configuration, provides full code examples, and demonstrates testing both methods, illustrating a practical way to integrate external account systems with Kubernetes.

AuthenticationCloud NativeGitHub
0 likes · 15 min read
How to Build a Custom Kubernetes Authentication Webhook with GitHub and LDAP
IT Architects Alliance
IT Architects Alliance
Dec 3, 2021 · Backend Development

Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)

This article details the evolution from a Node.js‑based WebSocket gateway to a Go‑implemented, gRPC‑driven architecture, describing the redesign of connection handling, TLS off‑loading, socket ID generation, session management, custom Kafka headers, code‑level optimizations, and extensive performance testing that validates the new gateway’s scalability and resource efficiency.

GoKafkaWebSocket
0 likes · 22 min read
Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)
Top Architect
Top Architect
Dec 2, 2021 · Backend Development

Design and Performance Optimization of a High‑Scale WebSocket Gateway (Version 2.0)

This article describes the architectural evolution from Gateway 1.0 to Gateway 2.0 for a high‑traffic document collaboration platform, detailing the redesign of the WebSocket layer, resource‑usage optimizations, heartbeat mechanisms, custom Kafka headers, message serialization, load‑testing results, and the operational lessons learned to support millions of concurrent connections.

GoKafkaMicroservices
0 likes · 22 min read
Design and Performance Optimization of a High‑Scale WebSocket Gateway (Version 2.0)
NetEase Media Technology Team
NetEase Media Technology Team
Dec 2, 2021 · Cloud Native

Why NetEase Media Adopted Go and Built the NGO Cloud‑Native Web Framework

Facing high memory usage and slow builds with Java SpringBoot, NetEase Media switched to Go in 2020, rebuilt core services, and created the cloud‑native ngo framework to deliver lighter containers, faster compilation, built‑in business libraries, tracing and monitoring, now running in production while hiring engineers.

Cloud NativeGoMicroservices
0 likes · 8 min read
Why NetEase Media Adopted Go and Built the NGO Cloud‑Native Web Framework
Architecture Digest
Architecture Digest
Dec 2, 2021 · Backend Development

Design and Performance Optimization of a Million‑Scale WebSocket Gateway at Shimo Docs

This article details the redesign of Shimo Docs' WebSocket gateway—from a Node.js/Socket.IO 1.0 version to a Go‑based 2.0 architecture—covering handshake degradation, TLS memory savings, SnowFlake SocketID generation, Redis‑based session broadcasting, heartbeat tuning, custom Kafka headers, object pooling, MessagePack compression, extensive performance testing, and the resulting stability and scalability improvements for handling half‑a‑million concurrent connections.

GoKafkaMicroservices
0 likes · 23 min read
Design and Performance Optimization of a Million‑Scale WebSocket Gateway at Shimo Docs
Architect
Architect
Dec 1, 2021 · Backend Development

Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)

This article describes the evolution from a Node.js‑based WebSocket gateway to a Go‑powered, gRPC‑enabled architecture, detailing the redesign of the gateway, resource‑saving techniques, heartbeat and TLS optimizations, message‑broker choices, extensive performance testing, and the resulting improvements in CPU, memory, and scalability for millions of concurrent connections.

GoPerformance TestingWebSocket
0 likes · 25 min read
Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)
21CTO
21CTO
Nov 30, 2021 · Backend Development

Building a Million-Scale WebSocket Gateway: Architecture, Optimization & Performance

This article details the design, refactoring, and performance testing of a high‑traffic WebSocket gateway for Shimo Docs, covering the evolution from a Node.js Socket.IO version to a Go‑based microservice architecture, TLS memory tuning, socket ID generation, heartbeat handling, custom Kafka headers, and resource‑efficient scaling to half‑a‑million concurrent connections.

GoKafkaWebSocket
0 likes · 25 min read
Building a Million-Scale WebSocket Gateway: Architecture, Optimization & Performance
High Availability Architecture
High Availability Architecture
Nov 30, 2021 · Backend Development

Design and Performance Optimization of a Million‑Scale WebSocket Gateway

This article details the evolution from a Node.js Socket.IO gateway to a Go‑based, gRPC‑enabled WebSocket gateway that supports millions of concurrent connections, covering architecture redesign, TLS handling, socket ID generation, session management, heartbeat optimization, custom Kafka headers, code‑level refinements, and extensive performance testing results.

GoKafkaWebSocket
0 likes · 21 min read
Design and Performance Optimization of a Million‑Scale WebSocket Gateway
FunTester
FunTester
Nov 30, 2021 · Backend Development

Which HTTP Client Wins? Java FunTester vs Go net/http vs fasthttp Performance Test

The article presents a detailed performance comparison of three HTTP client implementations—Java FunTester, Go's net/http, and the high‑performance fasthttp library—across multiple thread counts and artificial latency settings, reporting CPU usage, memory consumption, and QPS to determine the most efficient choice.

GoHTTPbenchmark
0 likes · 9 min read
Which HTTP Client Wins? Java FunTester vs Go net/http vs fasthttp Performance Test
21CTO
21CTO
Nov 28, 2021 · Fundamentals

Why Learning Go (Golang) Is Worth Your Time: Key Benefits and Essentials

This article introduces Go, highlights its concise and clean syntax, showcases core language structures and built‑in tools, explains module creation and cross‑compilation, and demonstrates how to build binaries and WebAssembly modules, making a compelling case for learning Golang.

GoGolangModules
0 likes · 6 min read
Why Learning Go (Golang) Is Worth Your Time: Key Benefits and Essentials
MaGe Linux Operations
MaGe Linux Operations
Nov 24, 2021 · Backend Development

Mastering Go Circuit Breakers: Boost System Resilience with gobreaker

This article explains how to use the Go gobreaker library to implement circuit‑breaker patterns, describing its three states, state transitions, configurable parameters, and providing full source‑code examples to help developers improve fault tolerance in micro‑service architectures.

BackendGoMicroservices
0 likes · 9 min read
Mastering Go Circuit Breakers: Boost System Resilience with gobreaker
FunTester
FunTester
Nov 23, 2021 · Backend Development

Master Go WebSocket with Gorilla: Build, Test, and Compare Clients

This guide walks through using the Gorilla WebSocket library in Go, covering dependency setup, server implementation with an Upgrader, Java and Go client examples, testing procedures, and performance observations that highlight Go's advantages for WebSocket workloads.

BackendGoWebSocket
0 likes · 6 min read
Master Go WebSocket with Gorilla: Build, Test, and Compare Clients
Tencent Cloud Developer
Tencent Cloud Developer
Nov 22, 2021 · Backend Development

Understanding Go Modules: Evolution, Usage, and Best Practices

The article traces Go’s shift from GOPATH to Go Modules—detailing their history, migration steps, practical commands, and best‑practice tips such as using replace directives, managing go.mod and go.sum, and emphasizing why teams should adopt modules now for reliable dependency handling, security, and developer efficiency.

GOPATHGobackend-development
0 likes · 15 min read
Understanding Go Modules: Evolution, Usage, and Best Practices
IT Architects Alliance
IT Architects Alliance
Nov 22, 2021 · Backend Development

How to Serve 1 Million Users Buying 10 000 Train Tickets Simultaneously – A High‑Concurrency Architecture Walkthrough

This article analyzes the extreme‑traffic problem of Chinese train ticket sales, presents a multi‑layer load‑balancing architecture with Nginx weighted round‑robin, demonstrates Go and Redis code for local and global stock deduction, and shows benchmark results proving that a single machine can handle over 4 000 requests per second while preventing oversell and few‑sell.

Distributed SystemsGoSeckill
0 likes · 20 min read
How to Serve 1 Million Users Buying 10 000 Train Tickets Simultaneously – A High‑Concurrency Architecture Walkthrough
MaGe Linux Operations
MaGe Linux Operations
Nov 13, 2021 · Information Security

Hive Ransomware Targets Linux: Bugs, New Features, and Industry Shift

Security researchers at ESET reveal that the Hive ransomware group has expanded its attacks to Linux and FreeBSD systems, releasing a buggy yet feature‑rich Linux variant written in Go, while noting a broader industry trend of ransomware operators developing Linux encryptors to compromise virtualized server environments.

GoInformation SecurityVirtualization
0 likes · 4 min read
Hive Ransomware Targets Linux: Bugs, New Features, and Industry Shift
FunTester
FunTester
Nov 11, 2021 · Backend Development

Building and Testing WebSocket Services in Go: A Hands‑On Guide

This article walks through developing a simple Go WebSocket server that echoes the current time, shows a minimal client, compares startup speed with Java, and provides full source code and test logs for practical performance testing.

BackendGoWebSocket
0 likes · 7 min read
Building and Testing WebSocket Services in Go: A Hands‑On Guide
Tencent Cloud Developer
Tencent Cloud Developer
Nov 8, 2021 · Backend Development

Understanding Generics in Go: History, Concepts, and Practical Examples

The article surveys Go's generics—from their historical origins and the generic dilemma of balancing productivity, compile speed, and runtime performance—to practical implementation using type parameters, constraints, and the built‑in comparable interface, illustrating common patterns such as generic arithmetic, slices, maps, and utility functions.

ConstraintsGenericsGo
0 likes · 23 min read
Understanding Generics in Go: History, Concepts, and Practical Examples
Java High-Performance Architecture
Java High-Performance Architecture
Nov 7, 2021 · Backend Development

Designing a Scalable Shopping Cart Service with Go and Redis: Architecture & Patterns

This article explains how to design a robust e‑commerce shopping‑cart service by separating business, system, and technical architectures, applying DDD, strategy and chain‑of‑responsibility patterns, and choosing Redis data structures for high‑performance storage.

Backend ArchitectureDesign PatternsDomain-Driven Design
0 likes · 20 min read
Designing a Scalable Shopping Cart Service with Go and Redis: Architecture & Patterns
Tencent Cloud Developer
Tencent Cloud Developer
Nov 3, 2021 · Backend Development

Using Go as a Scripting Language with Yaegi: Concepts, Quick Start, and Comparative Evaluation

The article explains how Go, traditionally a compiled language, can serve as a scripting language using the Yaegi interpreter—detailing its syntax‑compatible design, easy struct integration, quick‑start example, performance comparison with gopher‑lua and Tengo, and practical engineering guidelines for safe embedding.

EmbeddingGoScripting
0 likes · 16 min read
Using Go as a Scripting Language with Yaegi: Concepts, Quick Start, and Comparative Evaluation
Wukong Talks Architecture
Wukong Talks Architecture
Nov 1, 2021 · Fundamentals

Go Language Overview: Features, Concurrency, Types, and Development Tools

This article presents an interview‑style overview of the Go programming language, covering its distinguishing features, typical use cases, concurrency model with goroutines and channels, basic syntax, data types, variable and constant declarations, error handling, and recommended development tools, all illustrated with code examples.

ChannelsError HandlingGo
0 likes · 13 min read
Go Language Overview: Features, Concurrency, Types, and Development Tools
360 Quality & Efficiency
360 Quality & Efficiency
Oct 29, 2021 · Backend Development

Implementing RabbitMQ Dead Letter Queues with Go

This article explains the concept of RabbitMQ dead letter queues, outlines the conditions that generate dead letters, provides step‑by‑step configuration instructions, and includes Go code examples for publishing messages with TTL and consuming from the dead‑letter queue to implement delayed processing.

Dead Letter QueueGoMessage Queue
0 likes · 5 min read
Implementing RabbitMQ Dead Letter Queues with Go
IT Architects Alliance
IT Architects Alliance
Oct 27, 2021 · Backend Development

Common Mistakes When Building Microservices and Lessons Learned

The article reviews the most frequent errors encountered while adopting microservice architecture—excessive customization, uncontrolled complexity, and vague definitions—illustrating each with real‑world experiences, a saga implementation using Redis streams and Go, and practical advice to avoid similar pitfalls.

Distributed SystemsGoMicroservices
0 likes · 6 min read
Common Mistakes When Building Microservices and Lessons Learned
Tencent Cloud Developer
Tencent Cloud Developer
Oct 27, 2021 · Backend Development

Understanding and Implementing the Raft Consensus Algorithm in Go

This guide walks readers through building a complete Raft consensus system in Go, detailing leader election, log replication, state persistence, snapshotting, and committed‑entry application, while explaining key structures, RPCs, golden rules, and offering advice on using mature libraries versus custom implementations.

GoLog ReplicationRaft
0 likes · 42 min read
Understanding and Implementing the Raft Consensus Algorithm in Go
21CTO
21CTO
Oct 23, 2021 · Backend Development

Why We Dropped PHP for Go: Lessons from Rebuilding a High‑Traffic Gaming Platform

In this article, Poki engineers explain why they abandoned PHP in favor of Go while migrating to a micro‑service architecture, discuss the performance and operational benefits of Go, evaluate NoSQL options like MongoDB and Cassandra, and justify sticking with MySQL for their high‑traffic gaming platform.

GoNoSQLPHP
0 likes · 9 min read
Why We Dropped PHP for Go: Lessons from Rebuilding a High‑Traffic Gaming Platform
FunTester
FunTester
Oct 20, 2021 · Backend Development

Boost Go HTTP Performance with fasthttp: Practical API Guide

This article explores the fasthttp library as a high‑performance alternative to Go's net/http client, demonstrates basic and advanced API usage with object pools, shows how to set up a mock test server, and provides complete Go unit‑test examples with output verification.

BackendGoHTTP client
0 likes · 12 min read
Boost Go HTTP Performance with fasthttp: Practical API Guide