Tagged articles

Go

1784 articles · Page 2 of 18
DevOps Coach
DevOps Coach
Apr 26, 2026 · Backend Development

Forget Kafka: A Lightweight Go Queue Achieves 2 Million Messages per Second

The article analyzes how replacing Kafka with a simple in‑memory Go queue reduced architectural complexity, boosted throughput from 240‑330 K to 1.8‑2.0 M messages per second, and clarified debugging, while still acknowledging scenarios where Kafka remains the better choice.

Backend PerformanceGoIn‑Memory Ring Buffer
0 likes · 8 min read
Forget Kafka: A Lightweight Go Queue Achieves 2 Million Messages per Second
Black & White Path
Black & White Path
Apr 25, 2026 · Information Security

Analyzing an AI‑Developed C2 Remote‑Access Trojan Framework

The article details an AI‑crafted C2 remote‑access trojan framework hosted at 101.32.128[.]36:8443, describing its Go implant, Python listener, PowerShell stager, custom 443‑based encryption, Telegram bot exfiltration, the payload delivery chain via paste.rs and GitHub Gist, and provides sample hashes for the binaries.

C2GoMalware Analysis
0 likes · 2 min read
Analyzing an AI‑Developed C2 Remote‑Access Trojan Framework
TonyBai
TonyBai
Apr 23, 2026 · Artificial Intelligence

Why a HashiCorp Founder Says AI Made Him Re‑Love Go

The article examines Mitchell Hashimoto’s reversal on Go, showing how AI agents turn the language’s once‑criticized ergonomics and simplicity into strengths, and why both Hashimoto and Wes McKinney now view Go—often paired with Zig—as the optimal platform for AI‑driven software engineering.

AI agentsGoLLM
0 likes · 14 min read
Why a HashiCorp Founder Says AI Made Him Re‑Love Go
Tech Musings
Tech Musings
Apr 22, 2026 · Fundamentals

Go Standard Library Adds UUID Support with a Streamlined V4/V7 API

The Go team introduced a new uuid package to the standard library, offering lightweight functions for generating, parsing, serializing, and comparing UUID version 4 and version 7 values, integrating with database/sql, using a [16]byte type compatible with google/uuid, and providing detailed design rationale, implementation details, and a comparison with the existing third‑party library.

API designGoUUID
0 likes · 11 min read
Go Standard Library Adds UUID Support with a Streamlined V4/V7 API
Golang Shines
Golang Shines
Apr 22, 2026 · Artificial Intelligence

How to Build AI Agents with ADK-Go in Go

This guide walks through installing ADK-Go, configuring a simple LLM agent, handling model selection and errors, leveraging Google Search and custom function tools, and orchestrating complex workflows with SequentialAgent, LoopAgent, and ParallelAgent, all illustrated with concrete Go code examples and output.

ADKAI AgentAgent Types
0 likes · 25 min read
How to Build AI Agents with ADK-Go in Go
Go Development Architecture Practice
Go Development Architecture Practice
Apr 20, 2026 · Backend Development

Mastering Go Error Handling: From Basics to Advanced Patterns

This article explains why error handling is crucial in Go, demonstrates the language's explicit error model, walks through basic error representation, return and checking, introduces custom error types, error wrapping, error chains, best‑practice guidelines, and centralised handling patterns with concrete code examples.

Error handlingGobest practices
0 likes · 14 min read
Mastering Go Error Handling: From Basics to Advanced Patterns
Go Development Architecture Practice
Go Development Architecture Practice
Apr 20, 2026 · Fundamentals

Why Go Struct Pointers Boost Performance: Deep Dive and Best Practices

This article explains how Go struct pointers work, compares value and pointer passing with concrete code examples, demonstrates memory and speed benefits for large structs, shows how to use pointers in function parameters and interfaces, and provides best‑practice guidelines and a real‑world case study showing up to 70% memory savings and 40% speed gains.

GoMemory Efficiencybest practices
0 likes · 9 min read
Why Go Struct Pointers Boost Performance: Deep Dive and Best Practices
Golang Shines
Golang Shines
Apr 19, 2026 · Backend Development

Mastering Go Modules and Packages: A Complete Guide

This article explains Go's built‑in, custom, and third‑party packages, introduces the go mod tool with init and other commands, shows how to create and import custom packages (including aliasing and anonymous imports), describes the init() function execution order, and covers using third‑party modules and essential Go commands such as build, install, get, doc, test, list and fix.

GoGo commandsgo-mod
0 likes · 10 min read
Mastering Go Modules and Packages: A Complete Guide
Golang Shines
Golang Shines
Apr 18, 2026 · Backend Development

Master Beego: Build High‑Performance Go Web Apps from Scratch

This article presents a comprehensive Chinese guide to the Beego framework, covering installation, configuration, routing, controllers, models, views, advanced features, deployment options, and real‑world examples, making it a practical resource for Go backend developers at any skill level.

Backend DevelopmentGoMVC
0 likes · 6 min read
Master Beego: Build High‑Performance Go Web Apps from Scratch
Golang Shines
Golang Shines
Apr 16, 2026 · Backend Development

Go Error Handling Best Practices: From Basics to Advanced

The article explains why proper error handling is crucial for reliable Go programs, describes Go's explicit error return model, demonstrates basic techniques, introduces custom error types, error wrapping and chaining introduced in Go 1.13, outlines best‑practice guidelines, and reviews popular libraries and centralised patterns.

Error handlingGobest practices
0 likes · 12 min read
Go Error Handling Best Practices: From Basics to Advanced
TonyBai
TonyBai
Apr 16, 2026 · Backend Development

