Tagged articles

Go

1966 articles · Page 18 of 20
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 18, 2020 · Fundamentals

Master Go Slices: Understanding make, append, copy, and Capacity

This article explains Go slice fundamentals, covering how to create slices with make, the relationship between length and capacity, the behavior of append, why zero values appear, the automatic growth mechanism, and how to safely copy slices using the copy function, illustrated with code examples and diagrams.

COPYGoappend
0 likes · 8 min read
Master Go Slices: Understanding make, append, copy, and Capacity
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 17, 2020 · Fundamentals

Master Go Slices: From Basics to Advanced Operations

This article introduces Go slices, explaining why they’re needed, how they differ from arrays, their memory layout, and demonstrates declaration, creation with make, slicing arrays, appending, modifying, deleting, and iterating over elements with clear code examples.

Goslices
0 likes · 9 min read
Master Go Slices: From Basics to Advanced Operations
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 15, 2020 · Backend Development

Master Go Variables: Types, Declarations, and Best Practices

This article introduces Go language variable fundamentals, explaining why variables are needed, common types, various declaration methods—including explicit typing, type inference, short declaration, global and anonymous variables—and constant usage, complemented by code examples and practical tips for effective Go programming.

GoType Inferenceconstants
0 likes · 7 min read
Master Go Variables: Types, Declarations, and Best Practices
360 Tech Engineering
360 Tech Engineering
Sep 28, 2020 · Backend Development

Guide to Organizing Go Project Structure, Packages, and Commands

This article explains how to design a Go project layout, differentiate internal and external packages, configure modules, write simple functions, import packages, create command‑line tools, and manage private code, providing practical code examples and best‑practice recommendations for backend developers.

GoInternal PackagesModules
0 likes · 8 min read
Guide to Organizing Go Project Structure, Packages, and Commands
ITPUB
ITPUB
Aug 27, 2020 · Backend Development

Why Go Could Be the Top Backend Language in 2021

Analyzing recent Stack Overflow surveys and GitHub trends, this article explains why Go's efficiency, simplicity, and rising popularity make it a strong contender for the best backend programming language in 2021, even as JavaScript and Python dominate the market.

GitHubGoLanguage Trends
0 likes · 6 min read
Why Go Could Be the Top Backend Language in 2021
21CTO
21CTO
Aug 25, 2020 · Backend Development

Go vs Java: Which Language Wins for Modern Backend Development?

The article shares a developer’s firsthand comparison of Java and Go, covering their histories, syntax, garbage collection, concurrency models, reflection, inheritance, dependency management, and practical pros and cons, to help readers decide which language better fits their backend projects.

ConcurrencyGoJava
0 likes · 15 min read
Go vs Java: Which Language Wins for Modern Backend Development?
New Oriental Technology
New Oriental Technology
Aug 24, 2020 · Operations

Master GitLab CI: From Code to Docker Deployment in Minutes

This guide walks you through setting up a GitLab CI environment, configuring a Docker‑enabled runner, writing Dockerfile and .gitlab-ci.yml files, and automating code compilation, container image creation, and deployment of a Go application, complete with command examples and troubleshooting tips.

CI/CDGitLab CIGo
0 likes · 6 min read
Master GitLab CI: From Code to Docker Deployment in Minutes
JavaEdge
JavaEdge
Aug 7, 2020 · Backend Development

Choosing and Optimizing Serialization for High‑Performance Messaging

The article explains why serialization is essential for inter‑process communication, compares common formats like JSON, Protobuf, Kryo, and custom binary schemes, outlines selection criteria such as readability, complexity, speed and density, and provides code examples and interview‑style Q&A for high‑performance messaging systems.

BackendGoJava
0 likes · 12 min read
Choosing and Optimizing Serialization for High‑Performance Messaging
Beike Product & Technology
Beike Product & Technology
Aug 7, 2020 · Backend Development

Analysis of Gin Framework Routing Prefix‑Tree Implementation

This article provides a detailed examination of Gin's routing mechanism in Go, describing the internal prefix‑tree data structures, the algorithms for building and searching the tree, code walkthroughs of key functions such as addRoute and findWildcard, and case studies of typical and edge‑case route configurations.

GinGoPrefix Tree
0 likes · 21 min read
Analysis of Gin Framework Routing Prefix‑Tree Implementation
Efficient Ops
Efficient Ops
Aug 4, 2020 · Operations

Mastering Filebeat: How to Collect and Ship Container Logs to Kafka

This article introduces Filebeat as a lightweight log shipper, explains its core components and processing flow, and provides step‑by‑step configuration examples for gathering container logs and forwarding them to Kafka or Elasticsearch in cloud‑native environments.

