Search

Discover articles.

Search across authors, categories, and technical themes. The layout mirrors the editorial references while staying responsive and fast.

Results

Matches for “golang”

170 results
Fundamentals Feb 28, 2020 Xueersi Online School Tech Team

Understanding Locks and Mutex Implementation in Go

This article explains the concept of locks, why they are needed in concurrent programming, and provides an in‑depth look at Go's synchronization primitives—including CAS, atomic operations, spinlocks, semaphores, and the evolution of the sync.Mutex implementation with code examples and performance considerations.

backendconcurrencygolanggosynchronizationmutexlock
Fundamentals Dec 6, 2019 Xueersi Online School Tech Team

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.

golangGoRuntimememoryappendslicecopy
Backend Development Nov 30, 2019 NetEase Game Operations Platform

Optimizing Docker Build for Go Applications with Multi‑Stage Builds and Cache‑From

This article demonstrates how to shrink Go application Docker images and accelerate CI builds by applying multi‑stage builds, consolidating RUN commands, cleaning up layers, and leveraging Docker's cache‑from feature to reuse previously built layers in GitLab CI pipelines.

dockerimage-optimizationci-cdgolangalpinemulti-stage-buildcache-from
Backend Development Nov 22, 2019 Xueersi Online School Tech Team

Deep Dive into Go's map Implementation: Structure, Operations, and Performance

This article explains Go's map internals, covering the hmap and bmap structures, hash table design, bucket layout, initialization, lookup, insertion, deletion, resizing mechanisms, concurrency considerations, and provides extensive code excerpts to illustrate each step.

concurrencygolangGoRuntimemapdata-structureshash-table
Backend Development Nov 6, 2019 360 Tech Engineering

Guide to Go Modules: Versioning, Dependency Management, and Common Commands

This article explains how to use Go modules for reliable dependency management, covering historical tools, semantic versioning, vendoring, module creation, testing, upgrading and tidying dependencies, and best practices for committing go.mod and go.sum files.

golanggodependency-managementversioningmodulesgo-modgo-test
Backend Development Aug 15, 2019 360 Tech Engineering

Building a Simple RPC Framework in Go

This article walks through building a simple RPC framework in Go using about 300 lines of code, covering RPC fundamentals, TLV network data format, serialization, transport layer, server and client implementations, and a complete example to help readers understand RPC concepts.

Backend DevelopmentGolangRPCGoSerializationNetwork ProgrammingTLV
Backend Development Aug 2, 2019 Architecture Digest

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

This article describes how a single‑machine prototype was built in Go to simulate a WeChat red‑envelope service capable of handling up to 6 × 10⁴ QPS, supporting one million concurrent connections, and processing 10 billion shake‑red‑envelope requests through careful load‑balancing, monitoring, and performance analysis.

backenddistributed-systemsperformancegolangload-testinghigh-throughput
Fundamentals Jul 7, 2019 System Architect Go

Understanding the Go 2 Proposal Process and How to Track Future Language Changes

This article explains how the Go community drives the future "Go 2" language updates through a standardized proposal selection and evaluation workflow, shows how to locate proposals on GitHub using specific labels, and points to official releases and blog resources for early access and detailed information.

golanggodevelopment processgithubgo2language proposals
Backend Development Apr 4, 2019 360 Zhihui Cloud Developer

How HTTP/2 Header Compression and Server Push Boost Web Performance

This article explains HTTP/2’s new features—HPACK header compression using static and dynamic tables with Huffman coding, and Server Push via PUSH_PROMISE frames—detailing how they reduce bandwidth, improve latency, and the underlying stream state machine, illustrated with code snippets and diagrams.

golanghttp2Server Pushhpackheader-compression
Cloud Native Feb 26, 2019 Zhuanzhuan Tech

Automated Business Log Collection in Zhaozhuan Container Cloud Platform Using Log‑Pilot

This article describes how Zhaozhuan built an automated, business‑transparent log‑collection solution for its container cloud platform by evaluating several approaches, adopting Alibaba Cloud's open‑source log‑pilot, customizing its deployment, and addressing practical issues such as time‑zone bugs, latency, and duplicate collection.

cloud nativegolangcontainerlog collectionflumefluentdlog-pilot
Previous Page 16 Next