Why Go’s ‘go’ Statement Is the New Goto and How Four Rules Tame Runaway Goroutines

The article analyzes how Go’s cheap ‘go’ keyword, while democratizing concurrency, creates fire‑and‑forget pitfalls that lead to resource leaks, deadlocks, and testing headaches, and presents a research‑backed structured‑concurrency discipline defined by four concrete principles, code patterns, and a community library.

ErrGroupGoGoroutine
0 likes · 16 min read
Why Go’s ‘go’ Statement Is the New Goto and How Four Rules Tame Runaway Goroutines
Ray's Galactic Tech
Ray's Galactic Tech
Apr 14, 2026 · Backend Development

How Go Microservices Pay a Hidden Performance Tax—and How to Eliminate It

This article examines the often‑overlooked performance “tax” in Go microservices, detailing how misuse of goroutines, channels, interfaces, object allocation, and fan‑out patterns inflates CPU, memory, and tail‑latency costs, and provides concrete engineering strategies—such as request‑level concurrency limits, bulkheads, and efficient logging—to achieve production‑grade scalability.

GCGoMicroservices
0 likes · 40 min read
How Go Microservices Pay a Hidden Performance Tax—and How to Eliminate It
Golang Shines
Golang Shines
Apr 14, 2026 · Cloud Native

Is Go Still the Cloud‑Native Language of Choice in 2026? Consolidation and New Challenges

The article examines why Go remains dominant in core cloud‑native infrastructure in 2026—thanks to its static compilation, low memory footprint, and mature ecosystem—while highlighting emerging competition from Rust in high‑performance data planes and Python in AI workloads, and outlines Go’s recent evolutions such as generics, scheduler enhancements, and native observability.

Cloud NativeGoObservability
0 likes · 9 min read
Is Go Still the Cloud‑Native Language of Choice in 2026? Consolidation and New Challenges
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Apr 13, 2026 · Artificial Intelligence

How to Speed Up Bulk Vector Searches with CLI and SDK Concurrency

This guide explains how to dramatically reduce latency for batch semantic search, RAG multi‑path retrieval, and multimodal vector queries by running multiple OSS Vectors embed requests in parallel using CLI‑based, xargs, shell background jobs, Python asyncio, and SDK‑level concurrency techniques.

CLIGoOSS
0 likes · 21 min read
How to Speed Up Bulk Vector Searches with CLI and SDK Concurrency
Go Development Architecture Practice
Go Development Architecture Practice
Apr 13, 2026 · Backend Development

Why FastCache Is the Go Developer’s Secret Weapon for Ultra‑Fast, Zero‑GC Local Caching

FastCache, an open‑source Go in‑memory cache from the VictoriaMetrics team, delivers extreme speed, zero garbage‑collector pressure, and built‑in thread safety through a shard‑bucket design, while offering a five‑method API that lets developers cache massive key‑value data with minimal configuration, making it ideal for high‑concurrency services and low‑latency workloads.

FastCacheGoLocal Cache
0 likes · 7 min read
Why FastCache Is the Go Developer’s Secret Weapon for Ultra‑Fast, Zero‑GC Local Caching
TonyBai
TonyBai
Apr 11, 2026 · Fundamentals

Go Command Working Group Forms: Decade-Old Commands Facing Deprecation

The newly created Go Command Working Group is proposing to retire long‑standing commands like "go list ..." and the GO111MODULE=auto setting, and to simplify go.mod version numbers, marking a quiet but far‑reaching overhaul of the Go toolchain.

GO111MODULEGodeprecation
0 likes · 11 min read
Go Command Working Group Forms: Decade-Old Commands Facing Deprecation
Ray's Galactic Tech
Ray's Galactic Tech
Apr 10, 2026 · Backend Development

Building a Production‑Ready Go Function Calling Server: Architecture, Design, and Best Practices

This article explains why Function Calling requires a robust server‑side architecture, walks through a real e‑commerce use case, details the Go‑based protocol, modular design, concurrency handling, security, observability, deployment strategies, testing approaches, and a step‑by‑step roadmap for turning a demo into a production‑grade system.

Function CallingGobackend-architecture
0 likes · 37 min read
Building a Production‑Ready Go Function Calling Server: Architecture, Design, and Best Practices
Golang Shines
Golang Shines
Apr 9, 2026 · Fundamentals

Why Go’s Error Handling Can’t Use Zig‑Style “try”

The article examines why Go does not adopt Zig’s concise ‘try’ syntax for error handling, analyzing differences in error type design, compiler checks, compatibility constraints, and the trade‑offs between explicit control flow and language ergonomics, and offers practical Go‑centric alternatives.

Error handlingGoZig
0 likes · 8 min read
Why Go’s Error Handling Can’t Use Zig‑Style “try”
TonyBai
TonyBai
Apr 9, 2026 · Industry Insights

Rust Developers Petition for a Bigger Standard Library: Should Go Be the Model?

A heated community debate sparked by a Rust forum post questions the language’s minimal std library, arguing that reliance on numerous third‑party crates creates supply‑chain risks, and contrasts Rust’s “small core, strong ecosystem” approach with Go’s comprehensive “batteries‑included” standard library, while exploring possible compromises.

Gocrates.iolanguage design
0 likes · 11 min read
Rust Developers Petition for a Bigger Standard Library: Should Go Be the Model?
Golang Shines
Golang Shines
Apr 8, 2026 · Backend Development

Deep Dive into FastCache: High‑Performance Local Cache for Go