ElasticsearchFilebeatGo
0 likes · 13 min read
Mastering Filebeat: How to Collect and Ship Container Logs to Kafka
Alibaba Cloud Native
Alibaba Cloud Native
Jul 28, 2020 · Backend Development

What’s New in Dubbo-go v1.5: Application‑Level Registration, Metadata Center, and Cloud‑Native Enhancements

Dubbo-go v1.5 introduces an application‑level service registration model, a metadata center for interface data, Kubernetes‑native registration, enhanced routing, and security features like TLS, while maintaining full compatibility with Dubbo 2.7.x and preparing for future cloud‑native evolution.

GoKubernetescloud-native
0 likes · 9 min read
What’s New in Dubbo-go v1.5: Application‑Level Registration, Metadata Center, and Cloud‑Native Enhancements
Liulishuo Tech Team
Liulishuo Tech Team
Jul 22, 2020 · Fundamentals

Exploring Recursive Types in Go: Tries, Finite Automata, Stacks, Pointers, Balanced Braces, Y Combinator, and Church Numerals

This article demonstrates how Go's support for recursive types enables elegant implementations of data structures such as tries and finite automata, functional constructs like stacks and pointers, and classic concepts including balanced braces, the Y combinator, and Church numerals, providing practical code examples throughout.

AlgorithmsData StructuresGo
0 likes · 16 min read
Exploring Recursive Types in Go: Tries, Finite Automata, Stacks, Pointers, Balanced Braces, Y Combinator, and Church Numerals
Beike Product & Technology
Beike Product & Technology
Jul 16, 2020 · Fundamentals

In-depth Source Analysis of Go Channels (Go 1.14)

This article provides a comprehensive source‑level examination of Go's channel mechanism—including usage examples, the internal hchan data structure, creation, read/write operations, closing behavior, and common pitfalls—based on the Go 1.14 runtime implementation.

BufferGochannel
0 likes · 14 min read
In-depth Source Analysis of Go Channels (Go 1.14)
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 16, 2020 · Artificial Intelligence

Can Go+ Fill Python’s Gaps in Data Science and Deep Learning?

After years of using Python for AI and data science, the author examines its flexibility drawbacks and argues that Go+, with its static typing and concise syntax, can address Python’s limitations, offering comparable ease for tensor operations, potential for a new deep‑learning front‑end language.

Data ScienceGoPython
0 likes · 16 min read
Can Go+ Fill Python’s Gaps in Data Science and Deep Learning?
Zhengtong Technical Team
Zhengtong Technical Team
Jul 14, 2020 · Cloud Computing

Stability Assurance Solutions for an Unattended Parking Cloud SaaS Platform

This article outlines the challenges of scaling parking services to cloud SaaS—including network latency, real‑time processing, and data integrity—and presents a comprehensive stability strategy using MQTT, dual‑network backup, Go‑based process supervision, and edge‑cloud collaboration to achieve high‑availability unattended parking operations.

GoIoTMQTT
0 likes · 11 min read
Stability Assurance Solutions for an Unattended Parking Cloud SaaS Platform
ITPUB
ITPUB
Jul 2, 2020 · Frontend Development

Build a Cat Canvas Game with Go and WebAssembly: Step‑by‑Step Guide

Learn how to create a simple interactive cat‑themed canvas game for mobile browsers using Go compiled to WebAssembly, covering environment setup with Docker, Go code for DOM manipulation, event handling, rendering, audio, and deployment, while explaining WASM concepts and differences from Service and Web Workers.

CanvasGoWebAssembly
0 likes · 15 min read
Build a Cat Canvas Game with Go and WebAssembly: Step‑by‑Step Guide
360 Tech Engineering
360 Tech Engineering
Jun 29, 2020 · Fundamentals

Summary of the Latest Go Generics Design Draft with Code Examples

This article summarizes the key changes in the new Go generics design draft, explaining type constraints, multiple type parameters, type lists, generic structs, and method‑based constraints, and includes practical Go code snippets to illustrate each feature.

Code ExamplesGoType Constraints
0 likes · 8 min read
Summary of the Latest Go Generics Design Draft with Code Examples
Ctrip Technology
Ctrip Technology
Jun 29, 2020 · Backend Development

Controlling Goroutine Concurrency in Go: Risks of Unbounded Goroutine Creation and Practical Limiting Techniques

The article explains why creating unlimited Goroutines in Go can exhaust system resources, demonstrates the problem with a sample program, and presents practical methods—including channel throttling, sync.WaitGroup, and third‑party Goroutine pools—to safely limit concurrency and improve performance.

ConcurrencyGoPerformance
0 likes · 10 min read
Controlling Goroutine Concurrency in Go: Risks of Unbounded Goroutine Creation and Practical Limiting Techniques
21CTO
21CTO
Jun 27, 2020 · Backend Development

