Tagged articles

Go

1784 articles · Page 16 of 18
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Dec 3, 2020 · Cloud Native

Building Cloud‑Native Services with Go: Lessons from Huawei’s Service Center

This article shares Huawei Cloud’s practical experience of using Go to build cloud‑native microservices, covering the evolution of their Service Center, key design patterns such as static‑dynamic information separation, contract‑driven services, dependency management, caching, and the open‑source Go Chassis framework.

Backend DevelopmentGoGo Chassis
0 likes · 8 min read
Building Cloud‑Native Services with Go: Lessons from Huawei’s Service Center
Amap Tech
Amap Tech
Nov 26, 2020 · Backend Development

Practical Guide to Unit Testing and Mocking in Go Backend Services

This guide explains how to embed robust unit tests in Go backend services, outlines the AIR testing principles and common pitfalls, and demonstrates three practical mocking techniques—database stubs, interface‑based gomock, and runtime monkey‑patching—plus CI integration and coverage reporting.

CIGinGo
0 likes · 16 min read
Practical Guide to Unit Testing and Mocking in Go Backend Services
360 Tech Engineering
360 Tech Engineering
Nov 16, 2020 · Backend Development

Understanding Go's Escape Analysis and Its Impact on Memory Allocation

Go's escape analysis determines whether variables are allocated on the stack or heap, influencing garbage collection overhead; this guide explains the analysis principles, shows how to enable compiler logs, and demonstrates through multiple code examples how different patterns cause or avoid variable escape.

Compiler FlagsEscape AnalysisGo
0 likes · 8 min read
Understanding Go's Escape Analysis and Its Impact on Memory Allocation
IT Architects Alliance
IT Architects Alliance
Nov 15, 2020 · Backend Development

Can Java Match Go’s Speed? A Deep Microservice Performance Study

This article presents a systematic performance comparison between Java and Go microservices—covering raw speed, memory usage, logging impact, GraalVM native images, and Kubernetes deployments—to reveal when each language excels and the practical trade‑offs involved.

Backend DevelopmentGoGraalVM
0 likes · 14 min read
Can Java Match Go’s Speed? A Deep Microservice Performance Study
Python Crawling & Data Mining
Python Crawling & Data Mining
Nov 9, 2020 · Fundamentals

Master Go Functions: Scope, Defer, Panic & Recover Explained

This article delves into advanced Go function concepts, illustrating memory allocation diagrams, variable scopes, the use of const for globals, the behavior of defer statements, and handling errors with panic and recover, complete with code examples and visual outputs to deepen your understanding.

FunctionsGoVariable Scope
0 likes · 8 min read
Master Go Functions: Scope, Defer, Panic & Recover Explained
Liangxu Linux
Liangxu Linux
Nov 8, 2020 · Operations

Quickly Set Up a CentOS 8 Server for Go Development

This step‑by‑step guide shows new Linux server users how to configure remote login, switch to fast mirrors, install essential tools like lrzsz and vim, set up environment variables, install Go, and add the vim‑go plugin on a CentOS 8 system.

CentOSGoLinux
0 likes · 7 min read
Quickly Set Up a CentOS 8 Server for Go Development
Alibaba Cloud Native
Alibaba Cloud Native
Nov 2, 2020 · Backend Development

Mastering dubbo-go: Step‑by‑Step Server Setup and Source‑Code Deep Dive

This guide walks you through cloning the dubbo-go repository, configuring environment variables, launching a Go server and client, examining the key source files, and understanding the full export and invocation chain—including registry registration, proxy invokers, and filter wrappers—while highlighting common pitfalls.

ConfigurationGoMicroservices
0 likes · 22 min read
Mastering dubbo-go: Step‑by‑Step Server Setup and Source‑Code Deep Dive
Ops Development Stories
Ops Development Stories
Nov 2, 2020 · Databases

Master MongoDB with Go: From Setup to CRUD Operations

This guide walks you through installing the Go MongoDB driver, establishing connections, and performing full CRUD operations—including inserting single and multiple documents, querying, updating, and deleting records—while also showing how to retrieve server status and explaining BSON handling in Go.