FastCache is an open‑source Go local‑cache library that delivers extreme speed, zero GC pressure, thread safety, and a five‑method API, making it ideal for high‑concurrency services while providing clear usage guidelines, pitfalls, and suitable scenarios.

FastCacheGoHigh concurrency
0 likes · 6 min read
Deep Dive into FastCache: High‑Performance Local Cache for Go
Golang Shines
Golang Shines
Apr 4, 2026 · Fundamentals

Understanding Go Functions, Methods, Interfaces, and Core Commands

This article explains Go's function syntax, closures, method definitions on structs, interface mechanics, and provides a concise overview of essential Go commands such as build, install, get, doc, test, list, and fix, illustrated with code examples and output results.

FunctionsGoGo commands
0 likes · 11 min read
Understanding Go Functions, Methods, Interfaces, and Core Commands
Ray's Galactic Tech
Ray's Galactic Tech
Apr 3, 2026 · Backend Development

How to Master Go Module Management for Scalable Distributed Systems

This comprehensive guide explains why Go module management is an architectural concern in distributed systems, outlines real‑world e‑commerce scenarios, details the underlying mechanisms like MVS, and provides practical strategies—including repository layout, versioning, CI/CD checks, Docker optimizations, and common pitfalls—to evolve from a chaotic setup to a well‑governed, production‑ready environment.

CI/CDGoMicroservices
0 likes · 35 min read
How to Master Go Module Management for Scalable Distributed Systems
Black & White Path
Black & White Path
Apr 3, 2026 · Information Security

Can You Trust ps, netstat, and ss on a Compromised Linux Host? Meet LinIR

The article examines why traditional Linux commands like ps, netstat, and ss cannot be trusted on a potentially root‑kit‑infected system, introduces the LinIR tool that collects forensic data without relying on the host's user‑space toolchain, and compares it against manual scripts, other automation tools, and commercial EDR solutions.

GoLinIRLinux incident response
0 likes · 14 min read
Can You Trust ps, netstat, and ss on a Compromised Linux Host? Meet LinIR
Ray's Galactic Tech
Ray's Galactic Tech
Apr 1, 2026 · Backend Development

Error Handling in Go Gin: Unified Responses for High Concurrency

This article presents a comprehensive, production‑grade error‑handling framework for Go services using Gin, covering error classification, unified response contracts, middleware ordering, stack trace management, high‑concurrency performance considerations, and practical code examples that integrate logging, tracing, retry, and circuit‑breaker strategies to improve observability and system stability.

Error handlingGinGo
0 likes · 33 min read
Error Handling in Go Gin: Unified Responses for High Concurrency
Linux Tech Enthusiast
Linux Tech Enthusiast
Apr 1, 2026 · Operations

Nali – Go‑Based Open‑Source CLI for Offline IP and CDN Lookup

Nali is a Go‑rewritten open‑source terminal tool that lets you query IPv4/IPv6 geolocation and CDN provider information offline using multiple databases, supports pipe processing and interactive mode, and can be installed from source or pre‑compiled binaries with configurable environment variables.

CLIGeoIPGo
0 likes · 11 min read
Nali – Go‑Based Open‑Source CLI for Offline IP and CDN Lookup
Ray's Galactic Tech
Ray's Galactic Tech
Mar 31, 2026 · Artificial Intelligence

From Single-Node RAG to Scalable Go AI Services: A Hands‑On Architecture Blueprint

This comprehensive guide walks Go engineers through the evolution from a prototype Retrieval‑Augmented Generation (RAG) service to a production‑grade, distributed AI platform, covering architecture, component boundaries, caching strategies, async indexing, observability, security, and step‑by‑step deployment.

AI ArchitectureBackend DevelopmentGo
0 likes · 42 min read
From Single-Node RAG to Scalable Go AI Services: A Hands‑On Architecture Blueprint
Code Wrench
Code Wrench
Mar 31, 2026 · Artificial Intelligence

How LocalAI Turns LLMs into Fully‑Featured Agents with Async SSE and Multi‑Tenant Isolation

This article deep‑dives into LocalAI’s source code, revealing how YAML‑defined agents are transformed into Go‑based concurrent engines, how an asynchronous SSE lifecycle stream replaces simple token streaming, and how state tracking and multi‑tenant isolation enable robust, production‑grade AI programming assistants.

AsynchronousGoLocalAI
0 likes · 7 min read
How LocalAI Turns LLMs into Fully‑Featured Agents with Async SSE and Multi‑Tenant Isolation
Ray's Galactic Tech
Ray's Galactic Tech
Mar 30, 2026 · Backend Development

Build a Production-Ready Go Microservice with Gin: Architecture & Scaling

This comprehensive guide walks through designing, implementing, and operating a production-grade Go microservice using Gin, covering architecture layers, domain modeling, reliable messaging, observability, CI/CD pipelines, GitOps deployment, high‑concurrency safeguards, security measures, and best‑practice testing to ensure stability, scalability, and maintainability in real‑world e‑commerce scenarios.

CI/CDGinGo
0 likes · 58 min read
Build a Production-Ready Go Microservice with Gin: Architecture & Scaling
TonyBai
TonyBai
Mar 30, 2026 · Backend Development

How Request Hedging Cuts Go HTTP Client P99 Latency by 74%

The article explains why tail latency hurts microservices, why simple retries fail, and how implementing Google’s request‑hedging technique in Go’s http.Client can slash P99 latency by about 64% while incurring only a modest P50 increase.

