Tagged articles
1622 articles
Page 13 of 17
Ops Development Stories
Ops Development Stories
Oct 20, 2021 · Operations

Automate Harbor Image Tag Cleanup with a Go CLI Script

This article explains how to create a Go‑based command‑line tool that queries Harbor projects and repositories, lists image tags, and automatically deletes older tags while retaining a configurable number of recent ones, streamlining storage management and avoiding manual page‑by‑page deletions.

CLIDevOpsGo
0 likes · 18 min read
Automate Harbor Image Tag Cleanup with a Go CLI Script
Tencent Cloud Developer
Tencent Cloud Developer
Oct 19, 2021 · Backend Development

Comprehensive Guide to gRPC Communication with Go and PHP: Protobuf, Streaming, TLS, and Timeout

This comprehensive guide walks you through creating a gRPC user service in Go and PHP, from defining protobuf messages and generating code, implementing server and client stubs, adding client, server, and bidirectional streaming, securing communication with TLS certificates, and managing request deadlines with timeout controls.

GoPHPStreaming
0 likes · 33 min read
Comprehensive Guide to gRPC Communication with Go and PHP: Protobuf, Streaming, TLS, and Timeout
MaGe Linux Operations
MaGe Linux Operations
Oct 17, 2021 · Backend Development

Building a Scalable Go-Based Instant Messaging System: Architecture & Deployment Guide

Learn how to build a pure Go instant messaging platform with a three‑layer, distributed architecture—comet, logic, and job—featuring RPC communication, Redis‑based message pushing, and cluster support, plus step‑by‑step deployment instructions, required packages, and future enhancement plans.

Distributed SystemsGoInstant Messaging
0 likes · 5 min read
Building a Scalable Go-Based Instant Messaging System: Architecture & Deployment Guide
dbaplus Community
dbaplus Community
Oct 12, 2021 · Information Security

How d18n Enables Cross‑Platform Data Desensitization for Secure Databases

This article introduces d18n, a Go‑based, cross‑platform data‑desensitization tool that supports multiple databases and file formats, explains common desensitization scenarios, details its sensitive‑data identification techniques—including keyword, regex, and NLP‑based DFA—and outlines six practical masking algorithms with export and import workflows.

Database SecurityGod18n
0 likes · 11 min read
How d18n Enables Cross‑Platform Data Desensitization for Secure Databases
FunTester
FunTester
Oct 8, 2021 · Backend Development

Building a Custom Go HTTP Client Wrapper for API Testing

This article walks through creating a reusable Go HTTP client wrapper, demonstrates its use in a test script, shows console output, and integrates a mock server with Moco to enable quick API testing while applying a learning‑by‑doing approach.

APIBackendGo
0 likes · 9 min read
Building a Custom Go HTTP Client Wrapper for API Testing
IT Architects Alliance
IT Architects Alliance
Oct 7, 2021 · Backend Development

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

This article explains how to build a high‑concurrency ticket‑seckill system that can handle millions of simultaneous requests by using multi‑layer load balancing, Nginx weighted round‑robin, local stock deduction, Redis atomic scripts, and Go’s native concurrency, and it demonstrates the implementation with complete code and performance testing.

Godistributed architecturehigh concurrency
0 likes · 18 min read
Designing a High‑Concurrency Ticket Spike System with Load Balancing, Redis, and Go
Ops Development Stories
Ops Development Stories
Sep 30, 2021 · Backend Development

Master Go: Parse and Generate YAML, JSON, and XML Files

This tutorial demonstrates how to use Go's standard and third‑party libraries to parse and generate YAML, JSON, and XML files, covering data structures, unmarshalling, marshalling, handling maps, and producing readable output with code examples.

GoJSONXML
0 likes · 17 min read
Master Go: Parse and Generate YAML, JSON, and XML Files
IT Architects Alliance
IT Architects Alliance
Sep 28, 2021 · Backend Development

Designing a High‑Concurrency Ticket Spike System: Architecture, Load Balancing, and Go Implementation

