Tagged articles

Go

1930 articles · Page 7 of 20
Open Source Tech Hub
Open Source Tech Hub
May 16, 2025 · Backend Development

Why FrankenPHP Is Revolutionizing PHP Performance and Deployment

FrankenPHP, created by Kévin Dunglas and backed by Les‑Tilleuls.coop and the PHP Foundation, embeds the PHP interpreter into Go and Caddy to simplify deployment, boost performance, lower hosting costs, support real‑time features, and offer a worker mode that dramatically speeds up Laravel, Symfony and Yii applications.

CaddyGoPHP
0 likes · 6 min read
Why FrankenPHP Is Revolutionizing PHP Performance and Deployment
Go Programming World
Go Programming World
May 15, 2025 · Cloud Native

Deploying MCP Gateway on Kubernetes: A Step‑by‑Step Guide

This article explains how to quickly turn existing HTTP APIs into MCP services using the Go‑based mcp‑gateway, covering the installation of a local Kind Kubernetes cluster, the required YAML manifests, Docker image handling, OpenAPI import, and verification through the web console and chat interface.

Cloud NativeGatewayGo
0 likes · 14 min read
Deploying MCP Gateway on Kubernetes: A Step‑by‑Step Guide
Programmer DD
Programmer DD
May 13, 2025 · Backend Development

Why PocketBase Is the Ultimate One‑File Backend for Rapid Development

PocketBase is a lightweight, Go‑based open‑source backend that bundles a real‑time SQLite database, user management, file storage, and a visual admin panel into a single executable, offering fast deployment, extensible APIs, and easy Docker or binary installation for small‑to‑medium projects.

APIGoOpen Source
0 likes · 4 min read
Why PocketBase Is the Ultimate One‑File Backend for Rapid Development
Raymond Ops
Raymond Ops
May 8, 2025 · Backend Development

Mastering Go Concurrency: Goroutines, Channels, and Synchronization Explained

This article provides a comprehensive guide to Go's concurrency model, covering goroutine creation, the scheduler, synchronization primitives such as WaitGroup, atomic operations, mutexes, and both unbuffered and buffered channels, with practical code examples and explanations of race conditions and best practices.

ChannelsGoconcurrency
0 likes · 25 min read
Mastering Go Concurrency: Goroutines, Channels, and Synchronization Explained
Radish, Keep Going!
Radish, Keep Going!
May 4, 2025 · Fundamentals

Can Green Tea GC Revolutionize Go’s Garbage Collection Performance?

This article examines Go’s concurrent mark‑sweep garbage collector, its latency advantages and scalability limits, then evaluates the new Green Tea GC proposal, detailing its span‑based scanning, benchmark results, and where it offers measurable improvements over the existing GC.

Concurrent Mark‑SweepGarbage CollectionGo
0 likes · 7 min read
Can Green Tea GC Revolutionize Go’s Garbage Collection Performance?
Architecture & Thinking
Architecture & Thinking
Apr 30, 2025 · Artificial Intelligence

Unlocking AI Integration: How the Model Context Protocol (MCP) Bridges LLMs with External Tools

This article introduces the Model Context Protocol (MCP) released by Anthropic, explains its core features and client‑server architecture, walks through building a Go‑based MCP server and client with time, weather, and schedule tools, demonstrates testing with MCP Inspector, and highlights MCP's advantages and typical AI application scenarios.

AI integrationGoLLM
0 likes · 22 min read
Unlocking AI Integration: How the Model Context Protocol (MCP) Bridges LLMs with External Tools
JD Cloud Developers
JD Cloud Developers
Apr 25, 2025 · Fundamentals

How Does Go Differ from Java? A Deep Dive into Language Features

This article compares Go and Java across core language features—code organization, visibility, variable and constant declarations, functions, interfaces, data types, reference types, error handling, and control structures—providing Java developers with practical insights for adopting Go in cloud‑native development.

GoLanguage comparisonerror handling
0 likes · 22 min read
How Does Go Differ from Java? A Deep Dive into Language Features
JD Tech Talk
JD Tech Talk
Apr 25, 2025 · Fundamentals

Comparing Go and Java: Language Features, Syntax, and Concurrency

This article compares Go and Java by examining their core language features, code organization, visibility rules, variable and constant declarations, method and function syntax, interface implementation, basic and reference data types, error handling mechanisms, and control‑flow constructs, providing Java developers with a concise guide to Go's design principles and cloud‑native strengths.

GoProgramming LanguagesSyntax Comparison
0 likes · 23 min read
Comparing Go and Java: Language Features, Syntax, and Concurrency
FunTester
FunTester
Apr 23, 2025 · Fundamentals

Mastering Mock in Go: Boost Test Stability and Speed

This article explains why mocking is essential for reliable unit testing, outlines its core benefits such as environment isolation, speed, and coverage, and provides practical Go examples—including dynamic behavior control, state verification, and using gomock—to help engineers implement robust mock strategies.

GoMock FrameworksMocking
0 likes · 10 min read
Mastering Mock in Go: Boost Test Stability and Speed
Go Programming World
Go Programming World
Apr 22, 2025 · Artificial Intelligence

Design and Implementation of an Enterprise‑Grade LLMOPS Platform (EasyAI)