BSONCRUDGo
0 likes · 12 min read
Master MongoDB with Go: From Setup to CRUD Operations
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 28, 2020 · Fundamentals

Master Go Operators and Control Flow: A Practical Guide

This tutorial introduces Go's fundamental operators—including arithmetic, relational, logical, bitwise, and assignment types—and explains the language's control flow constructs such as if, switch, for loops, and goto, complete with clear code examples for each concept.

Control FlowGobackend
0 likes · 8 min read
Master Go Operators and Control Flow: A Practical Guide
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 26, 2020 · Fundamentals

Master Go Arrays: Definitions, Initialization, and Traversal Explained

This article introduces Go arrays, covering their definition as contiguous fixed-length collections of identical types, demonstrates various declaration syntaxes, shows how to initialize arrays with explicit values or automatic length inference, explains traversal techniques using for loops and range, and explores multidimensional arrays with practical code examples.

ArraysGoInitialization
0 likes · 7 min read
Master Go Arrays: Definitions, Initialization, and Traversal Explained
Alibaba Cloud Native
Alibaba Cloud Native
Oct 20, 2020 · Backend Development

Understanding Sentinel-Go: Core Concepts, Flow Control Architecture, and Implementation Details

This article provides an in‑depth analysis of Sentinel‑Go, covering its fundamental concepts such as Resource and Rule, the Entry and SlotChain mechanisms, flow‑control components like TrafficShapingController, metric storage structures including BucketWrap and LeapArray, and practical code examples illustrating the library’s internal workflow.

FlowControlGoMetrics
0 likes · 26 min read
Understanding Sentinel-Go: Core Concepts, Flow Control Architecture, and Implementation Details
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 19, 2020 · Fundamentals

Master Go’s Core Data Types: From iota to Strings Explained

This article provides a comprehensive guide to Go’s fundamental data types—including iota, integers, floats, booleans, strings, and multi‑line strings—complete with explanations, code examples, and common string operations, helping readers deepen their understanding of Go’s core type system.

Data TypesGoStrings
0 likes · 11 min read
Master Go’s Core Data Types: From iota to Strings Explained
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.

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

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

Backend DevelopmentGoInternal Packages
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.

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

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

AutomationCI/CDDocker
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.

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

ElasticsearchGocontainer logging
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.

Cloud NativeGoService Registration
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.

Data StructuresGoRecursive Types
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.

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

GoPythoncompiler
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
360 Quality & Efficiency
360 Quality & Efficiency
Jul 10, 2020 · Backend Development

Introduction to Go Language: Overview, Environment Setup, Key Syntax, and Common Web Frameworks

This article introduces the Go programming language, guides readers through downloading and installing the Go toolchain, explains essential syntax such as slices, pointers, and channels with code examples, and surveys popular Go web frameworks like Beego, Iris, and Buffalo for backend development.

Backend DevelopmentGoWeb Frameworks
0 likes · 9 min read
Introduction to Go Language: Overview, Environment Setup, Key Syntax, and Common Web Frameworks
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.

CanvasDockerGame Development
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.

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

.NETBackend DevelopmentGo
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.

Development EnvironmentGoLinux
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.

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

CassandraCloud NativeGo
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.

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

APIBackend DevelopmentDomain-Driven Design
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.

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

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

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

GoNetworkQR code
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.

GoJSON-RPCbackend service
0 likes · 7 min read
How to Build a Real‑Time Sensitive Word Detection Service in Go
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.

Error handlingExceptionGo
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
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.

ConsensusGoLog Replication
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.

GoHigh concurrencyNGINX
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/CDGoSonarQube
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.

GoRaftState Machine Replication
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.

GoObject Poolconcurrency
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.

BinlogData synchronizationElasticsearch
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 ServerDockerGo
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.

GoRedisdistributed architecture
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.

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

Gocircuit breakingload 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.

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

DockerGoMessage Bus
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.

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

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

GoHigh concurrencyRedis
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.

GoHigh concurrencyNGINX
0 likes · 20 min read
How to Build a High‑Concurrency Ticket‑Snatching System Like 12306 with Nginx, Redis, and Go