Top Microservice Frameworks Across Java, .NET, Node.js, Go, and Python

This article surveys the rise of microservices, explains their advantages, and provides a concise overview of the most popular Java, .NET, Node.js, Go, and Python frameworks that enable developers to build scalable, loosely‑coupled services.

.NETFrameworksGo
0 likes · 7 min read
Top Microservice Frameworks Across Java, .NET, Node.js, Go, and Python
Open Source Linux
Open Source Linux
Jun 24, 2020 · Fundamentals

How to Set Up Ubuntu on Windows 10 with WSL and Install Go in Minutes

This guide walks you through enabling the Windows Subsystem for Linux, installing Ubuntu from the Microsoft Store, configuring your user, updating packages, and adding the Go programming language, providing clear screenshots and command examples for a smooth cross‑platform development setup.

GoLinuxUbuntu
0 likes · 3 min read
How to Set Up Ubuntu on Windows 10 with WSL and Install Go in Minutes
Programmer DD
Programmer DD
Jun 18, 2020 · Backend Development

Why Douyu Chose Go to Build the Jupiter Microservice Framework

Douyu's Go team explains how the Jupiter framework was born from internal needs, its evolution through multi‑data‑center and cloud‑native transitions, its differences from other Go microservice solutions, and the company's open‑source strategy and future plans.

GoJupiterService Governance
0 likes · 13 min read
Why Douyu Chose Go to Build the Jupiter Microservice Framework
Cloud Native Technology Community
Cloud Native Technology Community
Jun 12, 2020 · Cloud Native

Monzo’s Approach to Managing 1,600 Backend Microservices with Kubernetes and Cloud‑Native Practices

Monzo, the UK digital bank, shares how it built a Kubernetes‑based, cloud‑native platform to run over 1,600 Go‑written microservices backed by Cassandra, implements fine‑grained service isolation with network policies, and creates internal tooling to automate security and deployment at massive scale.

CassandraGoKubernetes
0 likes · 7 min read
Monzo’s Approach to Managing 1,600 Backend Microservices with Kubernetes and Cloud‑Native Practices
360 Tech Engineering
360 Tech Engineering
Jun 1, 2020 · Backend Development

Building a Food Recommendation API with Domain‑Driven Design in Go

This tutorial walks through a complete Golang implementation of a food‑recommendation API using Domain‑Driven Design (DDD), covering the four DDD layers, entity and repository definitions, persistence setup with Gorm, application services, HTTP interfaces, middleware, and how to run the service.

APIBackendDDD
0 likes · 28 min read
Building a Food Recommendation API with Domain‑Driven Design in Go
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 27, 2020 · Backend Development

Mastering Domain-Driven Design in Go: Build a Food Recommendation API

This article walks through a complete Go implementation of a food recommendation API using Domain-Driven Design, covering project setup, layer separation, entity and repository definitions, infrastructure configuration, application services, HTTP interfaces, authentication, and how to run the application.

APIDomain-Driven DesignGo
0 likes · 19 min read
Mastering Domain-Driven Design in Go: Build a Food Recommendation API
ITPUB
ITPUB
May 26, 2020 · Backend Development

Master Go Basics: Packages, Types, Variables, Constants, and Functions

This tutorial introduces Go's core concepts—including package structure, built‑in types, variable and constant declarations, and function definitions—explaining syntax nuances, import styles, type creation, and initialization patterns to help beginners quickly become productive in Go.

FunctionsGobackend development
0 likes · 9 min read
Master Go Basics: Packages, Types, Variables, Constants, and Functions
Programmer DD
Programmer DD
May 25, 2020 · Fundamentals

7 Modern Programming Languages You Should Learn in 2024

This article examines seven modern programming languages—Rust, Go, Kotlin, TypeScript, Swift, Dart, and Julia—detailing their key features, typical use cases, popularity trends, and why developers should consider learning them to stay competitive in today's software landscape.

GoKotlinRust
0 likes · 21 min read
7 Modern Programming Languages You Should Learn in 2024
21CTO
21CTO
May 23, 2020 · Fundamentals

Can New Languages Like Go, Rust, and Swift Overtake the Old Guard?

The article examines recent TIOBE rankings and explores how emerging languages such as Go, Rust, Swift, Dart, and Kotlin compare to established giants like C, C++, Java, and JavaScript, analyzing their design goals, adoption, and prospects for replacing legacy code.

GoKotlinLanguage Trends
0 likes · 17 min read
Can New Languages Like Go, Rust, and Swift Overtake the Old Guard?
Programmer DD
Programmer DD
May 19, 2020 · Operations

How to Shrink Docker Images by Up to 99% Across Go, Java, Rust, and More

This article explains practical techniques for drastically reducing Docker image sizes—including Go binary static linking, Alpine vs. slim base images, multi‑stage builds for Java, Rust, and interpreted languages, and detailed size comparisons—so developers can choose the optimal base image and build strategy for any language.