This article presents a comprehensive overview of building an enterprise‑level LLMOPS platform—including concept definitions, the relationship between LLMOPS, MLOps and intelligent agent platforms, four development tiers, architecture layers, core technical concerns, deployment options, and the benefits of cloud‑native AI development.

AI platformCloud NativeDevOps
0 likes · 15 min read
Design and Implementation of an Enterprise‑Grade LLMOPS Platform (EasyAI)
Efficient Ops
Efficient Ops
Apr 20, 2025 · Operations

How to Instantly Monitor Socket Health with the Lightweight 'dish' CLI Tool

This article introduces the lightweight command‑line tool dish, explains its core features such as one‑time socket health checks, remote configuration, concurrent testing, zero dependencies, multiple notification methods, caching, and provides installation steps, usage examples, and a comprehensive flag reference for efficient operations monitoring.

CLIGoNotification
0 likes · 7 min read
How to Instantly Monitor Socket Health with the Lightweight 'dish' CLI Tool
Raymond Ops
Raymond Ops
Apr 17, 2025 · Backend Development

Master HTTP Mocking in Go: httptest & gock Tutorial

This article explains how to use Go's httptest package and the gock library to mock HTTP servers and external API calls, providing step‑by‑step code examples, test case design, and practical tips for reliable backend unit testing.

GoMockingbackend development
0 likes · 13 min read
Master HTTP Mocking in Go: httptest & gock Tutorial
FunTester
FunTester
Apr 16, 2025 · Backend Development

Mastering Go: A Curated Collection of Common Pitfalls and How to Avoid Them

This curated collection gathers eleven in‑depth articles covering the most frequent Go programming mistakes—from optimization and unit testing to concurrency, error handling, and code organization—providing practical examples, dates, and direct links for developers seeking to improve code quality and avoid common pitfalls.

GoOptimizationbackend development
0 likes · 3 min read
Mastering Go: A Curated Collection of Common Pitfalls and How to Avoid Them
FunTester
FunTester
Apr 16, 2025 · Backend Development

Common Performance Optimization Pitfalls in Go and How to Avoid Them

This article examines frequent performance optimization mistakes in Go programming—such as misunderstanding CPU cache, false sharing, data alignment, stack vs heap allocation, and inadequate use of profiling tools—provides concrete code examples, and offers practical guidelines to improve efficiency while maintaining code quality.

GoMemory ManagementOptimization
0 likes · 10 min read
Common Performance Optimization Pitfalls in Go and How to Avoid Them
Nullbody Notes
Nullbody Notes
Apr 15, 2025 · Interview Experience

My Journey of Repeating LeetCode: Turning Obstacles into Interview Success

The author shares a personal roadmap of solving over 150 high‑frequency Go algorithm problems from CodeTop, emphasizing relentless repetition, concrete examples like the compressed prefix tree in Gin, and practical tips for turning algorithm practice into interview confidence.

AlgorithmCodeTopCompressed Prefix Tree
0 likes · 7 min read
My Journey of Repeating LeetCode: Turning Obstacles into Interview Success
FunTester
FunTester
Apr 14, 2025 · Backend Development

Common Mistakes in Go Unit Testing and How to Avoid Them

This article examines nine frequent errors developers make when writing Go unit tests—such as improper test classification, neglecting the race detector, ignoring parallel and shuffle flags, avoiding table‑driven tests, using sleep, mishandling time APIs, overlooking httptest/iotest, misusing benchmarks, and skipping fuzz testing—providing analysis and concrete code‑based solutions to improve test reliability and efficiency.

BenchmarkingGoconcurrency
0 likes · 11 min read
Common Mistakes in Go Unit Testing and How to Avoid Them
21CTO
21CTO
Apr 3, 2025 · Artificial Intelligence

Can Go Outperform Python in Machine Learning? Discover Its Hidden Advantages

While Python dominates the machine learning ecosystem, Go offers compelling performance, concurrency, and static typing advantages, making it a strong contender for high‑throughput prediction services, large data pipelines, resource‑constrained environments, and custom ML components, especially when teams already leverage Go in production.

GoML Librariesconcurrency
0 likes · 13 min read
Can Go Outperform Python in Machine Learning? Discover Its Hidden Advantages
ByteDance Cloud Native
ByteDance Cloud Native
Apr 3, 2025 · Operations

How to Seamlessly Integrate CloudWeGo with APMPlus for Full‑Stack Observability

This article explains the challenges of observability in distributed microservice and LLM architectures, introduces CloudWeGo and APMPlus, and provides step‑by‑step integration guides for Kitex, Hertz, and Eino frameworks, including code samples, data reporting methods, and advanced monitoring features such as RED metrics, LLM‑specific indicators, service topology, and future roadmap.

APMAPMPlusCloudWeGo
0 likes · 13 min read
How to Seamlessly Integrate CloudWeGo with APMPlus for Full‑Stack Observability
Nightwalker Tech
Nightwalker Tech
Apr 3, 2025 · Backend Development

Understanding Wails: Go and TypeScript Interaction for Cross‑Platform Desktop Applications