This article explores the design of a high‑concurrency train‑ticket flash‑sale system, covering distributed load‑balancing strategies, Nginx weighted round‑robin configuration, local and remote stock deduction using Go and Redis, performance testing with ApacheBench, and key architectural lessons for preventing overselling and ensuring high availability.

GoNginxdistributed architecture
0 likes · 18 min read
Designing a High‑Concurrency Ticket Spike System: Architecture, Load Balancing, and Go Implementation
NiuNiu MaTe
NiuNiu MaTe
Sep 28, 2021 · Backend Development

Master Go Unit Testing: From Basics to Mocking with GoConvey

This article explains what unit testing is, shows how to write Go unit tests using the testing package, demonstrates more expressive assertions with GoConvey, and introduces mock creation with mockery, providing practical code examples and best‑practice tips for backend developers.

GoGoConveyMocking
0 likes · 7 min read
Master Go Unit Testing: From Basics to Mocking with GoConvey
21CTO
21CTO
Sep 26, 2021 · Backend Development

How Baidu’s Hulk Framework Accelerates Go Service Development

The Hulk framework, built on GDP2, provides a business‑oriented Go web development platform with out‑of‑the‑box components, standardized architecture, rich observability, and tooling that together improve code quality, development speed, and SRE efficiency for large‑scale short‑video services.

BackendFrameworkGo
0 likes · 18 min read
How Baidu’s Hulk Framework Accelerates Go Service Development
Tencent Cloud Developer
Tencent Cloud Developer
Sep 22, 2021 · Backend Development

A Unified Approach to Error Handling in Go Backend Services

The article presents a unified error‑handling strategy for Go backend services that combines idiomatic internal checks, Go 1.13’s %w wrapping with errors.Is/As, and a compact 4‑character base‑36 hash code system to deliver consistent machine‑readable codes and user‑friendly messages while preserving full log details.

Code ExamplesGoerror propagation
0 likes · 16 min read
A Unified Approach to Error Handling in Go Backend Services
High Availability Architecture
High Availability Architecture
Sep 18, 2021 · Backend Development

Getty: A Layered Go Network Framework – Design, Optimization, and Performance Insights

Getty is a Go-based, layered network framework that provides data interaction, business control, and network layers with extensible monitoring interfaces, featuring custom SDKs, goroutine pool optimizations, lazy reconnection, sync.Pool tuning, and benchmark results demonstrating high throughput and low resource usage.

GettyGoNetwork Framework
0 likes · 25 min read
Getty: A Layered Go Network Framework – Design, Optimization, and Performance Insights
Qunar Tech Salon
Qunar Tech Salon
Sep 16, 2021 · Databases

Design and Implementation of a MySQL Slow‑Query Risk Scoring Model

This article presents a comprehensive approach to quantifying MySQL slow‑query risk by defining scoring items, establishing boundary values, applying various scoring functions, and integrating business‑level weighting, ultimately enabling proactive identification and remediation of high‑impact slow queries.

Database PerformanceGomysql
0 likes · 16 min read
Design and Implementation of a MySQL Slow‑Query Risk Scoring Model
HomeTech
HomeTech
Sep 15, 2021 · Backend Development

How ASF Simplifies gRPC‑to‑Go Migration and Boosts Service Governance

This article explains the AutoHome Service Framework (ASF), its architecture, how it enables seamless migration from gRPC to Go services, the added Dubbo‑go support, configuration optimizations, advanced load‑balancing strategies, observability enhancements, and future plans for adaptive balancing and zero‑downtime deployments.

ConfigurationGoMicroservices
0 likes · 18 min read
How ASF Simplifies gRPC‑to‑Go Migration and Boosts Service Governance
Architect
Architect
Sep 15, 2021 · Backend Development

C++/Go Backend Interview Experiences and Preparation Tips

This article shares a 985 graduate's personal background, systematic interview preparation for C++ and Go backend positions, detailed interview question collections from major tech companies, and practical advice on study resources, project presentation, and coding practice to help candidates succeed in technical interviews.

GoInterview Preparationbackend interview
0 likes · 14 min read
C++/Go Backend Interview Experiences and Preparation Tips
MaGe Linux Operations
MaGe Linux Operations
Sep 10, 2021 · Backend Development