AlpineGoImage Optimization
0 likes · 20 min read
How to Shrink Docker Images by Up to 99% Across Go, Java, Rust, and More
ITPUB
ITPUB
May 14, 2020 · Operations

Instantly Transfer Files Between PC and Phone with QR Codes Using qrcp

This guide explains how the qrcp command‑line tool creates a temporary web server, encodes its address in a QR code, and enables fast, cross‑device file transfers, covering installation via Go or binary, usage commands, network‑interface selection, and practical examples.

GoQR codecommand line
0 likes · 5 min read
Instantly Transfer Files Between PC and Phone with QR Codes Using qrcp
Liangxu Linux
Liangxu Linux
May 12, 2020 · Operations

Instant PC‑Phone File Transfer with QR Codes Using qrcp

This guide explains how qrcp creates a QR‑coded URL to bind a temporary web server for seamless file transfers between computers and mobile devices, covering its inner workings, installation via Go or binary releases, and detailed command‑line usage for sending and receiving files.

GoQR codefile transfer
0 likes · 5 min read
Instant PC‑Phone File Transfer with QR Codes Using qrcp
Huajiao Technology
Huajiao Technology
May 12, 2020 · Backend Development

How to Build a Real‑Time Sensitive Word Detection Service in Go

This article explains how to design, implement, and deploy a high‑performance Go service that uses an upgraded sego tokenizer to load custom sensitive‑word dictionaries, provide JSON‑RPC detection, support hot‑reloading, and scale across multiple data centers for live‑stream platforms.

GoHot ReloadJSON-RPC
0 likes · 7 min read
How to Build a Real‑Time Sensitive Word Detection Service in Go
360 Quality & Efficiency
360 Quality & Efficiency
Apr 24, 2020 · Backend Development

Root Cause Analysis of Connection Reset by Peer in a Go Backend Service

This article details a production incident where a Go backend service returned "connection reset by peer" due to exhausted process file descriptors caused by a saturated database connection pool, and describes the step‑by‑step troubleshooting, socket internals, and the eventual fix.

Database Connection PoolGoLinux tools
0 likes · 14 min read
Root Cause Analysis of Connection Reset by Peer in a Go Backend Service
360 Tech Engineering
360 Tech Engineering
Apr 13, 2020 · Backend Development

Understanding Exception and Error Handling in Go

This article explains how Go handles exceptions and errors using defer, panic, and recover, compares it with try‑catch in other languages, demonstrates the built‑in error interface, custom error types, and provides multiple code examples and analyses of their output.

ExceptionGodefer
0 likes · 6 min read
Understanding Exception and Error Handling in Go
58 Tech
58 Tech
Apr 13, 2020 · Backend Development

Diagnosing and Optimizing High CPU Usage of a Go Service Migrated to Kubernetes Using Flame Graphs

This article describes how a Go‑based message‑push service migrated to a Kubernetes‑Docker container platform exhibited unexpectedly high CPU usage, the step‑by‑step profiling with go‑tool pprof and flame graphs, analysis of the Go GMP scheduler, and the resolution by configuring GOMAXPROCS to match the container‑allocated cores.

GOMAXPROCSGoProfiling
0 likes · 12 min read
Diagnosing and Optimizing High CPU Usage of a Go Service Migrated to Kubernetes Using Flame Graphs
360 Tech Engineering
360 Tech Engineering
Apr 7, 2020 · Fundamentals

Implementing Raft in Go: Persistence, Optimizations, and Crash Scaling

This article, the fourth in a series on building a Raft consensus module in Go, explains how to add persistent state, improve command delivery semantics, optimize AppendEntries handling, and handle crash tolerance, while providing concrete Go code examples and practical testing tips.

Distributed ConsensusGoOptimization
0 likes · 12 min read
Implementing Raft in Go: Persistence, Optimizations, and Crash Scaling
360 Tech Engineering
360 Tech Engineering
Mar 31, 2020 · Backend Development

Implementing Raft Command Handling and Log Replication in Go

This article explains how to extend a Go implementation of the Raft consensus algorithm to handle client commands, replicate logs across the cluster, manage commit pipelines, and ensure election safety, while providing detailed code examples and discussion of underlying concepts.

BackendConsensusGo
0 likes · 15 min read
Implementing Raft Command Handling and Log Replication in Go
Senior Brother's Insights
Senior Brother's Insights
Mar 31, 2020 · Backend Development

Building a 1M‑Request Ticket‑Grab System with Go, Nginx, and Redis

This article explores how to design a high‑concurrency ticket‑booking service capable of handling millions of simultaneous requests by combining distributed load‑balancing, Nginx weighted round‑robin, Go micro‑services, and Redis atomic inventory management, complete with code samples and performance benchmarks.