This article explains how the Wails framework combines Go's efficient backend logic with modern front‑end technologies like Vue or React, offering a lightweight alternative to Electron through native WebView rendering, bidirectional communication, automatic code generation, and event‑driven interaction for building cross‑platform desktop apps.

DesktopElectron AlternativeGo
0 likes · 16 min read
Understanding Wails: Go and TypeScript Interaction for Cross‑Platform Desktop Applications
FunTester
FunTester
Apr 3, 2025 · Backend Development

Avoid These 5 Common Go Standard Library Pitfalls and Write Safer Code

This article examines frequent mistakes developers make when using Go’s standard library—such as misusing time.Duration, causing memory leaks with time.After, JSON serialization quirks, improper SQL handling, and HTTP response errors—providing concrete code examples and best‑practice solutions to write more reliable, efficient Go programs.

Gobest practiceserror handling
0 likes · 14 min read
Avoid These 5 Common Go Standard Library Pitfalls and Write Safer Code
BirdNest Tech Talk
BirdNest Tech Talk
Apr 1, 2025 · Backend Development

Build an IP Geolocation MCP Server with Go’s mcp-go Library

This tutorial walks through setting up a Go MCP server using the mark3labs/mcp-go library, adding static resources, defining calculator and IP‑lookup tools, creating prompts, compiling the binary, and testing the server with DeepChat, illustrating a complete end‑to‑end workflow.

GoIP lookupMCP
0 likes · 10 min read
Build an IP Geolocation MCP Server with Go’s mcp-go Library
FunTester
FunTester
Mar 29, 2025 · Backend Development

7 Common Go Concurrency Pitfalls and How to Avoid Them

This article examines frequent mistakes developers make when writing concurrent Go programs—such as misusing context, leaking goroutines, mishandling channels, and causing data races—and provides concrete code examples, impact analyses, and best‑practice recommendations to write safer, more efficient Go concurrency code.

Gobest practiceschannel
0 likes · 9 min read
7 Common Go Concurrency Pitfalls and How to Avoid Them
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 26, 2025 · Cloud Native

How LoongCollector Doubled Log Collection Speed with Four Key Optimizations

This article details the architectural overhaul of iLogtail into LoongCollector, explains why generalization caused a 15% performance drop, and walks through four systematic optimizations—including memory arenas, eliminating shared_ptr, event pooling, and direct serialization—that ultimately restored and doubled log‑collection throughput.

C++Godata collector
0 likes · 17 min read
How LoongCollector Doubled Log Collection Speed with Four Key Optimizations
FunTester
FunTester
Mar 26, 2025 · Backend Development

Common Go Concurrency Errors and Best Practices

This article examines frequent mistakes in Go's concurrent programming—such as confusing concurrency with parallelism, assuming concurrency always speeds up execution, misusing channels versus mutexes, overlooking workload types, and misunderstanding contexts—provides detailed explanations, potential impacts, and best‑practice solutions with improved code examples.

Gochannelcontext
0 likes · 27 min read
Common Go Concurrency Errors and Best Practices
JD Tech Talk
JD Tech Talk
Mar 21, 2025 · Fundamentals

Go Language Basics: Syntax, Types, Concurrency, and Error Handling

This article introduces Go (Golang) fundamentals for developers familiar with other object‑oriented languages, covering basic syntax, variable and constant declarations, nil and zero values, methods, packages, pointers, struct‑based OOP, interfaces, goroutines, channels, mutexes, and the language's simple error‑handling mechanisms.

GoSyntaxerror handling
0 likes · 25 min read
Go Language Basics: Syntax, Types, Concurrency, and Error Handling
JD Cloud Developers
JD Cloud Developers
Mar 21, 2025 · Fundamentals

Master Go Basics: From Variables to Concurrency in One Guide

This article introduces Go language fundamentals for developers familiar with other object‑oriented languages, covering variable and constant declarations, zero values, methods, structs, interfaces, slices, maps, goroutines, channels, mutexes, and error handling with clear code examples and explanations.

GoTutorialbasics
0 likes · 25 min read
Master Go Basics: From Variables to Concurrency in One Guide
Subtle Storm
Subtle Storm
Mar 20, 2025 · Backend Development

Deep Dive into Go Package Management: Tools and Best Practices

This article traces Go's package management evolution from GOPATH to Go Modules, explains module initialization, dependency handling, version control, showcases go.mod and go.sum files, compares alternative tools like dep and glide, and outlines best practices such as version locking, semantic versioning, and regular updates.

Dependency ManagementGOPATHGo
0 likes · 8 min read
Deep Dive into Go Package Management: Tools and Best Practices
Code Mala Tang
Code Mala Tang
Mar 20, 2025 · Backend Development

Microsoft Rewrites TypeScript Compiler in Go: Why and What It Means

Microsoft announced that it will rewrite the TypeScript compiler in Go, citing native code compilation, automatic memory management, simplicity, portability, and strong concurrency support, promising up to ten‑fold performance gains, faster editor feedback, new features, and a roadmap extending to a Go‑based TypeScript 7 release.

CompilerGoTypeScript
0 likes · 9 min read
Microsoft Rewrites TypeScript Compiler in Go: Why and What It Means
Raymond Ops
Raymond Ops
Mar 19, 2025 · Fundamentals