10 Common Go Mistakes That Kill Performance and How to Fix Them

This article lists ten typical Go programming pitfalls—from undefined enum values and misleading benchmarks to pointer misuse, slice initialization, error handling, context misuse, and goroutine closures—explaining why they hurt performance or correctness and offering concrete, idiomatic solutions.

Error HandlingGobest practices
0 likes · 17 min read
10 Common Go Mistakes That Kill Performance and How to Fix Them
Amap Tech
Amap Tech
Aug 31, 2021 · Backend Development

Gaode's Go Application Migration: Architecture, Challenges, and Technical Practices

Gaode migrated its high‑traffic rendering gateway from Java to Go to halve machine usage, validate middleware stability, and prepare for cloud‑native transformation, overcoming correctness and availability challenges by creating a real‑time traffic‑comparison tool, sandbox stress tests, and a staged gray‑release, ultimately achieving about 50% cost reduction.

Gocloud-nativemiddleware
0 likes · 16 min read
Gaode's Go Application Migration: Architecture, Challenges, and Technical Practices
Ops Development Stories
Ops Development Stories
Aug 27, 2021 · Operations

Inside Prometheus Alerting Rules: How They’re Managed and Executed

This article explains Prometheus' custom Rule system, detailing the structure and components of alerting rules, the rule manager's loading and updating process, group scheduling, evaluation cycles, and the logic for generating, updating, and sending alerts, enabling advanced monitoring extensions.

Alerting RulesGoPrometheus
0 likes · 21 min read
Inside Prometheus Alerting Rules: How They’re Managed and Executed
Ops Development Stories
Ops Development Stories
Aug 26, 2021 · Backend Development

Master Real-Time Communication: Build WebSocket Apps in Go

This guide explains how WebSockets enable full‑duplex communication over a single TCP connection, compares popular Go WebSocket libraries, and provides complete client‑server code examples for TCP, UDP, and HTTP‑based WebSocket implementations, helping developers build real‑time applications such as chat, games, and monitoring tools.

GoGorillaNetwork programming
0 likes · 22 min read
Master Real-Time Communication: Build WebSocket Apps in Go
Laravel Tech Community
Laravel Tech Community
Aug 23, 2021 · Fundamentals

Pros and Cons of JavaScript, Haskell, Go, and PHP

This article compares four popular programming languages—JavaScript, Haskell, Go, and PHP—by outlining their key advantages such as rapid prototyping, functional features, simplicity, and ecosystem support, as well as their notable drawbacks including dynamic typing, steep learning curves, lack of generics, and quirky language behaviors.

GoHaskellJavaScript
0 likes · 10 min read
Pros and Cons of JavaScript, Haskell, Go, and PHP
Tencent Cloud Developer
Tencent Cloud Developer
Aug 23, 2021 · Backend Development

Performance Optimization Techniques for Go Standard Library

The article surveys a range of Go standard‑library performance tricks—from using sync.Pool and zero‑copy string/byte conversions to reducing lock contention, leveraging go:linkname, caching call‑frame data, optimizing cgo calls, employing custom epoll, SIMD, and occasional JIT—while urging profiling‑first, readability‑preserving optimizations.

Gocgosync.Pool
0 likes · 17 min read
Performance Optimization Techniques for Go Standard Library
21CTO
21CTO
Aug 20, 2021 · Backend Development

How the Hulk Framework Boosts Go Service Development and Operations

This article explains the background, design, components, ecosystem, and real‑world benefits of the Hulk Go web framework developed by the short‑video R&D team, showing how it improves development efficiency, code quality, performance, observability, and incident response for large‑scale microservices.

GoWeb frameworkobservability
0 likes · 19 min read
How the Hulk Framework Boosts Go Service Development and Operations
Laravel Tech Community
Laravel Tech Community
Aug 18, 2021 · Fundamentals

Go 1.17 Released: Compiler Improvements, New Architecture Support, Pruned Module Graphs, and Unsafe Utilities