Distributed ArchitectureGoNginx
0 likes · 21 min read
Building a 1M‑Request Ticket‑Grab System with Go, Nginx, and Redis
360 Tech Engineering
360 Tech Engineering
Mar 20, 2020 · Backend Development

Implementing Raft Election Mechanism in Go – Part 2

This article, the second in a series on Raft, explains the election mechanism, server states, timers, RPC handling, and partition scenarios while providing complete Go code examples for the consensus module and its interactions.

ConsensusElectionGo
0 likes · 21 min read
Implementing Raft Election Mechanism in Go – Part 2
Youzan Coder
Youzan Coder
Mar 20, 2020 · Backend Development

Exploring Go Unit Test Coverage, Static Analysis, and Incremental Coverage Integration

The article details how a Go middleware QA team generates unit‑test coverage with go test and gocov, runs static analysis via golangci‑lint, integrates results into SonarQube, captures integration‑test coverage in Kubernetes, and applies diff‑cover for incremental coverage checks, all visualized through Jenkins.

CI/CDGoKubernetes
0 likes · 16 min read
Exploring Go Unit Test Coverage, Static Analysis, and Incremental Coverage Integration
MaGe Linux Operations
MaGe Linux Operations
Mar 12, 2020 · Cloud Computing

How to Build a Multi‑Cloud Management Tool with Go: Step‑by‑Step API Integration

This article walks through creating a Go‑based multi‑cloud management platform by leveraging each cloud provider's open APIs, demonstrating how to use curl and Go HTTP requests to query Tencent Cloud's DescribeRegions endpoint, generate the required signature, and integrate the results into a unified dashboard, reducing operational overhead across diverse cloud environments.

APICloud ComputingGo
0 likes · 7 min read
How to Build a Multi‑Cloud Management Tool with Go: Step‑by‑Step API Integration
360 Tech Engineering
360 Tech Engineering
Mar 10, 2020 · Fundamentals

Introduction to Raft: A Comprehensive Overview of the Distributed Consensus Algorithm

This article provides a thorough introduction to the Raft consensus algorithm, explaining its purpose, core components such as state machine replication, log and consensus module, leader‑follower model, client interaction, fault‑tolerance considerations, the CAP trade‑off, and why Go is a suitable implementation language.

Distributed ConsensusGoRaft
0 likes · 11 min read
Introduction to Raft: A Comprehensive Overview of the Distributed Consensus Algorithm
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Mar 6, 2020 · Backend Development

Understanding Go's sync.Pool: Implementation, Usage Scenarios, and Evolution from Go 1.12 to 1.13

This article explains what a sync.Pool object pool is, when it should be used, details the Go 1.12 implementation with its internal structures and algorithms, describes the enhancements introduced in Go 1.13, and analyzes the resulting performance improvements for high‑concurrency backend applications.

ConcurrencyGoPerformance
0 likes · 18 min read
Understanding Go's sync.Pool: Implementation, Usage Scenarios, and Evolution from Go 1.12 to 1.13
Mafengwo Technology
Mafengwo Technology
Feb 28, 2020 · Backend Development

How We Achieve Real‑Time MySQL‑to‑Elasticsearch Sync with Binlog and Kafka

This article explains how a large e‑commerce platform replaced a MySQL‑centric intermediate table with a binlog‑driven pipeline that streams changes through Kafka into Elasticsearch, ensuring ordered, complete, and low‑latency data synchronization while addressing schema evolution and operational monitoring.

BackendBinlogElasticsearch
0 likes · 11 min read
How We Achieve Real‑Time MySQL‑to‑Elasticsearch Sync with Binlog and Kafka
Alibaba Cloud Native
Alibaba Cloud Native
Feb 14, 2020 · Cloud Native

How Kubernetes Schedules Pods and Secures API Access: A Hands‑On Deep Dive

This article walks through building a simple Go web service, containerizing it, pushing the image to a registry, and then exploring how Kubernetes API Server authenticates clients with mutual TLS and how the scheduler’s pre‑filter and scoring phases decide the optimal node for a pod, complete with code snippets and log analysis.

API ServerGoKubernetes
0 likes · 16 min read
How Kubernetes Schedules Pods and Secures API Access: A Hands‑On Deep Dive
21CTO
21CTO
Feb 7, 2020 · Backend Development

How to Build a High‑Concurrency Ticket‑Spike System Like 12306

This article explores the challenges of massive ticket‑buying spikes during holidays, explains the multi‑layer load‑balancing architecture, presents Go and Nginx configurations for weighted routing, demonstrates Redis‑based pre‑deduction of stock with Lua scripts, and shares stress‑test results showing thousands of requests per second on a single node.