Unlocking Go’s Empty Interface: How Any Type Becomes a Value

This article explains Go’s empty interface, showing how it can hold values of any type, how to declare and use it in functions and data structures, and why copying between concrete slices and empty‑interface slices requires element‑wise assignment due to its two‑word memory layout.

Goempty interfaceinterface
0 likes · 5 min read
Unlocking Go’s Empty Interface: How Any Type Becomes a Value
Java Tech Enthusiast
Java Tech Enthusiast
Mar 19, 2025 · Industry Insights

Why Microsoft Switched to Go for the TypeScript Compiler – 10× Faster

Microsoft rewrote the TypeScript compiler in Go, achieving a nine‑to‑tenfold speed boost, and explains that Go’s low‑level design, built‑in garbage collection, cross‑platform compilation, and functional‑style compatibility made it a better fit than C#, reflecting both technical advantages and Microsoft’s internal “Eat Dog Food” culture.

C++CompilerGo
0 likes · 5 min read
Why Microsoft Switched to Go for the TypeScript Compiler – 10× Faster
FunTester
FunTester
Mar 19, 2025 · Backend Development

Common Go Error Handling Mistakes and Best Practices

This article examines typical Go error handling pitfalls—including misuse of panic, improper error wrapping, incorrect error comparisons, and neglecting error checks—provides illustrative code samples, explains their potential impacts, and offers best‑practice recommendations to write robust, maintainable Go programs.

Gobackendbest practices
0 likes · 18 min read
Common Go Error Handling Mistakes and Best Practices
Tencent Cloud Developer
Tencent Cloud Developer
Mar 18, 2025 · Fundamentals

Java vs Go: Syntax, OOP, Error Handling, Concurrency, Garbage Collection and Performance Comparison

The article compares Java and Go across syntax, variable declaration, object‑oriented features, error handling, concurrency models, garbage collection, resource usage, and ecosystem maturity, concluding that Go offers simpler code, lightweight concurrency and lower overhead, while Java provides a richer library ecosystem and more mature tooling, making the choice dependent on project requirements.

Garbage CollectionGoconcurrency
0 likes · 26 min read
Java vs Go: Syntax, OOP, Error Handling, Concurrency, Garbage Collection and Performance Comparison
Raymond Ops
Raymond Ops
Mar 17, 2025 · Fundamentals

Unlock Go's Syntactic Sugar: Master Variadic Functions and := Assignment

This article explains the concept of syntactic sugar in Go, illustrating how variadic parameters (using ...) and the short variable declaration operator := simplify code, with clear examples and important usage notes to improve readability and reduce errors.

Goprogrammingshort variable declaration
0 likes · 4 min read
Unlock Go's Syntactic Sugar: Master Variadic Functions and := Assignment
21CTO
21CTO
Mar 16, 2025 · Backend Development

How Microsoft’s Native TypeScript Compiler Slashes Build Times to Seconds

Microsoft’s TypeScript team unveiled a native‑code preview of the compiler, called Corsa, built in Go, promising dramatic performance gains, faster VS Code loading, new AI‑assisted type checking, and a roadmap to a full‑featured command‑line compiler by the end of 2025.

Anders HejlsbergGoTypeScript
0 likes · 6 min read
How Microsoft’s Native TypeScript Compiler Slashes Build Times to Seconds
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Mar 14, 2025 · Cloud Native

How to Shrink Docker Images with Multi‑Stage Builds: A Step‑by‑Step Guide

Learn why smaller Docker images boost build speed and deployment efficiency, then master Docker’s multi‑stage build technique—including basic concepts, a Go example, layer reduction, cache optimization, minimal base images, non‑root users, and build arguments—to produce lightweight, secure, and maintainable containers.

DevOpsDockerGo
0 likes · 9 min read
How to Shrink Docker Images with Multi‑Stage Builds: A Step‑by‑Step Guide
21CTO
21CTO
Mar 13, 2025 · Backend Development

Why Microsoft Chose Go Over Rust for the TypeScript Compiler Rewrite

Microsoft announced a port of the TypeScript compiler to Go, promising over tenfold speed gains, and explained that portability and automatic garbage collection made Go a more practical choice than Rust despite community disappointment.

CompilerGoRust
0 likes · 7 min read
Why Microsoft Chose Go Over Rust for the TypeScript Compiler Rewrite
FunTester
FunTester
Mar 13, 2025 · Backend Development

When to Use Value vs Pointer Receivers and Other Go Pitfalls You Must Avoid

This article examines common Go mistakes—including choosing between value and pointer receivers, misusing unnamed or named return values, returning nil interfaces, passing filenames instead of readers, and defer parameter evaluation—provides clear explanations, real‑world examples, and best‑practice recommendations to write more reliable Go code.

Gobest practicesdefer
0 likes · 18 min read
When to Use Value vs Pointer Receivers and Other Go Pitfalls You Must Avoid
21CTO
21CTO
Mar 12, 2025 · Fundamentals

Why Microsoft Is Rebuilding TypeScript in Go for 10× Faster Compilation

Microsoft announced a native Go implementation of the TypeScript compiler that dramatically cuts build times and memory usage, promising a ten‑fold speed boost for large projects and laying the groundwork for next‑generation AI‑assisted development tools.