GoHTTP ClientMicroservices
0 likes · 17 min read
How Request Hedging Cuts Go HTTP Client P99 Latency by 74%
Tech Musings
Tech Musings
Mar 27, 2026 · Backend Development

Why Go’s database/sql Deadlock Needed a New closingMutex and How It Works

Go’s database/sql package can deadlock when a Scan holds a read lock, a cancelled context triggers Close, and Columns attempts another read lock, but the new closingMutex introduced in Go’s source replaces the generic sync.RWMutex to allow reads during pending writes, preventing the deadlock.

DeadlockGoclosingMutex
0 likes · 16 min read
Why Go’s database/sql Deadlock Needed a New closingMutex and How It Works
Go Development Architecture Practice
Go Development Architecture Practice
Mar 27, 2026 · Backend Development

Exploring Gin 1.12: BSON Support, Enhanced Context, Flexible Binding, and Protobuf Negotiation

The article walks through Gin 1.12's new features—including native BSON handling for MongoDB, type‑safe context error methods, custom binding for dates and enums, raw‑path routing, colored latency logs, and automatic Protobuf/JSON negotiation—showing practical code examples and upgrade recommendations for microservice development.

BSONContextGin
0 likes · 10 min read
Exploring Gin 1.12: BSON Support, Enhanced Context, Flexible Binding, and Protobuf Negotiation
Code Wrench
Code Wrench
Mar 27, 2026 · Artificial Intelligence

Building and Understanding LocalAI Agents: From YAML Config to Source Code

This tutorial walks through creating a custom LocalAI Agent with a simple YAML file, invoking it via the API, and then dives into the Go source code that registers routes, handles asynchronous chat requests, and manages agent state and memory for multi‑turn, tool‑driven interactions.

AI agentsGoLocalAI
0 likes · 7 min read
Building and Understanding LocalAI Agents: From YAML Config to Source Code
Ray's Galactic Tech
Ray's Galactic Tech
Mar 26, 2026 · Backend Development

Why Go + PostgreSQL + sqlc Is the Secret to High‑Concurrency Backend Architecture

This article explains how combining Go, PostgreSQL, and sqlc creates a Zero‑ORM architecture that restores SQL to the center of high‑performance, highly controllable, and maintainable backend services, covering design principles, layer responsibilities, schema and query patterns, connection‑pool tuning, transaction handling, observability, and practical best‑practice checklists.

Database DesignGoPostgreSQL
0 likes · 36 min read
Why Go + PostgreSQL + sqlc Is the Secret to High‑Concurrency Backend Architecture
Tech Musings
Tech Musings
Mar 26, 2026 · Backend Development

Why Netpoll Beats Go’s net Library for 60k Connections: A Deep Dive

An extensive benchmark compares Go’s standard net client with the event‑driven cloudwego/netpoll client under 60,000 concurrent connections, revealing how goroutine explosion, memory usage, and scheduler overhead differ, and demonstrates how a single scheduler plus a bounded goroutine pool dramatically reduces resource consumption.

.NETGoGoroutine
0 likes · 17 min read
Why Netpoll Beats Go’s net Library for 60k Connections: A Deep Dive
Tech Musings
Tech Musings
Mar 26, 2026 · Backend Development

Why netpoll Beats Go’s net Library: 99.99% Goroutine Reduction & 40% CPU Savings

A three‑hour benchmark on an 8C‑16G Linux host compares the standard Go net client with the netpoll client under 60,000 concurrent connections, revealing a 27.6% drop in client memory, a 99.99% cut in goroutine count, a 29.5% reduction in host memory, and a 40.7% lower CPU usage while maintaining the same throughput.

.NETGoGoroutine
0 likes · 14 min read
Why netpoll Beats Go’s net Library: 99.99% Goroutine Reduction & 40% CPU Savings
Golang Shines
Golang Shines
Mar 26, 2026 · Backend Development

Exploring Gin 1.12: New Features That Boost Performance and Flexibility

Gin 1.12 introduces BSON support for direct MongoDB responses, enhanced context error handling, flexible custom binding, raw‑path routing, colored latency logs, and automatic Protobuf/JSON content negotiation, all demonstrated with practical Go code examples and performance tables.

BSONBindingContext
0 likes · 11 min read
Exploring Gin 1.12: New Features That Boost Performance and Flexibility
Ray's Galactic Tech
Ray's Galactic Tech
Mar 25, 2026 · Backend Development

Mastering Ristretto: High‑Performance Go Cache from Theory to Production

This guide provides an in‑depth, architect‑level walkthrough of Ristretto, the high‑throughput Go cache, covering TinyLFU fundamentals, internal components, parameter tuning, production‑grade wrappers, multi‑level cache design, monitoring, capacity planning, common pitfalls, and real‑world code examples for robust deployment.

CacheDistributedSystemsGo
0 likes · 29 min read
Mastering Ristretto: High‑Performance Go Cache from Theory to Production
Golang Shines
Golang Shines
Mar 23, 2026 · Backend Development

Modernize Your Go Code with the New go fix in Go 1.26

Go 1.26 revamps the go fix tool from a simple deprecated‑API patcher into an intelligent automated refactoring engine that can modernize error handling, I/O operations and pointer creation, dramatically reducing manual effort while improving performance and type safety.

CI/CDGoautomated refactoring
0 likes · 12 min read
Modernize Your Go Code with the New go fix in Go 1.26
Code Wrench
Code Wrench
Mar 23, 2026 · Databases

Why Your MySQL Queries Slow Down in Production and How to Fix Them