Distributed ArchitectureGoRedis
0 likes · 18 min read
How to Build a High‑Concurrency Ticket‑Spike System Like 12306
360 Tech Engineering
360 Tech Engineering
Feb 4, 2020 · Backend Development

Gokeeper, Pepperbus, Peppercron, and Dashboard: Open‑Source Backend Services Overview and Deployment Guide

This article introduces Huajiao's open‑source backend services—gokeeper, pepperbus, peppercron, and dashboard—detailing their features, architecture, and step‑by‑step Docker‑based deployment, configuration, and usage with Go code examples for service discovery and distributed cron management.

BackendGodistributed cron
0 likes · 7 min read
Gokeeper, Pepperbus, Peppercron, and Dashboard: Open‑Source Backend Services Overview and Deployment Guide
Qunar Tech Salon
Qunar Tech Salon
Feb 4, 2020 · Backend Development

Bilibili's Exploration and Practice of Microservice Governance

This article presents Bilibili's exploration of microservice governance, detailing the challenges of service splitting and large‑scale management, the design and evolution of its Go‑based Discovery service discovery framework, advanced load‑balancing algorithms, adaptive rate‑limiting, circuit‑breaking strategies, and future directions for resilient backend systems.

Circuit BreakingGoload balancing
0 likes · 13 min read
Bilibili's Exploration and Practice of Microservice Governance
dbaplus Community
dbaplus Community
Jan 22, 2020 · Backend Development

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

This article details a practical experiment that reproduces the load of 100 billion WeChat red‑packet (shake‑and‑grab) requests by simulating 1 million concurrent users on a single machine, achieving peak QPS of 60 k and demonstrating the architectural choices, hardware setup, and monitoring techniques required for such high‑throughput backend systems.

GoLoad TestingQPS
0 likes · 18 min read
How to Simulate 100 Billion WeChat Red‑Packet Requests on a Single Server
Huajiao Technology
Huajiao Technology
Jan 14, 2020 · Backend Development

How to Deploy and Use Huajiao’s Open‑Source Gokeeper, Pepperbus, Peppercron & Dashboard

This guide introduces Huajiao Live’s newly open‑sourced backend components—Gokeeper for centralized configuration and service discovery, Pepperbus for message bus, Peppercron for distributed cron management, and the Dashboard UI—providing repository links, Docker images, installation steps, configuration formats, code examples, and operational details for quick deployment.

BackendGoconfiguration management
0 likes · 9 min read
How to Deploy and Use Huajiao’s Open‑Source Gokeeper, Pepperbus, Peppercron & Dashboard
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jan 9, 2020 · Backend Development

Boost Go Performance: 7 Practical Optimization Techniques

This article presents seven practical Go performance optimization techniques—including using sync.Pool, avoiding pointer‑heavy maps, generating marshal code, leveraging strings.Builder, preferring strconv over fmt, pre‑allocating slices, and passing byte slices—to reduce garbage collection overhead, improve allocation efficiency, and achieve up to 97% faster execution.

BenchmarkGoOptimization
0 likes · 14 min read
Boost Go Performance: 7 Practical Optimization Techniques
Alibaba Cloud Native
Alibaba Cloud Native
Jan 8, 2020 · Backend Development

Master Go Server Engineering: Formatting, Profiling, Testing, and Go2 Insights

This guide explores Go's engineering-friendly features—including gofmt, built‑in profiling, unit testing, coverage, and documentation practices—while also covering performance tuning, garbage‑collector evolution, language versioning, and the upcoming Go2 transition to help developers build robust server applications.

GoGo2Profiling
0 likes · 31 min read
Master Go Server Engineering: Formatting, Profiling, Testing, and Go2 Insights
vivo Internet Technology
vivo Internet Technology
Jan 8, 2020 · Fundamentals

Understanding Kotlin Coroutines, Go Coroutines, and JVM Threading

The article demonstrates that Kotlin coroutines on the JVM are merely a convenient API layered on traditional Java threads rather than true lightweight coroutines, contrasting them with Go’s M:N goroutine scheduling, and discusses experimental Kotlin‑Native and OpenJDK Loom projects that aim to provide genuine coroutine support.

CoroutinesGoJVM
0 likes · 20 min read
Understanding Kotlin Coroutines, Go Coroutines, and JVM Threading
Didi Tech
Didi Tech
Jan 5, 2020 · Backend Development

Investigation and Optimization of High‑Frequency Go Service Timeout in Containers

The study traced severe Redis latency spikes in an 8‑core container to the Go runtime mistakenly reading the host’s CPU count, which created hundreds of threads and scheduler contention; limiting GOMAXPROCS to the container’s quota eliminated the jitter, while further gains were suggested by reducing HMGET calls, tuning GC, and upgrading Go.