Go 1.17 has been officially released, bringing a new function argument and result passing mechanism that improves performance by about 5%, reduces amd64 binary size by 2%, adds Windows ARM64 support, introduces pruned module graphs, and adds language features such as slice‑to‑array pointer conversion and unsafe.Add/Slice utilities.

Golanguage featuresrelease
0 likes · 3 min read
Go 1.17 Released: Compiler Improvements, New Architecture Support, Pruned Module Graphs, and Unsafe Utilities
Baidu Geek Talk
Baidu Geek Talk
Aug 18, 2021 · Backend Development

Hulk: A Go Web Service Framework for Short‑Video Backend Development

Hulk is a Go‑based web service framework created by the short‑video R&D team to replace a PHP monolith, extending the unreleased GDP2 platform with business‑specific wrappers, a four‑layer architecture, and integrated monitoring, tracing, and deployment tools that dramatically boost development speed, runtime performance, and SRE efficiency for high‑traffic short‑video services.

BackendDevOpsFramework
0 likes · 18 min read
Hulk: A Go Web Service Framework for Short‑Video Backend Development
Cloud Native Technology Community
Cloud Native Technology Community
Aug 17, 2021 · Backend Development

6 Essential Go Tricks to Boost Your Backend Development

This article presents six practical Go techniques—including loop labels for prime number generation, IP address conversion, octal UTF‑8 decoding, a lightweight HTTP utility library, a concise debug logging helper, and a Go‑based httpbin replacement—complete with code examples, usage notes, and visual results.

BackendGoGolang
0 likes · 11 min read
6 Essential Go Tricks to Boost Your Backend Development
Tencent Cloud Developer
Tencent Cloud Developer
Aug 4, 2021 · Fundamentals

Golang Garbage Collection: Algorithms, Memory Management, and Evolution

The article details Go’s runtime memory architecture—including pages, spans, mcache, and size classes—and explains its non‑generational concurrent tri‑color mark‑and‑sweep garbage collector, the required write‑barrier techniques, and the collector’s evolution, phases, trigger mechanisms, and practical code examples across Go 1.0‑1.16.

Concurrent MarkingGarbage CollectionGo
0 likes · 30 min read
Golang Garbage Collection: Algorithms, Memory Management, and Evolution
360 Tech Engineering
360 Tech Engineering
Aug 3, 2021 · Fundamentals

Common Go Pitfalls: Loop Variable Capture, := Scope, Goroutine Pools, and Struct Memory Alignment

This article examines several subtle Go programming issues—including unexpected loop variable addresses, the scope nuances of the := operator, proper handling of goroutine concurrency with worker pools, and how struct field ordering affects memory alignment—providing code examples and practical solutions to avoid these pitfalls.

GoGoroutineLoop Variable
0 likes · 15 min read
Common Go Pitfalls: Loop Variable Capture, := Scope, Goroutine Pools, and Struct Memory Alignment
21CTO
21CTO
Jul 30, 2021 · Backend Development

Why Choose Go? Performance Boosts, Development Speed, and Top Companies Using It

The article explains why Go is gaining popularity, highlighting its superior execution performance, high development efficiency, and extensive adoption by leading companies in cloud infrastructure, microservices, and open‑source projects such as Docker, Kubernetes, and many Chinese tech firms.

Cloud NativeGo
0 likes · 14 min read
Why Choose Go? Performance Boosts, Development Speed, and Top Companies Using It
Tencent Cloud Developer
Tencent Cloud Developer
Jul 27, 2021 · Backend Development

Comprehensive Guide to Go Unit Testing: Tools, Mocking, and Dependency Management

This guide explains Go’s built‑in testing framework, assertion libraries, table‑driven and sub‑tests, and demonstrates how to mock functions, structs, interfaces, databases, and Redis using tools such as ngmock, gomock, sqlmock and miniredis, while covering test setup, teardown, coverage handling, and best‑practice insights.

GoMockSQLite
0 likes · 21 min read
Comprehensive Guide to Go Unit Testing: Tools, Mocking, and Dependency Management
Java Interview Crash Guide
Java Interview Crash Guide
Jul 24, 2021 · Backend Development