The article explains why locally fast MySQL queries can become painfully slow in production, identifies three common pitfalls such as ineffective indexes, oversized Go connection pools, and hidden type conversions, and provides concrete optimization techniques spanning index design, query planning, Go‑MySQL integration, and systematic self‑checks.

GoIndexingQuery Optimization
0 likes · 9 min read
Why Your MySQL Queries Slow Down in Production and How to Fix Them
TonyBai
TonyBai
Mar 23, 2026 · Artificial Intelligence

Why Go Beats Rust for LLM Agents, Despite OpenAI’s Praise for Rust

The article compares Rust and Go for building autonomous agents and LLM‑generated code, showing how Go’s simple, uniform syntax and mandatory formatting make it more reliable for LLMs, while Rust’s strict compiler can be bypassed with unsafe tricks, prompting developers to favor Go.

AIAgent developmentGo
0 likes · 8 min read
Why Go Beats Rust for LLM Agents, Despite OpenAI’s Praise for Rust
Ray's Galactic Tech
Ray's Galactic Tech
Mar 22, 2026 · Backend Development

Why Go Refuses Default Parameters: The ‘Deliberate Poverty’ Behind Its Design

Go has refused default parameters for 15 years, a choice rooted in its philosophy of explicitness over implicit behavior; the article examines this deliberate ‘poverty’, explores the pitfalls of default arguments, and presents alternative patterns like wrapper functions, config structs, functional options, and pointer checks with real code examples.

API designDefault ParametersGo
0 likes · 27 min read
Why Go Refuses Default Parameters: The ‘Deliberate Poverty’ Behind Its Design
TonyBai
TonyBai
Mar 22, 2026 · R&D Management

Why 100 Hours of Tutorials Still Leave You Writing Bad Code? Uncover the Engineer’s Growth Loop

The article explains why countless programmers who binge‑watch tutorials remain stuck in a comfort zone, introduces the three‑ring model of Comfort‑Stretch‑Difficulty, and provides concrete Go and AI Agent projects that let engineers move into the narrow but powerful Stretch Zone to achieve real, measurable improvement.

AIGoProfessional Development
0 likes · 16 min read
Why 100 Hours of Tutorials Still Leave You Writing Bad Code? Uncover the Engineer’s Growth Loop
Code Wrench
Code Wrench
Mar 20, 2026 · Cloud Native

Inside Traefik v3: How Its Configuration Watcher, Router, and Concurrency Model Work

This article provides a senior Go engineer’s deep dive into Traefik’s source code, explaining the configuration hot‑reload engine, routing dispatch mechanism, and graceful concurrency model, and shows how to tune the proxy, build custom plugins, and apply the concepts to production‑grade Go services.

Cloud NativeConfiguration ReloadGo
0 likes · 13 min read
Inside Traefik v3: How Its Configuration Watcher, Router, and Concurrency Model Work
TonyBai
TonyBai
Mar 19, 2026 · Information Security

Turing Award Highlights Quantum Threat: How Go’s New Post‑Quantum Crypto Plans Guard Against the Coming Collapse

The 2025 Turing Award to quantum cryptography pioneers signals an imminent break of traditional RSA/ECC, and the Go language team is responding with a carefully staged roadmap that introduces ML‑KEM key exchange now and plans to expose ML‑DSA signatures in upcoming releases, while explaining the technical trade‑offs and performance concerns.

GoML-DSAML-KEM
0 likes · 12 min read
Turing Award Highlights Quantum Threat: How Go’s New Post‑Quantum Crypto Plans Guard Against the Coming Collapse
Golang Shines
Golang Shines
Mar 19, 2026 · Databases

Top 10 Redis Use Cases with Go: Practical Guide

This guide walks through ten classic Redis scenarios—caching, session storage, rate limiting, leaderboards, message queues, Pub/Sub, real‑time analytics, distributed locks, geospatial queries, and shopping carts—providing Go code examples, best‑practice tips, and performance considerations for each pattern.

CachingGoLeaderboard
0 likes · 18 min read
Top 10 Redis Use Cases with Go: Practical Guide
Code Wrench
Code Wrench
Mar 19, 2026 · Backend Development

Exploring tRPC-Go: Inside a High‑Performance Pluggable RPC Framework

This article walks through the inner workings of the open‑source tRPC‑Go RPC framework, detailing the client invoke lifecycle, selector reporting, codec serialization, transport handling, server processing, plugin architecture, streaming support, and performance‑oriented design choices for Go backend developers.

GoRPCplugin architecture
0 likes · 20 min read
Exploring tRPC-Go: Inside a High‑Performance Pluggable RPC Framework
TonyBai
TonyBai
Mar 19, 2026 · Information Security

Why Using go get @latest Can Let Hackers Hijack Your Server

Blindly running `go get @latest` can pull malicious packages into your Go project, as supply‑chain attacks exploit the latest version tag; the article explains the underlying threat, examines Go’s MVS and SumDB defenses, and details the proposed cooldown mechanism to mitigate such risks.

CooldownGoMVS
0 likes · 11 min read
Why Using go get @latest Can Let Hackers Hijack Your Server
Golang Shines
Golang Shines
Mar 17, 2026 · Backend Development

10 Elegant Go Development Tools You Should Try

This article curates ten essential Go development tools—including a fast linter, multiple IDEs, a call‑graph visualizer, automation platform, testing generator, and lightweight editors—detailing their key features, performance claims, and usage considerations for Go programmers.

AutomationGoIDE
0 likes · 6 min read
10 Elegant Go Development Tools You Should Try
TonyBai
TonyBai
Mar 17, 2026 · Fundamentals