CPUGOMAXPROCSGo
0 likes · 14 min read
Investigation and Optimization of High‑Frequency Go Service Timeout in Containers
Alibaba Cloud Native
Alibaba Cloud Native
Jan 3, 2020 · Backend Development

Why Go Skips Inheritance: Master Interfaces, Composition, Modules and Concurrency

This article explains how Go avoids traditional class inheritance by using implicit interfaces and composition, demonstrates the Template Method pattern in Go, explores orthogonal design principles, details Go Modules versioning and migration from GOPATH/vendor, and reviews Go's concurrency models including goroutine, channel and context.

CompositionContextGo
0 likes · 53 min read
Why Go Skips Inheritance: Master Interfaces, Composition, Modules and Concurrency
Top Architect
Top Architect
Jan 2, 2020 · Backend Development

Designing a High‑Concurrency Ticket‑Seckill System with Load Balancing, Pre‑Deduction, and Go Implementation

This article analyzes the challenges of handling millions of simultaneous train‑ticket purchase requests, presents a multi‑layer load‑balancing architecture, introduces a pre‑deduction inventory strategy using Redis and local memory, and demonstrates a complete Go implementation with performance testing and key architectural insights.

GoRedisdistributed systems
0 likes · 18 min read
Designing a High‑Concurrency Ticket‑Seckill System with Load Balancing, Pre‑Deduction, and Go Implementation
ITPUB
ITPUB
Dec 28, 2019 · Backend Development

How to Build a High‑Concurrency Ticket‑Snatching System Like 12306 with Nginx, Redis, and Go

This article dissects the extreme‑load challenges of China’s 12306 train‑ticket service, explains its multi‑layer load‑balancing architecture, and provides a complete Go‑based spike‑system example that uses Nginx weighted round‑robin, Redis atomic stock deduction, and channel‑based locking to safely handle millions of concurrent purchase requests.

GoNginxRedis
0 likes · 20 min read
How to Build a High‑Concurrency Ticket‑Snatching System Like 12306 with Nginx, Redis, and Go
Liangxu Linux
Liangxu Linux
Dec 28, 2019 · Backend Development

How to Build a Million‑User Ticket Spike System: Insights from 12306

During holidays, millions of users scramble for train tickets, overwhelming the 12306 system; this article dissects its high‑concurrency architecture, explains load‑balancing layers, demonstrates Nginx weighted round‑robin configuration, and provides a Go‑based spike simulation with Redis stock management and performance results.

GoNginxRedis
0 likes · 21 min read
How to Build a Million‑User Ticket Spike System: Insights from 12306
Alibaba Cloud Native
Alibaba Cloud Native
Dec 25, 2019 · Backend Development

Master Go Panic/Recover, Thread Limits, and Error Handling – A Practical Guide

This article explores Go's panic/recover mechanism, identifies which runtime errors can be recovered, explains unrecoverable scenarios like thread exhaustion and map race, demonstrates best‑practice error handling with Go 1.13 features and popular error libraries, and offers concrete logging strategies for robust server development.

ConcurrencyGOMAXPROCSGo
0 likes · 34 min read
Master Go Panic/Recover, Thread Limits, and Error Handling – A Practical Guide
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 20, 2019 · Fundamentals

Understanding Duck Typing and Interface Implementation in Go

This article analyzes Go's duck typing and interface mechanisms, explaining how interfaces are defined, implemented, and converted at runtime, including details of underlying structures like iface and eface, method sets, pointer vs value receivers, and type assertions, supplemented with code examples and assembly insights.

Goduck-typinginterface
0 likes · 22 min read
Understanding Duck Typing and Interface Implementation in Go
Alibaba Cloud Native
Alibaba Cloud Native
Dec 18, 2019 · Backend Development

Why Go (Golang) Really Matters for Modern Server Development – A Complete Guide Overview

This article provides a comprehensive overview of Go, covering its naming history, reasons to choose it for server development, key milestones, garbage collection, error handling, module system, concurrency primitives, context management, engineering practices, and the upcoming Go2 evolution, while highlighting its relevance to cloud-native backend engineering.

GoLanguage DesignModules
0 likes · 15 min read
Why Go (Golang) Really Matters for Modern Server Development – A Complete Guide Overview
Cloud Native Technology Community
Cloud Native Technology Community
Dec 18, 2019 · Cloud Native

Deep Dive into the Kubernetes Job Controller Implementation

This article provides a detailed walkthrough of the Kubernetes Job controller source code, explaining the flow from kube‑controller‑manager initialization through key functions such as NewJobController, Run, worker, syncJob, and manageJob, and illustrates how informers, workqueues, and expectations coordinate job lifecycle management.

CloudNativeControllerGo
0 likes · 17 min read
Deep Dive into the Kubernetes Job Controller Implementation
System Architect Go
System Architect Go
Dec 15, 2019 · Operations