Mastering Rate Limiting in Go: Algorithms, Implementations, and Best Practices

This article explains why rate limiting is essential for high‑availability services, describes HTTP 429 standards and response headers, classifies rate‑limiting strategies by granularity, target, and algorithm, and provides detailed Go code examples using the time/rate library for fixed‑window, sliding‑window, leaky‑bucket, and token‑bucket implementations.

BackendGoToken Bucket
0 likes · 28 min read
Mastering Rate Limiting in Go: Algorithms, Implementations, and Best Practices
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Jul 20, 2021 · Backend Development

From Non‑Tech Student to Cloud MVP: Go, AI, and Startup Insights

In this interview, Huawei Cloud MVP Wang Ming shares how a non‑computer‑science background led him to a successful IT career, discusses the advantages of interdisciplinary skills, offers entrepreneurship advice, predicts future tech trends, and explains the key concepts of his popular Go concurrency book.

Artificial IntelligenceBig DataEntrepreneurship
0 likes · 7 min read
From Non‑Tech Student to Cloud MVP: Go, AI, and Startup Insights
Liangxu Linux
Liangxu Linux
Jul 18, 2021 · Backend Development

Master Bulk File Renaming with F2: Install, Commands, and Tips

F2 is a fast, safe Go‑based command‑line tool for batch renaming files and folders on Linux, macOS, and Windows, offering multiple installation methods, preview mode, undo, conflict resolution, built‑in variables, and powerful regex‑driven rename examples.

Batch ProcessingCLIFile Renaming
0 likes · 7 min read
Master Bulk File Renaming with F2: Install, Commands, and Tips
Alibaba Cloud Native
Alibaba Cloud Native
Jul 14, 2021 · Cloud Native

What Is Pixiu? A Cloud‑Native API Gateway for Dubbo‑Go Explained

Pixiu is a Golang‑based, cloud‑native API gateway built on dubbo‑go that bridges RESTful and Dubbo services, offering high performance, extensibility, and easy configuration through Listener, Router, Filters, and Client modules, with roadmap plans for gRPC, mesh integration, and more.

Cloud NativeDubboGo
0 likes · 12 min read
What Is Pixiu? A Cloud‑Native API Gateway for Dubbo‑Go Explained
Tencent Cloud Middleware
Tencent Cloud Middleware
Jul 13, 2021 · Backend Development

Why Kratos Is the Go Microservice Framework You Need: Protobuf, DI, and OpenTelemetry Explained

This article introduces the lightweight Go microservice framework Kratos, covering its Protobuf‑driven API design, open and extensible architecture, logging and tracing integrations, functional‑option configuration, unified error model, and compile‑time dependency injection with code examples and diagrams.

GoKratosMicroservices
0 likes · 18 min read
Why Kratos Is the Go Microservice Framework You Need: Protobuf, DI, and OpenTelemetry Explained
Liangxu Linux
Liangxu Linux
Jul 12, 2021 · Fundamentals

Turn Any Image into ASCII Art on Linux with Ascii Image Converter

This guide explains how to install the Go‑based Ascii Image Converter on Linux, use it to transform JPEG, PNG, BMP, WEBP, or TIFF files (or URLs) into monochrome or colored ASCII art, and customize output size, character sets, and saving options.

ASCII artGoLinux
0 likes · 5 min read
Turn Any Image into ASCII Art on Linux with Ascii Image Converter
Laravel Tech Community
Laravel Tech Community
Jul 7, 2021 · Backend Development

gout – Go HTTP Client Library Overview

The gout library is a Go‑based HTTP client that offers extensive request configuration, body encoding, response parsing, benchmarking, retry logic, raw packet sending, curl export, and custom client injection, with recent updates adding a WithTimeout option and improved handling of empty values.

GoHTTP clientbackend-development
0 likes · 3 min read
gout – Go HTTP Client Library Overview
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 2, 2021 · Backend Development

Exploring Optimizations for Proactive In-Memory Cache Architecture in Golang