Why Go’s regexp Is Slower Than Python – The Safety Trade‑offs Behind the Design

The article dissects why Go’s standard regexp package lags behind Python and other languages, tracing the slowdown to a pure‑Go implementation that avoids CGO, the choice of a Thompson‑NFA engine for safety, heavy UTF‑8 rune decoding, memory‑intensive NFA simulation, and shows how community projects like coregex reclaim performance while preserving Go’s safety guarantees.

CGOGoSIMD
0 likes · 13 min read
Why Go’s regexp Is Slower Than Python – The Safety Trade‑offs Behind the Design
Code Wrench
Code Wrench
Mar 16, 2026 · Backend Development

Mastering Chromedp: Go‑Based Chrome Automation for Real‑World Use Cases

This article provides a comprehensive guide to using the Go library chromedp for Chrome DevTools Protocol‑driven browser automation, covering its core architecture, practical techniques for navigation, network interception, anti‑bot evasion, performance tuning, and production‑grade recommendations with full code examples.

Chrome DevTools ProtocolGoWeb Scraping
0 likes · 10 min read
Mastering Chromedp: Go‑Based Chrome Automation for Real‑World Use Cases
TonyBai
TonyBai
Mar 16, 2026 · Fundamentals

Does Go Really Eliminate Undefined Behavior? An In‑Depth Investigation

The article examines Go’s claim of eradicating undefined behavior, showing that while the language defines many formerly UB cases such as integer overflow and out‑of‑bounds access, it still harbors UB in concurrent data races, interface type confusion, and certain unspecified behaviors.

Data RaceGoMemory safety
0 likes · 18 min read
Does Go Really Eliminate Undefined Behavior? An In‑Depth Investigation
TonyBai
TonyBai
Mar 14, 2026 · Information Security

How Go sumdb Defends Against Supply‑Chain Attacks with Transparent Logs and Tiling

The article explains how Go's checksum database (sumdb) uses append‑only transparent logs, Merkle‑tree proofs, and a novel tiling algorithm to provide cryptographic existence and consistency guarantees, protecting developers from covert supply‑chain attacks and fork attacks.

Consistency ProofGoMerkle tree
0 likes · 14 min read
How Go sumdb Defends Against Supply‑Chain Attacks with Transparent Logs and Tiling
TonyBai
TonyBai
Mar 13, 2026 · Backend Development

Why DuckDB Beats ClickHouse for Light‑Weight Analytics: 18 M Rows/sec in a Single Go Binary

The article analyzes why traditional row‑oriented databases struggle with high‑volume analytics, introduces DuckDB as an embedded columnar engine for Go, presents benchmark results of up to 18.6 M rows per second writes and 6 M rows per second scans, walks through the Appender API code, and outlines the trade‑offs and ideal hybrid architecture.

Columnar StorageDuckDBEmbedded Database
0 likes · 11 min read
Why DuckDB Beats ClickHouse for Light‑Weight Analytics: 18 M Rows/sec in a Single Go Binary
Golang Shines
Golang Shines
Mar 12, 2026 · Fundamentals

Why Go Requires Both new and make for Memory Allocation

Go provides two distinct constructors—new, a generic memory allocator returning a zero‑initialized pointer, and make, a specialized initializer that allocates and prepares slices, maps, and channels—explaining why both exist, how they differ, common pitfalls, and the language’s design philosophy of explicit, ready‑to‑use values.

ChannelGomake
0 likes · 8 min read
Why Go Requires Both new and make for Memory Allocation
Code Wrench
Code Wrench
Mar 12, 2026 · Backend Development

Unlocking Go Server Secrets: How 1Panel Uses cmux, Docker, and Clean Architecture

This article walks through the 1Panel Go codebase, highlighting its clean project layout, the "golden" dependency stack, the step‑by‑step server startup chain, the clever use of cmux for port multiplexing, and robust Docker configuration validation to build a more reliable backend service.

DockerGoProject Layout
0 likes · 9 min read
Unlocking Go Server Secrets: How 1Panel Uses cmux, Docker, and Clean Architecture
TonyBai
TonyBai
Mar 12, 2026 · Backend Development

Why My Go Service Slowed Down on a 128‑Core Server

A 128‑core, 256‑thread server should boost Go microservice performance, but the author explains how NUMA architecture, Go's scheduler affinity loss during GC pauses, and non‑NUMA‑aware memory allocation cause cache misses, remote memory penalties, and higher latency, preventing linear scaling.

Garbage CollectionGoHigh‑core performance
0 likes · 9 min read
Why My Go Service Slowed Down on a 128‑Core Server
Golang Shines
Golang Shines
Mar 11, 2026 · Fundamentals

The Hidden Privilege of Go’s Type System: Untyped Constants

The article explains how Go’s untyped constants act as a hidden privilege, allowing compile‑time high‑precision calculations without overflow, implicit type adaptation, and reduced boilerplate, while contrasting them with typed variables and discussing design trade‑offs and default type pitfalls.

GoUntyped Constantscompile-time evaluation
0 likes · 9 min read
The Hidden Privilege of Go’s Type System: Untyped Constants
Code Wrench
Code Wrench
Mar 11, 2026 · Backend Development

Beego V2: Functional Routing, Redis AOP Rate Limiting & Toolbox Security

Discover how to transform a basic Beego V2 project into a high‑performance, concurrent service by replacing reflection‑based controllers with functional routing, implementing a distributed Redis‑Lua token‑bucket rate limiter via AOP filters, and securing the built‑in Toolbox with essential production hardening steps.