Using Makefile to Define Build Commands and Advanced Features

This article explains how to use Makefiles to create custom build commands, define variables, handle recursive targets, incorporate shell output, add conditional checks, and generate help messages, providing practical examples for Go projects and general build automation.

DevOpsGoMakefile
0 likes · 5 min read
Using Makefile to Define Build Commands and Advanced Features
Mafengwo Technology
Mafengwo Technology
Dec 13, 2019 · Backend Development

How Go‑Powered IM Architecture Boosted E‑commerce Messaging Performance

This article explains how a travel e‑commerce platform rebuilt its instant‑messaging service with Go, separating business logic, introducing a dual‑layer distributed architecture, and optimizing performance and reliability to handle massive concurrent connections and improve overall GMV.

GoWebSocketdistributed systems
0 likes · 16 min read
How Go‑Powered IM Architecture Boosted E‑commerce Messaging Performance
360 Tech Engineering
360 Tech Engineering
Dec 11, 2019 · Backend Development

Implementing a Simple Load Balancer in Go

This article walks through building a basic round‑robin load balancer in Go, covering the underlying principles, data structures, reverse‑proxy integration, atomic indexing, concurrency handling, health‑check mechanisms, and how to extend the implementation for production use.

ConcurrencyGobackend development
0 likes · 11 min read
Implementing a Simple Load Balancer in Go
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 6, 2019 · Fundamentals

Understanding Go Slice Internals: Structure, Initialization, Append, Slicing, Copy, and Parameter Passing

This article explains the internal representation of Go slices, how they are created and initialized, the mechanics of append and capacity growth, slicing behavior, deep‑copy using the copy function, and whether slices are passed by value or reference, all illustrated with source code and assembly excerpts.

COPYGoMemory
0 likes · 24 min read
Understanding Go Slice Internals: Structure, Initialization, Append, Slicing, Copy, and Parameter Passing
dbaplus Community
dbaplus Community
Nov 20, 2019 · Backend Development

Designing a High‑Concurrency Ticket‑Spiking System for 1M Users and 10K Tickets

This article explains how to architect a high‑concurrency ticket‑seckill system that can handle one million simultaneous users buying ten thousand tickets, covering load‑balancing strategies, Nginx weighted round‑robin configuration, Go service implementation, Redis‑based inventory management, and performance testing results.

GoNginxRedis
0 likes · 20 min read
Designing a High‑Concurrency Ticket‑Spiking System for 1M Users and 10K Tickets
ITPUB
ITPUB
Nov 20, 2019 · Backend Development

How to Build a Million‑User Ticket‑Spike System with Nginx, Go, and Redis

This article explains the design of a high‑concurrency train‑ticket flash‑sale system, covering distributed load‑balancing, Nginx weighted round‑robin, local and remote stock deduction, Go implementation, Redis atomic scripts, and performance testing with ApacheBench.

GoNginxRedis
0 likes · 20 min read
How to Build a Million‑User Ticket‑Spike System with Nginx, Go, and Redis
MaGe Linux Operations
MaGe Linux Operations
Nov 19, 2019 · Backend Development

How to Build a Million‑User Ticket‑Spike System with Nginx, Go, and Redis

This article explores the architecture and implementation of a high‑concurrency ticket‑spike system, covering load‑balancing strategies, Nginx weighted round‑robin configuration, Go‑based local stock deduction, Redis‑backed unified inventory control, and performance testing with ApacheBench to achieve stable, scalable ticket sales during peak demand.

Gohigh concurrencyload balancing
0 likes · 19 min read
How to Build a Million‑User Ticket‑Spike System with Nginx, Go, and Redis
Programmer DD
Programmer DD
Nov 15, 2019 · Fundamentals

Why Concurrency Isn’t the Same as Parallelism: A Simple Analogy

This article explains the subtle difference between concurrency and parallelism using a ground‑hog and cart analogy, shows how task decomposition creates concurrent pipelines, and maps the model to scalable web‑service architecture, referencing Rob Pike’s talk “Concurrency is not Parallelism”.

ConcurrencyGoParallelism
0 likes · 7 min read
Why Concurrency Isn’t the Same as Parallelism: A Simple Analogy
360 Tech Engineering
360 Tech Engineering
Nov 14, 2019 · Backend Development

Building a Simple TCP Port Scanner in Go

This article walks through creating a lightweight TCP port scanner in Go, covering basic TCP handshake theory, single‑port testing, looping over ports, adding concurrency with WaitGroup, implementing timeouts, using the flag package for command‑line options, and handling race conditions with a mutex.

ConcurrencyGoPort Scanner
0 likes · 8 min read
Building a Simple TCP Port Scanner in Go