At Gopher China 2021, Go expert Yang Le Duo presented a detailed exploration of a proactive in‑memory cache architecture, describing how his team tackled real‑time data, complex queries, hot‑cold data swapping, and language constraints to improve performance and developer productivity in large‑scale streaming applications.

CacheGoIn-Memory
0 likes · 3 min read
Exploring Optimizations for Proactive In-Memory Cache Architecture in Golang
Liangxu Linux
Liangxu Linux
Jun 27, 2021 · Backend Development

How to Process a 16 GB Log File in Seconds with Go

This tutorial explains how to extract logs from a 16 GB file in about 25 seconds by reading the file in chunks, reusing buffers with sync.Pool, and processing those chunks concurrently with Go goroutines, avoiding full‑memory loads or slow line‑by‑line scans.

File ProcessingGoconcurrency
0 likes · 9 min read
How to Process a 16 GB Log File in Seconds with Go
21CTO
21CTO
Jun 20, 2021 · Fundamentals

Will Python’s Reign End? Analyzing Its Rise, Weaknesses, and Future Competitors

Despite Python’s explosive growth since 2010 and its dominance across data science, AI, and general programming, this article examines the language’s strengths—maturity, readability, extensive libraries—and its drawbacks such as speed, dynamic scope, and limited mobile support, while exploring whether emerging languages like Rust, Go, or Julia might eventually replace it.

Future TrendsGoJulia
0 likes · 10 min read
Will Python’s Reign End? Analyzing Its Rise, Weaknesses, and Future Competitors
Ops Development Stories
Ops Development Stories
Jun 16, 2021 · Backend Development

How Raft Achieves Consensus: Leader Election, Log Replication, and State Machine Explained

This article explains the core mechanisms of the Raft consensus algorithm—including leader election, log replication, safety guarantees, message structures, state transitions, and key Go implementations in etcd-raft—providing code examples and detailed analysis of functions such as becomeLeader, tickElection, and appendEntry.

ConsensusDistributed SystemsGo
0 likes · 21 min read
How Raft Achieves Consensus: Leader Election, Log Replication, and State Machine Explained
Laravel Tech Community
Laravel Tech Community
Jun 15, 2021 · Fundamentals

Pros and Cons of Five Popular Programming Languages: JavaScript, Haskell, Go, PHP, and Elixir

This article compares five widely used programming languages—JavaScript, Haskell, Go, PHP, and Elixir—by outlining each language’s major advantages such as rapid prototyping, strong type systems, performance, and ecosystem support, as well as notable drawbacks including dynamic typing quirks, steep learning curves, and limited language features.

ElixirGoHaskell
0 likes · 12 min read
Pros and Cons of Five Popular Programming Languages: JavaScript, Haskell, Go, PHP, and Elixir
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 7, 2021 · Databases

Generating SQL Fingerprints with TiDB SQL Parser

This article explains how to use the TiDB SQL parser to create custom SQL fingerprints by traversing the abstract syntax tree, replacing literal values with placeholders, and restoring the modified tree back to SQL, offering a more maintainable alternative to string‑based approaches.

GoSQL ParserSQL fingerprint
0 likes · 6 min read
Generating SQL Fingerprints with TiDB SQL Parser
Tencent Cloud Developer
Tencent Cloud Developer
Jun 3, 2021 · Backend Development

Understanding Go's Memory Allocation: From Assembly Debugging to Runtime Components

The article walks through Go’s memory allocator by first demonstrating assembly‑level debugging with Delve, then detailing its TCMalloc‑inspired design where tiny, small, and large objects follow distinct paths through per‑P caches, central spans, and the global heap, highlighting the roles of mcache, mcentral, mspan, and mheap.

AssemblyGodebugging
0 likes · 28 min read
Understanding Go's Memory Allocation: From Assembly Debugging to Runtime Components
TiPaiPai Technical Team
TiPaiPai Technical Team
May 28, 2021 · Backend Development

Mastering Go’s Context: Cancellation, Timeouts, and Value Propagation