Functional RoutingGoRedis
0 likes · 6 min read
Beego V2: Functional Routing, Redis AOP Rate Limiting & Toolbox Security
TonyBai
TonyBai
Mar 11, 2026 · Backend Development

Why Fetching a Simple JSON in Go Needs No Third‑Party Libraries – The Power of Its Standard Library

The article analyzes how Go’s extensive, production‑ready standard library eliminates the need for external dependencies, reduces decision fatigue, improves supply‑chain security, and offers cross‑platform, high‑performance features that many other languages achieve only with third‑party packages.

Backend DevelopmentCross-PlatformGo
0 likes · 12 min read
Why Fetching a Simple JSON in Go Needs No Third‑Party Libraries – The Power of Its Standard Library
Golang Shines
Golang Shines
Mar 9, 2026 · Backend Development

How to Use Generics in Go to Eliminate sync.Pool Boxing Overhead

This article explains why the pre‑generic sync.Pool suffers from boxing and type‑assertion costs, shows how to wrap it with a type‑safe generic Pool[T] implementation, demonstrates usage with a byte‑buffer example, and outlines the three main benefits and caveats of the approach.

Goboxinggenerics
0 likes · 5 min read
How to Use Generics in Go to Eliminate sync.Pool Boxing Overhead
Golang Shines
Golang Shines
Mar 8, 2026 · Backend Development

240 Go Interview Questions with Answers – Master Them in 3 Passes to Land the Job

This article compiles a comprehensive set of 240 Go interview questions—including fundamentals, concurrency, runtime, and related topics such as containers, Redis, and MySQL—each paired with answers, offering candidates a structured study guide to repeatedly practice and improve their chances of securing a Go development position.

Backend DevelopmentDockerGo
0 likes · 15 min read
240 Go Interview Questions with Answers – Master Them in 3 Passes to Land the Job
Code Wrench
Code Wrench
Mar 8, 2026 · Artificial Intelligence

How to Build Low‑Latency AI‑Powered Video Calls with Go and WebRTC

This article breaks down the latency challenges of combining AI with WebRTC, compares edge and cloud processing architectures, and provides a detailed Go‑based implementation—including RTP interception, AI model integration, real‑time translation pipelines, and performance optimizations—for ultra‑responsive video conferencing.

AIGoPerformance Optimization
0 likes · 7 min read
How to Build Low‑Latency AI‑Powered Video Calls with Go and WebRTC
Architect's Guide
Architect's Guide
Mar 7, 2026 · Backend Development

Get PocketBase Up and Running: A Lightweight Go Backend in Minutes

PocketBase is a lightweight Go‑based open‑source backend‑as‑a‑service that bundles an embedded SQLite database, authentication, file storage, real‑time APIs and an admin UI into a single executable, allowing developers to launch a full backend in minutes with simple commands or a few lines of Go code.

GoRealtimebasa
0 likes · 5 min read
Get PocketBase Up and Running: A Lightweight Go Backend in Minutes
Code Wrench
Code Wrench
Mar 6, 2026 · Backend Development

Why WebRTC Latency Isn’t About the API: Go, ICE, DTLS, and Scaling

This article breaks down the true bottlenecks of low‑latency WebRTC systems—network models, congestion control, memory layout, and concurrency scheduling—by examining the protocol stack, Go runtime, ICE state machine, DTLS/SRTP security, RTP/RTCP feedback, and practical high‑concurrency tuning strategies.

GoReal-time MediaWebRTC
0 likes · 10 min read
Why WebRTC Latency Isn’t About the API: Go, ICE, DTLS, and Scaling
Golang Shines
Golang Shines
Mar 5, 2026 · Backend Development

Build a User CRUD Service from Scratch with Go‑Kratos

This step‑by‑step guide shows how to use the Go‑Kratos microservice framework to create a clean‑architecture user service, covering environment setup, project scaffolding, Protobuf API definition, code generation, layered implementation (biz, data, service), server registration, and testing with curl.

CRUDClean ArchitectureGo
0 likes · 14 min read
Build a User CRUD Service from Scratch with Go‑Kratos
Code Wrench
Code Wrench
Mar 5, 2026 · Backend Development

Unlock High‑Performance Go Concurrency with the Ants Goroutine Pool

This article examines the design and implementation of the high‑performance Ants Goroutine Pool for Go, detailing its core structures, worker lifecycle, scheduling strategies, and practical optimization tips, while providing concrete code examples and best‑practice guidelines for efficient concurrent programming.

ANTSGoGoroutine
0 likes · 16 min read
Unlock High‑Performance Go Concurrency with the Ants Goroutine Pool
Code Wrench
Code Wrench
Mar 4, 2026 · Backend Development

How to Build a 50‑Player Real‑Time Battle Server in Go: Architecture & Performance

This article explains how to design a Go‑based backend for a 50‑player real‑time battle game, covering concurrency models, GC tuning, matching algorithms, fixed‑frame loops, AOI optimization, KCP networking, and performance‑boosting techniques such as object pooling and command batching.

Game BackendGoPerformance Optimization
0 likes · 8 min read
How to Build a 50‑Player Real‑Time Battle Server in Go: Architecture & Performance
Top Architect
Top Architect
Mar 3, 2026 · Backend Development

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

This article explains how to design a high‑concurrency ticket‑snatching service that can handle millions of requests by combining multi‑layer load balancing, weighted Nginx round‑robin, in‑memory stock with Redis‑backed global inventory, and Go’s native concurrency, complete with code samples and performance results.