CompilerGoMicrosoft
0 likes · 6 min read
Why Microsoft Is Rebuilding TypeScript in Go for 10× Faster Compilation
Ops Development & AI Practice
Ops Development & AI Practice
Mar 12, 2025 · Backend Development

Mastering Go Closures: How Functions Capture Their Environment

This article explains Go closures—what they are, how they capture surrounding variables, key characteristics, practical code examples, common pitfalls like memory leaks and concurrency issues, and typical use‑cases such as function factories, state management, callbacks, and interface implementation.

Gobackend developmentclosures
0 likes · 7 min read
Mastering Go Closures: How Functions Capture Their Environment
Raymond Ops
Raymond Ops
Mar 11, 2025 · Backend Development

Master Go Socket and HTTP Programming: From Dial to Custom Requests

This article explains Go's socket programming workflow, the versatile net.Dial function for TCP, UDP, and ICMP connections, provides complete ICMP and TCP example programs, and then covers HTTP client usage with net/http, including basic methods, form posts, and custom request handling.

GoSocketbackend
0 likes · 12 min read
Master Go Socket and HTTP Programming: From Dial to Custom Requests
FunTester
FunTester
Mar 10, 2025 · Backend Development

Avoid These Common Go String Mistakes That Hurt Performance

This article examines six frequent Go string pitfalls—including misuse of rune, incorrect iteration, inefficient concatenation, unnecessary conversions, substring memory leaks, and improper trim functions—explaining their impact, demonstrating flawed code, and providing optimized examples to improve correctness and performance.

Gobackendbest practices
0 likes · 13 min read
Avoid These Common Go String Mistakes That Hurt Performance
Raymond Ops
Raymond Ops
Mar 6, 2025 · Backend Development

Why Switch from PHP to Go? Mastering Concurrency with WaitGroup and ErrGroup

This article explains why backend developers are moving from PHP to Go, outlines the concurrency challenges of high‑traffic live streaming services, and demonstrates two practical Go patterns—sync.WaitGroup and errgroup.Group—with code examples, while also warning about common closure pitfalls in loops.

ErrGroupGoPHP migration
0 likes · 9 min read
Why Switch from PHP to Go? Mastering Concurrency with WaitGroup and ErrGroup
FunTester
FunTester
Mar 6, 2025 · Backend Development

Common Mistakes with Go's select Statement and How to Fix Them

This article examines frequent errors when using Go's select statement—such as omitting a default case, misunderstanding case order, handling nil channels, missing timeout logic, and duplicate cases—explaining their impact, offering best‑practice guidance, and providing corrected code examples for each scenario.

GoSELECTconcurrency
0 likes · 14 min read
Common Mistakes with Go's select Statement and How to Fix Them
FunTester
FunTester
Mar 3, 2025 · Backend Development

Avoid These Hidden Go Pitfalls: Octal Literals, Integer Overflow, Float Comparison, Slices & Maps

This article reveals thirteen subtle Go programming mistakes—from octal literals and integer overflow to floating‑point comparison, slice length vs. capacity, map initialization, and value copying—providing clear explanations, real‑world analogies, and concrete best‑practice code fixes to prevent bugs and performance issues.

Gobest practicesfloating-point
0 likes · 14 min read
Avoid These Hidden Go Pitfalls: Octal Literals, Integer Overflow, Float Comparison, Slices & Maps
Ops Development & AI Practice
Ops Development & AI Practice
Mar 1, 2025 · Backend Development

Unlock Go’s Power: Master Goroutine Concurrency in Minutes

This article explains Go’s built‑in concurrency model, detailing what Goroutines are, their lightweight and user‑mode nature, advantages such as low resource consumption and fast scheduling, how to launch them with the `go` keyword, their M:N scheduler, interaction with channels, and important best‑practice considerations.

GoM:N schedulingbest practices
0 likes · 7 min read
Unlock Go’s Power: Master Goroutine Concurrency in Minutes
FunTester
FunTester
Feb 28, 2025 · Backend Development

Avoid These 16 Common Go Pitfalls: Real Code Examples and Best Practices

This article enumerates sixteen typical Go programming mistakes—from variable shadowing and unnecessary nesting to misuse of init, getters/setters, interfaces, generics, and project layout—explains their hidden impacts on readability, maintainability, and performance, and provides clear corrected code and best‑practice recommendations.

Code ReviewGoSoftware Engineering
0 likes · 27 min read
Avoid These 16 Common Go Pitfalls: Real Code Examples and Best Practices
Architecture & Thinking
Architecture & Thinking
Feb 28, 2025 · Backend Development

Mastering Gin: Build High‑Performance Go Web Services Step‑by‑Step

This guide introduces the lightweight Gin framework for Go, outlines its key features, shows how to install and set up the environment, and provides complete code examples for building a basic web service with routing, middleware, JSON handling, and controller organization, culminating in a functional API demonstration.

APIGinGo
0 likes · 10 min read
Mastering Gin: Build High‑Performance Go Web Services Step‑by‑Step
Raymond Ops
Raymond Ops
Feb 24, 2025 · Cloud Native