This article explains Go’s context package, covering its purpose for managing goroutine lifecycles, the key interfaces and implementations such as emptyCtx, cancelCtx, timerCtx, and valueCtx, and demonstrates how to use WithCancel, WithDeadline, WithTimeout, and WithValue to control execution, propagate cancellations, and pass values across call chains.

GoTimeoutcancellation
0 likes · 12 min read
Mastering Go’s Context: Cancellation, Timeouts, and Value Propagation
21CTO
21CTO
May 26, 2021 · Fundamentals

How Ken Thompson’s Playful Hacks Forged UNIX, C, and Go

Ken Thompson, a Turing Award laureate, transformed computing by pioneering generic operating system theory, co‑creating UNIX after a failed Multics project, inventing the C language, and later shaping Google’s Go language, all while embodying the hacker spirit of curiosity and fun.

C languageGoKen Thompson
0 likes · 11 min read
How Ken Thompson’s Playful Hacks Forged UNIX, C, and Go
360 Tech Engineering
360 Tech Engineering
May 24, 2021 · Cloud Native

Understanding the Calico CNI Plugin: Code Walkthrough and Network Resource Creation

This article provides a detailed walkthrough of the Calico CNI plugin source code, explaining how the calico and calico‑ipam binaries are built, how the ADD command creates WorkloadEndpoint objects, veth pairs, routes, and sysctl settings, and how these components integrate with the Calico datastore in a Kubernetes environment.

CNICalicoContainerNetworking
0 likes · 16 min read
Understanding the Calico CNI Plugin: Code Walkthrough and Network Resource Creation
MaGe Linux Operations
MaGe Linux Operations
May 22, 2021 · Backend Development

Why Khan Academy Switched 500K Lines from Python to Go

Khan Academy’s Goliath project migrated over 500,000 lines of backend code from Python 2 to Go, citing performance, fast compilation, better tooling, and developer preference, while also discussing the challenges of Python’s EOL and the role of generics in Go.

GoGoliathKhan Academy
0 likes · 3 min read
Why Khan Academy Switched 500K Lines from Python to Go
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 21, 2021 · Fundamentals

Nim Game: Problem Statement, Analysis, Solution, and Proof

This article explains the classic Nim game where two players alternately remove 1‑3 stones from a pile, presents the LeetCode‑style problem of determining if the first player can force a win, analyzes the pattern of losing positions, provides a concise Go solution, and offers a formal proof based on game theory.

Game TheoryGoNIM
0 likes · 5 min read
Nim Game: Problem Statement, Analysis, Solution, and Proof
Tencent Music Tech Team
Tencent Music Tech Team
May 13, 2021 · Backend Development

Performance Optimization and Profiling of Go Services Using pprof and trace

The article outlines why high‑load Go services need performance tuning and presents a systematic workflow—preparation, analysis with Linux tools and Go’s pprof/trace, targeted optimizations such as goroutine pooling, Redis MSET, efficient JSON handling and slice resizing—demonstrating how these changes boost throughput, lower latency, and stabilize memory usage while offering broader Go‑specific best‑practice recommendations.

GoLinuxProfiling
0 likes · 25 min read
Performance Optimization and Profiling of Go Services Using pprof and trace
vivo Internet Technology
vivo Internet Technology
May 12, 2021 · Backend Development

Understanding RTMP Protocol and Livego Source Code Analysis

The article explains RTMP’s multiplexed, packetized streaming over TCP, detailing its chunk structure, message types, handshake, and connection workflow, then demonstrates livego’s publishing and pulling processes, discusses typical latency sources, and offers mitigation strategies and reference resources for developers.

GoLivegoRTMP
0 likes · 28 min read
Understanding RTMP Protocol and Livego Source Code Analysis
Sohu Tech Products
Sohu Tech Products
May 5, 2021 · Backend Development

Implementing Optimistic Locking in Go with GORM

This article explains how to implement optimistic locking in Go using GORM by adding a version field, writing raw SQL updates, creating a reusable wrapper function with retry logic, and leveraging interfaces and type assertions to handle concurrency safely.

GORMGooptimistic lock
0 likes · 7 min read
Implementing Optimistic Locking in Go with GORM
21CTO
21CTO
Apr 30, 2021 · Fundamentals