GoHigh concurrencyNGINX
0 likes · 19 min read
How to Build a Million‑User Ticket‑Snatching System with Nginx, Redis, and Go
Java Web Project
Java Web Project
Mar 3, 2026 · Backend Development

How PocketBase Lets You Spin Up a Full Backend in Minutes

This article introduces PocketBase, an open‑source Go‑based Backend‑as‑a‑Service that bundles SQLite, authentication, file storage, real‑time APIs and an admin UI into a single executable, and walks through its core features, quick‑start steps, a Go integration example, and UI screenshots.

Backend-as-a-ServiceGoOpenSource
0 likes · 5 min read
How PocketBase Lets You Spin Up a Full Backend in Minutes
SpringMeng
SpringMeng
Mar 3, 2026 · Operations

A Lightweight Nginx Log Analyzer Worth Trying

NginxPulse is a lightweight, Docker‑friendly Nginx log analysis panel that offers real‑time PV/UV, IP lookup, multi‑site support, custom log formats, remote log pulling, and access control, with simple deployment via Docker, Docker‑Compose, or a single binary.

DockerGoNGINX
0 likes · 7 min read
A Lightweight Nginx Log Analyzer Worth Trying
Code Wrench
Code Wrench
Mar 3, 2026 · Artificial Intelligence

Unlocking High‑Performance Chinese Segmentation: Inside Go’s gse Library

This article deeply examines the source code of Go’s high‑performance segmentation library gse, revealing its Double‑Array Trie, shortest‑path dynamic programming, and HMM‑Viterbi implementations, and demonstrates practical usage for Chinese tokenization, part‑of‑speech tagging, keyword extraction, and custom dictionary management.

GoHMMNLP
0 likes · 13 min read
Unlocking High‑Performance Chinese Segmentation: Inside Go’s gse Library
Golang Shines
Golang Shines
Mar 2, 2026 · Fundamentals

How to Use Conditional Compilation and Build Tags in Go

The article explains Go's conditional compilation mechanisms, covering file‑name suffixes, //go:build tags, practical cross‑platform examples, a zero‑overhead logging demo, and guidance on choosing the appropriate method for maintainable code.

Cross-PlatformGoLogging
0 likes · 12 min read
How to Use Conditional Compilation and Build Tags in Go
Code Wrench
Code Wrench
Mar 2, 2026 · Backend Development

Why Go Code Gets Bloated and How Blueprint Patterns Can Simplify It

The article reviews Mat Ryer’s *Go Programming Blueprints*, revealing why many Go projects become heavyweight, and presents three architectural truths—behavior‑oriented interfaces, Lego‑style CLI components, and an onion‑layered microservice model—illustrated with concrete code snippets and practical design guidelines for clean, maintainable backend systems.

GoGo-KitMicroservices
0 likes · 6 min read
Why Go Code Gets Bloated and How Blueprint Patterns Can Simplify It
TonyBai
TonyBai
Mar 2, 2026 · Backend Development

Stop Writing Go Like 2015: The Ultimate Modern Go Evolution Guide

This article walks through Go's evolution from version 1.0 to 1.26, showing concrete before‑and‑after code snippets for each modern feature, explaining why legacy patterns persist, and demonstrating how AI‑driven prompts can help developers adopt the latest, more concise Go idioms.

Gocode modernizationgenerics
0 likes · 16 min read
Stop Writing Go Like 2015: The Ultimate Modern Go Evolution Guide
Code Wrench
Code Wrench
Mar 1, 2026 · Backend Development

Building a High‑Performance Go Distributed Cache: GoMemcache from Scratch

This article walks through designing and implementing GoMemcache, a lightweight Go‑based distributed cache, covering use‑case selection, concurrency lock optimization, consistent hashing, production‑grade code, and practical deployment best practices for ultra‑low latency services.

Backend DevelopmentConsistent HashingGo
0 likes · 12 min read
Building a High‑Performance Go Distributed Cache: GoMemcache from Scratch
Code Wrench
Code Wrench
Feb 28, 2026 · Backend Development

Why Explicit Code Beats Clever Tricks: Go’s Industrial Programming Principles

The article revisits Peter Bourgon’s “Go for Industrial Programming,” explaining how explicit, readable code, strict dependency handling, disciplined concurrency, robust observability, and simple flag‑based configuration empower Go teams to build maintainable, long‑lived backend systems.

GoIndustrial ProgrammingObservability
0 likes · 7 min read
Why Explicit Code Beats Clever Tricks: Go’s Industrial Programming Principles
Golang Shines
Golang Shines
Feb 27, 2026 · Backend Development

Boost Go Backend Performance with Redis Pipeline: A Practical Guide

Redis Pipeline batches commands to reduce network round‑trip overhead, offering up to ~50× speedup for bulk writes, improved stability under high concurrency, and lower latency for critical services; the guide explains its mechanics, Go implementation with go‑redis/v9, performance benchmarks, suitable scenarios, and pitfalls to avoid.

GoRedisbackend
0 likes · 7 min read
Boost Go Backend Performance with Redis Pipeline: A Practical Guide
Golang Shines
Golang Shines
Feb 26, 2026 · Fundamentals

Rust vs Go Memory Management: The Caretaker vs the Landlord

This article compares Rust and Go memory management by using a house‑rental analogy, detailing Go's garbage‑collector landlord model and Rust's compile‑time caretaker model, illustrating each with code snippets, pros and cons, real‑world performance anecdotes, and a practical scenario matrix.

Garbage CollectionGoMemory Management
0 likes · 7 min read
Rust vs Go Memory Management: The Caretaker vs the Landlord