Mastering containerd: Architecture, Installation, and Go Demo

This article explains what containerd is, why it is needed, its technical goals and architecture, provides step‑by‑step installation on Ubuntu, shows how to configure it as a system service, and demonstrates a complete Go program that creates, runs, and cleans up a Redis container using the containerd client library.

DockerGoLinux
0 likes · 12 min read
Mastering containerd: Architecture, Installation, and Go Demo
FunTester
FunTester
Feb 22, 2025 · Backend Development

Introduction to Server-Sent Events (SSE) with Go Server and JavaScript Client

Server-Sent Events (SSE) provide a lightweight, HTTP‑based one‑way real‑time communication method, ideal for scenarios like financial data, social feeds, and log monitoring; the article explains its principles, advantages, message format, compares it with WebSockets, and offers complete Go server and JavaScript client code examples with deployment tips.

GoSSEServer‑Sent Events
0 likes · 10 min read
Introduction to Server-Sent Events (SSE) with Go Server and JavaScript Client
Radish, Keep Going!
Radish, Keep Going!
Feb 20, 2025 · Backend Development

Why Go Replaces runtime.SetFinalizer with runtime.AddCleanup and How to Use It

This article explains that Go plans to deprecate runtime.SetFinalizer in favor of the newer runtime.AddCleanup, demonstrates how to use SetFinalizer for resource cleanup before garbage collection, highlights common pitfalls such as extended lifetimes and memory leaks, and shows real‑world examples from the standard library and go‑cache.

AddCleanupGarbage CollectionGo
0 likes · 6 min read
Why Go Replaces runtime.SetFinalizer with runtime.AddCleanup and How to Use It
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 19, 2025 · Operations

Nginx UI: A Web-Based Management Interface for Nginx Servers

Nginx UI is a Go‑and‑Vue powered web interface that simplifies Nginx server configuration, offering real‑time statistics, ChatGPT assistance, one‑click deployment, automatic Let's Encrypt renewal, log viewing, configuration editing with syntax highlighting, and multiple deployment options including binary, systemd, and Docker.

DockerGoNginx
0 likes · 7 min read
Nginx UI: A Web-Based Management Interface for Nginx Servers
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Feb 17, 2025 · Backend Development

Swiss Tables in Go 1.24: Open Addressing, SIMD, and Metadata Secrets

The article explains how Go 1.24’s new Swiss Tables hash‑map implementation replaces the traditional bucket‑based design with open addressing, SIMD‑accelerated probing, and metadata separation, detailing the underlying principles, performance advantages, handling of clustering and deletions, and a comparison with previous Go maps and Java’s HashMap.

GoMetadataSIMD
0 likes · 16 min read
Swiss Tables in Go 1.24: Open Addressing, SIMD, and Metadata Secrets
Raymond Ops
Raymond Ops
Feb 15, 2025 · Backend Development

Why Switch from PHP to Go? Boosting Concurrency for Live Streaming

This article explains why backend developers are moving from PHP to Go, demonstrates how Go's built-in concurrency primitives like sync.WaitGroup and errgroup simplify high‑traffic live‑streaming services, and warns about common closure pitfalls when launching goroutines in loops.

Goclosureconcurrency
0 likes · 10 min read
Why Switch from PHP to Go? Boosting Concurrency for Live Streaming
37 Interactive Technology Team
37 Interactive Technology Team
Feb 13, 2025 · Backend Development

How to Unify Swagger2.0 Docs with GF2 Routing: A Practical Guide

This article analyzes the shortcomings of separating Swagger2.0 documentation from parameter handling in a Go backend, proposes a unified parameter definition and routing adapter for the GF framework, and demonstrates the resulting automatic OpenAPI generation with detailed code flow and visual examples.

API documentationGoSwagger
0 likes · 8 min read
How to Unify Swagger2.0 Docs with GF2 Routing: A Practical Guide
Linux Kernel Journey
Linux Kernel Journey
Feb 12, 2025 · Cloud Native

Dynamic Filtering of Function Parameters with eBPF

The article explains how to add runtime‑configurable filtering of kernel function arguments in eBPF programs by parsing a C‑style expression, validating its AST, converting it to BPF instructions using BTF metadata, and injecting the generated code into the probe, with a complete example for skb filtering.

BPFBTFGo
0 likes · 15 min read
Dynamic Filtering of Function Parameters with eBPF
Alibaba Cloud Observability
Alibaba Cloud Observability
Feb 11, 2025 · Operations

Alibaba Cloud’s Compile‑Time Go Instrumentation: A New Era for Cloud‑Native Observability

Amid the surge of cloud‑native architectures, Alibaba Cloud showcases its open‑source, compile‑time Go instrumentation that delivers non‑intrusive monitoring, richer data, and cross‑vendor standards via OpenTelemetry, while highlighting extensive community contributions and collaborations that position it as a leading force in modern observability.

Alibaba CloudCloud NativeGo
0 likes · 6 min read
Alibaba Cloud’s Compile‑Time Go Instrumentation: A New Era for Cloud‑Native Observability
Subtle Storm
Subtle Storm
Feb 11, 2025 · Backend Development

Understanding Go's defer: Purpose, Design Philosophy, and Best Practices