How Ken Thompson’s Quest for Fun Shaped UNIX, C, and Go

Ken Thompson’s remarkable journey—from early fascination with binary numbers, through winning the Turing Award, building UNIX at Bell Labs, influencing the creation of C, co‑designing Go at Google, and even piloting a MiG‑29—illustrates how curiosity and playfulness can drive lasting innovations in computer science.

C languageGoKen Thompson
0 likes · 12 min read
How Ken Thompson’s Quest for Fun Shaped UNIX, C, and Go
Alibaba Cloud Native
Alibaba Cloud Native
Apr 28, 2021 · Backend Development

How Seata‑Golang Enables Distributed Transactions in Go Microservices

This article introduces Seata, a high‑performance open‑source distributed transaction solution, explains the Seata‑Golang 1.0.0 release and its demo at a Go meetup, details the core AT‑mode architecture, describes the MySQL driver that integrates Seata‑Golang, and outlines future plans for broader database support.

BackendDistributed TransactionsGo
0 likes · 7 min read
How Seata‑Golang Enables Distributed Transactions in Go Microservices
Programmer DD
Programmer DD
Apr 19, 2021 · Backend Development

Inside 12306’s High‑Concurrency Ticket System: Architecture, Load Balancing & Go Demo

This article dissects how China’s 12306 ticket platform handles millions of simultaneous requests by using layered load balancing, distributed clustering, Nginx weighted round‑robin, Redis‑based pre‑deduction, and a Go implementation that demonstrates local and remote stock deduction, performance testing, and fault‑tolerant design.

Godistributed architecturehigh concurrency
0 likes · 21 min read
Inside 12306’s High‑Concurrency Ticket System: Architecture, Load Balancing & Go Demo
MaGe Linux Operations
MaGe Linux Operations
Apr 10, 2021 · Backend Development

Can Java Microservices Match Go’s Speed? Benchmark Results Revealed

Through a series of benchmark tests comparing simple, logging‑enabled microservices written in Java (Helidon) and Go (Go‑Kit), the authors evaluate whether Java can achieve Go‑like performance, exploring JVM tuning, GraalVM native images, and Kubernetes deployments to uncover speed, memory, and scalability trade‑offs.

GoKubernetesMicroservices
0 likes · 18 min read
Can Java Microservices Match Go’s Speed? Benchmark Results Revealed
MaGe Linux Operations
MaGe Linux Operations
Apr 8, 2021 · Backend Development

Why We Skipped Docker: Building Deployable Go Binaries in Minutes

Instead of Docker, we leveraged Go 1.16’s //embed feature to create a single binary for our web service, detailing the rapid build, test, and deployment steps, and arguing that Docker’s overhead isn’t necessary for small teams focused on fast delivery.

DeploymentGobackend-development
0 likes · 4 min read
Why We Skipped Docker: Building Deployable Go Binaries in Minutes
Ops Development Stories
Ops Development Stories
Apr 2, 2021 · Information Security

Mastering Casbin: Build Secure RBAC in Go with Gin and Gorm

This article explains what Casbin is, how its PERM model works, and provides a step‑by‑step guide to integrate Casbin’s RBAC authorization into a Go project using Gin, Gorm, and a MySQL adapter, including model configuration, policy storage, middleware enforcement, and verification.

CasbinGORMGin
0 likes · 13 min read
Mastering Casbin: Build Secure RBAC in Go with Gin and Gorm
Alibaba Cloud Native
Alibaba Cloud Native
Mar 31, 2021 · Operations

What Is OpenTelemetry? A Deep Dive into Its Architecture, History, and Go Demo

OpenTelemetry, a CNCF observability project, standardizes telemetry data models, collection, processing, and export, offering vendor‑agnostic APIs, SDKs, and a configurable collector; the article explains its problem domain, solution components, history, future outlook, and provides a practical Go demo with code and configuration examples.

CNCFCollectorGo
0 likes · 11 min read
What Is OpenTelemetry? A Deep Dive into Its Architecture, History, and Go Demo