This article explains Go's defer keyword, covering its purpose, LIFO execution, design goals for simplifying resource management and error handling, internal implementation details, common use cases like cleanup and logging, and performance considerations with practical code examples.

Godefererror handling
0 likes · 9 min read
Understanding Go's defer: Purpose, Design Philosophy, and Best Practices
Radish, Keep Going!
Radish, Keep Going!
Feb 11, 2025 · Fundamentals

How Go 1.24’s New Spinning Mutex Boosts Performance by Up to 70%

The article explains the background of the Go mutex performance proposal, details the new spinning flag added to the mutex state, walks through fast‑path, spinning, and sleep phases of lock acquisition, presents benchmark results showing up to 70% speed‑up, and provides references for further reading.

GoRuntimeconcurrency
0 likes · 11 min read
How Go 1.24’s New Spinning Mutex Boosts Performance by Up to 70%
Go Programming World
Go Programming World
Feb 11, 2025 · Backend Development

Deep Dive into Go's sync.Map: Implementation, Usage, and Performance

An in‑depth exploration of Go’s sync.Map reveals its concurrent map implementation, covering core structures, read‑only and dirty maps, entry states, and detailed walkthroughs of Store, Load, Delete, Range, Clear, and advanced operations like LoadOrStore, CompareAndSwap, and CompareAndDelete with code examples.

Goconcurrencymap
0 likes · 30 min read
Deep Dive into Go's sync.Map: Implementation, Usage, and Performance
21CTO
21CTO
Feb 9, 2025 · Backend Development

How TikTok’s Sonic Library Supercharges Go JSON Performance

This article explains how TikTok engineers built Sonic, a high‑performance Go JSON library that leverages JIT compilation, SIMD instructions, smart memory handling, and optional features to dramatically reduce latency and memory usage compared with the standard encoding/json package, offering real‑world cost and speed benefits.

GoSIMDSONiC
0 likes · 9 min read
How TikTok’s Sonic Library Supercharges Go JSON Performance
FunTester
FunTester
Feb 8, 2025 · Backend Development

Uber Go Coding Style Guide and Best Practices

This guide outlines Uber's conventions and best practices for writing Go code, covering linting, formatting, interface usage, error handling, concurrency, performance, style, patterns, and code‑checking tools to ensure maintainable, efficient, and idiomatic backend services.

GoStyle Guidecoding standards
0 likes · 16 min read
Uber Go Coding Style Guide and Best Practices
Ops Development Stories
Ops Development Stories
Feb 6, 2025 · Cloud Native

Automate Java OOM Heapdump Collection with a Kubernetes DaemonSet

This guide explains how to automatically capture Java OOM heapdump files using a DaemonSet that watches for heapdump.prof creation, compresses and uploads them to Alibaba Cloud OSS, and notifies developers via a WeChat bot, providing a scalable, non‑intrusive solution for memory‑leak diagnostics in Kubernetes environments.

GoOOMcloud-native
0 likes · 19 min read
Automate Java OOM Heapdump Collection with a Kubernetes DaemonSet
Architect
Architect
Feb 4, 2025 · Databases

How to Detect Redis Big Keys in Real Time with Zero Code Changes

This article presents a lightweight, non‑intrusive eBPF‑based method for instantly identifying Redis big‑key operations, explains the underlying kernel and user‑space implementation, provides complete code samples, and evaluates performance before and after optimization.

GoRedisbig key detection
0 likes · 21 min read
How to Detect Redis Big Keys in Real Time with Zero Code Changes
BirdNest Tech Talk
BirdNest Tech Talk
Feb 1, 2025 · Fundamentals

Can Go Harness SIMD for High‑Performance Computing? A Deep Dive

This article examines SIMD (Single Instruction Multiple Data) technology, its relevance to Go’s performance goals, the challenges of integrating SIMD into Go’s design, current standard‑library limitations, third‑party libraries, compiler support, and practical assembly examples, concluding with prospects for future Go SIMD adoption.

AssemblyGoSIMD
0 likes · 15 min read
Can Go Harness SIMD for High‑Performance Computing? A Deep Dive
BirdNest Tech Talk
BirdNest Tech Talk
Jan 31, 2025 · Information Security

Building a Go TCP Scanner to Discover Unauthenticated ClickHouse Services

This article walks through creating a Go‑based TCP SYN scanner to locate public IPs with port 9000 open, verifies whether they run ClickHouse without authentication, and shares the full code, command‑line steps, and scan results that reveal only a handful of vulnerable instances.

ClickHouseGoOpen Source
0 likes · 16 min read
Building a Go TCP Scanner to Discover Unauthenticated ClickHouse Services
Raymond Ops
Raymond Ops
Jan 30, 2025 · Backend Development

Boost Go Performance: Memory and Concurrency Optimization Techniques

This article presents practical Go performance tips, covering memory pooling, struct merging, pre‑allocating slices and maps, reducing temporary objects, managing goroutine stacks, using goroutine pools, avoiding blocking calls, minimizing CGO usage, and efficient string handling.

GoMemoryOptimization
0 likes · 10 min read
Boost Go Performance: Memory and Concurrency Optimization Techniques
FunTester
FunTester
Jan 26, 2025 · Backend Development

Boost Go Performance: Master Stack Allocation and Cut Heap Usage

This article explains how Go developers can reduce heap allocations and improve runtime efficiency by understanding stack vs. heap, avoiding pointer and interface misuse, pre‑allocating slices, leveraging escape analysis, and reusing objects with sync.Pool.

Escape AnalysisGoMemory Management
0 likes · 8 min read
Boost Go Performance: Master Stack Allocation and Cut Heap Usage
php Courses
php Courses
Jan 23, 2025 · Backend Development

PHP vs Go: Choosing the Right Language for Your Project

This article compares PHP and Go across history, ecosystem, performance, concurrency, memory management, and typical use‑cases, providing guidance on when to select PHP for rapid web development or Go for high‑performance, cloud‑native and distributed systems.

ComparisonGoPHP
0 likes · 21 min read
PHP vs Go: Choosing the Right Language for Your Project
Raymond Ops
Raymond Ops
Jan 22, 2025 · Backend Development

10 Essential Go Practices to Write Flexible, Maintainable Code

This article presents ten practical Go programming techniques—from using a single GOPATH and wrapping for‑select loops to defining custom types, improving enum handling with iota, and encapsulating repetitive logic with context helpers—aimed at building flexible, readable, and easily maintainable applications.

Code OrganizationGOPATHGo
0 likes · 14 min read
10 Essential Go Practices to Write Flexible, Maintainable Code
Radish, Keep Going!
Radish, Keep Going!
Jan 20, 2025 · Fundamentals

Boost Go Performance: When to Use Reflection and How to Optimize It

This article explains Go's reflect package, shows how reflection can simplify configuration loading, benchmarks the performance cost of reflection versus direct field access, and provides practical tips such as avoiding reflection in hot paths and using indexed field access with caching to dramatically improve speed.

GoOptimizationbenchmark
0 likes · 10 min read
Boost Go Performance: When to Use Reflection and How to Optimize It
Go Programming World
Go Programming World
Jan 17, 2025 · Backend Development

A Quick Guide to Go's os/exec Package: Running External Commands and Real‑World Use Cases

This article introduces Go's built‑in os/exec package, explains its exported types and methods, demonstrates how to run commands synchronously or in the background, capture output, handle pipes, environment variables, working directories, and shows a practical case study using the tempredis library to start a Redis server programmatically.

GoProcess ManagementRedis
0 likes · 21 min read
A Quick Guide to Go's os/exec Package: Running External Commands and Real‑World Use Cases
BirdNest Tech Talk
BirdNest Tech Talk
Jan 16, 2025 · Backend Development

How to Organize a Go Project for Clean, Maintainable Code

This guide explains why structuring Go code by packages, layers, and standard directories—using conventions like cmd, internal, pkg, and clear interface boundaries—improves readability, testability, and long‑term maintainability while avoiding common pitfalls such as circular dependencies and oversized files.

Code OrganizationDependency ManagementGo
0 likes · 30 min read
How to Organize a Go Project for Clean, Maintainable Code
Radish, Keep Going!
Radish, Keep Going!
Jan 16, 2025 · Backend Development

How Hedged Requests Cut Tail Latency in Go Microservices

This article explains the hedged request pattern used by Google to combat microservice tail latency, shows how to implement it in Go with context and goroutines, discusses its impact on latency and load, and explores additional techniques such as SingleFlight and service‑class prioritization to further reduce tail delays.

Backend PerformanceGoMicroservices
0 likes · 6 min read
How Hedged Requests Cut Tail Latency in Go Microservices
macrozheng
macrozheng
Jan 16, 2025 · Operations

Master Superfile: A Stunning Terminal File Manager for Linux

This guide introduces Superfile, a modern, visually striking terminal file manager built with Go and Bubble Tea, walks through its installation on Linux, explains its interface layout, and details the essential keyboard shortcuts for efficient file navigation and manipulation.

File ManagerGoLinux
0 likes · 7 min read
Master Superfile: A Stunning Terminal File Manager for Linux
BirdNest Tech Talk
BirdNest Tech Talk
Jan 15, 2025 · Backend Development

Data Race vs Race Condition in Go: Clear Differences and How to Fix Them

The article explains the distinction between a data race—simultaneous unsynchronized memory access by goroutines—and a race condition—logic errors caused by timing dependencies—using Go code examples, demonstrates how to reproduce each issue, and shows how mutexes or atomic operations can resolve them.

Data RaceGoatomic
0 likes · 5 min read
Data Race vs Race Condition in Go: Clear Differences and How to Fix Them
Radish, Keep Going!
Radish, Keep Going!
Jan 14, 2025 · Backend Development

How to Detect Inactive Uber Drivers Without Third‑Party Tools: Go Time‑Wheel Solution

This article explores multiple in‑memory strategies—using a simple map with timers, per‑driver goroutine management, and especially a Go‑implemented timing wheel—to identify Uber drivers who haven’t reported for ten minutes, comparing their complexities, memory usage, and suitability for large‑scale systems.

GoIn-Memoryheartbeat
0 likes · 12 min read
How to Detect Inactive Uber Drivers Without Third‑Party Tools: Go Time‑Wheel Solution