Tagged articles
1622 articles
Page 5 of 17
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.

ChannelGoM:N scheduling
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 reviewGobest practices
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.

GoReal-TimeSSE
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.

GoSIMDhash map
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 documentationBackendGF framework
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
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.

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

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

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

GoPerformance Monitoringbig 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.

GoTCP scanningclickhouse
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.

GOPATHGocode organization
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.

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

Goexternal commandsos/exec
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.

GoProject Structurebest practices
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.

Bubble TeaGoLinux
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.

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

GoHeartbeatIn-Memory
0 likes · 12 min read
How to Detect Inactive Uber Drivers Without Third‑Party Tools: Go Time‑Wheel Solution
BirdNest Tech Talk
BirdNest Tech Talk
Jan 14, 2025 · Fundamentals

Master Go Naming: 30+ Rules for Clean, Idiomatic Code

This article presents a comprehensive, step‑by‑step analysis of Go naming conventions, explaining why each rule matters, illustrating each point with concrete code snippets and real‑world examples, and showing how to apply the guidelines to variables, functions, packages, structs, interfaces, errors, constants, enums and comments for truly clean Go code.

Gobest practicesclean code
0 likes · 24 min read
Master Go Naming: 30+ Rules for Clean, Idiomatic Code
Raymond Ops
Raymond Ops
Jan 13, 2025 · Cloud Native

How Docker Transforms Go Web App Development and Deployment

This tutorial explains how to containerize a simple Go web application with Docker, set up a development workflow using Docker and Bee, build and run images, and automate continuous integration and deployment with Semaphore, covering prerequisites, Dockerfile creation, testing, and production deployment steps.

DockerGoWeb Development
0 likes · 23 min read
How Docker Transforms Go Web App Development and Deployment
php Courses
php Courses
Jan 13, 2025 · Backend Development

Building GraphQL Services with Go: Course Overview

This course teaches developers with Go experience how to design and implement GraphQL APIs, covering fundamentals, server construction, request handling, schema definition, and practical deployment techniques to enhance data interaction flexibility and efficiency.

APIGoGraphQL
0 likes · 2 min read
Building GraphQL Services with Go: Course Overview
Radish, Keep Going!
Radish, Keep Going!
Jan 13, 2025 · Fundamentals

Can Go’s New ‘?’ Operator Simplify Error Handling?

The proposal introduces a ‘?’ operator to automatically handle errors in Go, aiming to reduce boilerplate while preserving explicitness, but it raises concerns about code readability, variable shadowing, and the effort required to update existing codebases.

Error HandlingGolanguage proposal
0 likes · 8 min read
Can Go’s New ‘?’ Operator Simplify Error Handling?
FunTester
FunTester
Jan 10, 2025 · Backend Development

Seamlessly Call Go Functions from Java Using JNI: A Step‑by‑Step Guide

Learn how to integrate Go and Java by compiling Go code into a shared library, exposing functions via cgo and JNI, and invoking them from Java with detailed setup, code examples, handling of primitive and complex data types, and full build‑and‑run instructions.

GoInteroperabilityJNI
0 likes · 12 min read
Seamlessly Call Go Functions from Java Using JNI: A Step‑by‑Step Guide
Radish, Keep Going!
Radish, Keep Going!
Jan 9, 2025 · Backend Development

Why Go’s Simple Design Sparks Both Praise and Criticism

An in‑depth look at Go’s origins, design goals, and the trade‑offs that provoke both admiration for its simplicity in large‑scale server development and criticism over its limited generics, file‑system API, error handling, and FFI capabilities.

DesignGoProgramming Language
0 likes · 13 min read
Why Go’s Simple Design Sparks Both Praise and Criticism
BirdNest Tech Talk
BirdNest Tech Talk
Jan 6, 2025 · Backend Development

Mastering Go’s net Package: Listener, Dial, and Conn Functions Explained

This comprehensive guide walks through Go’s net package, detailing how Listener functions create servers, how Dial functions initiate client connections, the nuances of network and address formats, and the behavior of various Conn types such as TCPConn, UDPConn, IPConn, and RawConn, complete with code examples and best‑practice tips.

GoNetwork programmingTCP
0 likes · 32 min read
Mastering Go’s net Package: Listener, Dial, and Conn Functions Explained
Radish, Keep Going!
Radish, Keep Going!
Jan 6, 2025 · Information Security

How Much Data Does a Simple HTTPS Request Actually Transfer?

Using a local Go server and Wireshark, the author measured that a basic HTTPS request transmits 2,164 bytes—about ten times more than an equivalent HTTP request—revealing the bandwidth impact of TLS handshakes and suggesting when HTTP may be preferable for internal, non‑sensitive traffic.

GoHTTPSTLS
0 likes · 4 min read
How Much Data Does a Simple HTTPS Request Actually Transfer?
BirdNest Tech Talk
BirdNest Tech Talk
Jan 6, 2025 · Fundamentals

Mastering Go Concurrency: From Basics to Advanced Patterns

This article outlines a comprehensive guide to Go's concurrency model, covering fundamental concepts, goroutine scheduling, synchronization primitives, channel communication, common patterns, deadlock avoidance techniques, and performance‑optimizing mechanisms with concrete code examples and step‑by‑step explanations.

ChannelsGoGoroutine
0 likes · 13 min read
Mastering Go Concurrency: From Basics to Advanced Patterns
IT Services Circle
IT Services Circle
Jan 1, 2025 · Backend Development

Go 1.24 Introduces Generic Type Alias Support

The article explains how Go 1.24 finally enables type aliases to have their own generic type parameters, provides background on the previous limitation, demonstrates usage with concrete code examples, and notes the experimental flag required in Go 1.23.

GenericsGoGo1.24
0 likes · 5 min read
Go 1.24 Introduces Generic Type Alias Support
Raymond Ops
Raymond Ops
Dec 31, 2024 · Operations

Why Go’s GC Skips Scanning Pointer‑Free Objects and How It Boosts Performance

This article explains the Go runtime’s garbage‑collector optimization that skips scanning objects without pointers, describes how the noscan flag is set during memory allocation, shows the code paths that enforce the skip, benchmarks the performance gain, and offers practical tips for applying the technique in real‑world Go programs.

Garbage CollectionGoMemory Management
0 likes · 20 min read
Why Go’s GC Skips Scanning Pointer‑Free Objects and How It Boosts Performance
FunTester
FunTester
Dec 30, 2024 · Backend Development

Top Go Frameworks and Libraries in 2024: Gin, Beego, Echo, Buffalo, and GORM

This article reviews five leading Go frameworks and libraries—Gin, Beego, Echo, Buffalo, and GORM—detailing their core features, typical use cases, and reasons to choose each, helping developers select the most suitable tools for modern backend and full‑stack development in 2024.

BackendBeegoBuffalo
0 likes · 15 min read
Top Go Frameworks and Libraries in 2024: Gin, Beego, Echo, Buffalo, and GORM
Tencent Cloud Developer
Tencent Cloud Developer
Dec 24, 2024 · Backend Development

From Java to Go: Key Differences Every Developer Must Know

This article compares Java and Go across syntax simplicity, type systems, object‑oriented features, pointers, error handling, concurrency, reflection, and community culture, providing concrete code examples and practical insights to help Java developers transition smoothly to Go.

Error HandlingGobackend-development
0 likes · 14 min read
From Java to Go: Key Differences Every Developer Must Know
Alibaba Cloud Observability
Alibaba Cloud Observability
Dec 24, 2024 · Operations

How to Achieve Full Observability for Go Apps Without Intrusive Agents

This article compares three Go observability solutions—SDK instrumentation, eBPF‑based monitoring, and compile‑time code injection—explaining their mechanisms, open‑source implementations, trade‑offs, and why Alibaba Cloud's Instgo compile‑time approach offers a low‑overhead, non‑intrusive APM alternative.

Cloud NativeGoInstrumentation
0 likes · 11 min read
How to Achieve Full Observability for Go Apps Without Intrusive Agents
Linux Kernel Journey
Linux Kernel Journey
Dec 24, 2024 · Operations

How to Use tcpw with eBPF to Capture Curl’s Five‑Tuple Information

This article introduces tcpw, a small eBPF‑based utility that traces TCP, UDP, and Unix‑domain sockets to display the five‑tuple of commands like curl or telnet, explains its command‑line options, shows concrete usage examples, and details the underlying BPF and Go implementation, including connect, accept, and fork tracing.

GoLinux tracingaccept
0 likes · 8 min read
How to Use tcpw with eBPF to Capture Curl’s Five‑Tuple Information
Radish, Keep Going!
Radish, Keep Going!
Dec 23, 2024 · Backend Development

Speed Up Go Cache Expiration Tests with testing/synctest

This article explains how Go's testing/synctest experiment speeds up cache expiration tests by using a virtual clock and bubble isolation, providing code examples that reduce a five‑second wait to milliseconds while ensuring reliable concurrent test execution.

Goconcurrencygo-cache
0 likes · 7 min read
Speed Up Go Cache Expiration Tests with testing/synctest
21CTO
21CTO
Dec 22, 2024 · Backend Development

How to Structure a Go Project from Scratch: A Step‑by‑Step Guide

This tutorial walks new Go developers through naming a project, initializing a module, creating the essential directory layout and files, adding tests, and building a simple CLI while emphasizing Go's KISS and YAGNI principles.

GoProject Structurebackend-development
0 likes · 8 min read
How to Structure a Go Project from Scratch: A Step‑by‑Step Guide
BirdNest Tech Talk
BirdNest Tech Talk
Dec 16, 2024 · Backend Development

Five Ways to Build a Broadcast Notifier in Go

This article examines five Go implementations of a broadcast notifier—using sync.Cond, channels, context, sync.WaitGroup, and sync.RWMutex—detailing their code, execution flow, and trade‑offs so readers can understand how each primitive achieves notification broadcasting.

ChannelGobroadcast
0 likes · 9 min read
Five Ways to Build a Broadcast Notifier in Go
Java Tech Enthusiast
Java Tech Enthusiast
Dec 15, 2024 · Fundamentals

Postfix Type Declarations in Modern Programming Languages

Postfix type declarations, as seen in modern languages such as Go and Rust, place the type after the variable name—a style the author links to cultural naming conventions, arguing it highlights identifiers and can enhance readability after compilation, a practice historically validated by Pascal and Delphi.

GoRustType Position
0 likes · 4 min read
Postfix Type Declarations in Modern Programming Languages
Java Tech Enthusiast
Java Tech Enthusiast
Dec 8, 2024 · Backend Development

Performance Comparison of Spring Boot Native Image, JAR, Go, and Rust Deployments

The article benchmarks a Spring Boot 3 service as a GraalVM native image, a traditional JAR, and Go and Rust versions, showing the native binary starts in under a second with ~70 MB memory and 7 k requests/s, the JAR needs seconds and 200 MB, while Go and Rust use 10 MB and 3 MB respectively with throughput, illustrating native images’ fast startup and lower runtime footprint despite longer compilation.

GoRustSpring Boot
0 likes · 9 min read
Performance Comparison of Spring Boot Native Image, JAR, Go, and Rust Deployments
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 8, 2024 · Backend Development

Designing an Elegant Error‑Handling Framework for Go Applications

This article analyses the pitfalls of traditional error‑checking and panic handling in Go order‑processing code, demonstrates how excessive inline checks and scattered defer statements lead to maintenance nightmares, and proposes a reusable try‑catch‑finally library that cleanly separates business logic, unifies panic recovery, and guarantees resource cleanup.

Error HandlingGoResource Management
0 likes · 19 min read
Designing an Elegant Error‑Handling Framework for Go Applications
Radish, Keep Going!
Radish, Keep Going!
Dec 6, 2024 · Backend Development

How BigCache Achieves Ultra‑Fast In‑Memory Caching in Go

This article explains how the Go library BigCache uses sharding, efficient hash functions, and memory‑optimised data structures to deliver high‑concurrency, low‑latency caching, while avoiding GC bottlenecks and providing practical code examples and performance benchmarks.

GoMemory Optimizationbigcache
0 likes · 12 min read
How BigCache Achieves Ultra‑Fast In‑Memory Caching in Go
BirdNest Tech Talk
BirdNest Tech Talk
Dec 6, 2024 · Backend Development

Go vs Rust Concurrency: Stackful vs Stackless Coroutines and Memory Impact

The article compares Go’s stackful, green‑thread model with Rust’s stackless, future‑based approach, explaining how each runtime schedules tasks, the memory overhead of goroutine stacks (2 KiB minimum in Go 1.22), the challenges of async‑await integration, and why Rust’s performance gains come with a fragmented ecosystem.

AsyncCoroutinesGo
0 likes · 8 min read
Go vs Rust Concurrency: Stackful vs Stackless Coroutines and Memory Impact
Linux Kernel Journey
Linux Kernel Journey
Nov 30, 2024 · Fundamentals

How a SIGPIPE Signal Crashed Our Service and the Fix We Applied

During a gray‑release, a Go‑Rust service repeatedly crashed when a dependent process was hot‑upgraded; the root cause was an unhandled SIGPIPE signal generated by the kernel on a broken TCP connection, which terminated the process without a core dump, and the article explains the kernel mechanics and the solution of ignoring SIGPIPE.

GoLinux signalsRust
0 likes · 16 min read
How a SIGPIPE Signal Crashed Our Service and the Fix We Applied
Go Programming World
Go Programming World
Nov 25, 2024 · Backend Development

Understanding Go's singleflight: Request Merging, Implementation and Use Cases

singleflight, a Go concurrency primitive from the x/sync package, merges duplicate in‑flight requests to reduce server load, with detailed usage examples, source code analysis, and discussion of its differences from sync.Once and typical application scenarios such as cache‑penetration, remote calls, and task deduplication.

CacheGoSingleflight
0 likes · 26 min read
Understanding Go's singleflight: Request Merging, Implementation and Use Cases
BirdNest Tech Talk
BirdNest Tech Talk
Nov 20, 2024 · Backend Development

How to Build High‑Performance RDMA Applications in Go with rsocket

This article explains the fundamentals of RDMA, compares libibverbs and rdma_cm with the user‑space rsocket API, and walks through a complete Go implementation using the smallnest/rsocket library, including both server and client code examples and practical deployment tips.

GoNetwork programmingRDMA
0 likes · 13 min read
How to Build High‑Performance RDMA Applications in Go with rsocket
php Courses
php Courses
Nov 20, 2024 · Backend Development

Go Language GraphQL Service Development Course Overview

This course teaches developers with basic Go knowledge how to build GraphQL services, covering fundamentals, schema design, request handling, and practical integration using Go, while comparing graphql-go and gqlgen and demonstrating deployment with Drone CI/CD.

APIGoGraphQL
0 likes · 5 min read
Go Language GraphQL Service Development Course Overview
Cognitive Technology Team
Cognitive Technology Team
Nov 19, 2024 · Operations

Compile-Time Automatic Instrumentation for Go Applications: Principles, Modular Extensions, and Practical Usage

This article introduces a zero‑intrusive compile‑time automatic instrumentation framework for Go, explains its preprocessing and code‑injection mechanisms, and provides modular extension principles with concrete examples such as HTTP header logging, sort algorithm replacement, SQL injection protection, and gRPC traffic control.

Automatic InstrumentationGoModular Extension
0 likes · 18 min read
Compile-Time Automatic Instrumentation for Go Applications: Principles, Modular Extensions, and Practical Usage
Tencent Cloud Developer
Tencent Cloud Developer
Nov 19, 2024 · Backend Development

Ten Common Interface Performance Optimization Techniques

Ten practical techniques—early validation, batch queries, asynchronous processing, parallel execution, caching, connection pooling, response compression, message‑queue decoupling, security best practices, and reusable design patterns—collectively reduce latency, boost throughput, and improve scalability of high‑concurrency interfaces.

Design PatternsGoMessage Queue
0 likes · 29 min read
Ten Common Interface Performance Optimization Techniques
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 19, 2024 · Operations

Zero‑Intrusion Go Instrumentation: Auto‑Inject Monitoring & Governance

This article introduces a compile‑time, zero‑intrusion auto‑instrumentation technique for Go applications that enables seamless monitoring, service governance, security checks, and traffic protection through modular JSON‑driven code injection, with practical examples covering HTTP headers, sorting algorithms, SQL injection prevention, and gRPC traffic control.

Code InjectionGoInstrumentation
0 likes · 17 min read
Zero‑Intrusion Go Instrumentation: Auto‑Inject Monitoring & Governance
Java Architecture Stack
Java Architecture Stack
Nov 18, 2024 · Fundamentals

Inside Go’s Runtime: How mcache and mheap Manage Memory

This article provides a detailed technical analysis of Go's runtime memory management, covering the initialization of the mheap structure, small‑object allocation via mcache, large‑object handling, the three‑color mark‑and‑sweep garbage collector, memory release mechanisms, and the optimization techniques that coordinate mcache and mheap for efficient concurrent execution.

Garbage CollectionGoMemory Management
0 likes · 12 min read
Inside Go’s Runtime: How mcache and mheap Manage Memory
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 18, 2024 · Cloud Native

Developing a Custom Kubernetes Controller for Flink Task Scheduling

This article provides a step‑by‑step guide to building a custom Kubernetes controller in Go that uses Prometheus metrics to intelligently schedule Flink TaskManager Pods, covering the underlying scheduler concepts, code implementation, Docker image creation, RBAC setup, deployment, testing, and advanced considerations.

Cloud NativeCustom SchedulerFlink
0 likes · 38 min read
Developing a Custom Kubernetes Controller for Flink Task Scheduling
Tencent Cloud Developer
Tencent Cloud Developer
Nov 5, 2024 · Backend Development

Understanding and Optimizing Go Performance with pprof and trace Tools

The article teaches Go developers how to generate and analyze CPU, heap, allocation, and goroutine profiles with pprof and full‑runtime traces, interpret SVG flame‑graphs, top lists, and source views, and apply concrete optimizations—such as buffering channels and using sync.Pool—to dramatically speed up a Mandelbrot generator.

GoGoroutineHeap Analysis
0 likes · 58 min read
Understanding and Optimizing Go Performance with pprof and trace Tools
php Courses
php Courses
Nov 4, 2024 · Backend Development

From PHP Frameworks to Go: Embracing Simplicity Over Perfection

The article reflects on how perfectionism can hinder progress and contrasts the framework‑heavy, ecosystem‑rich world of PHP with Go's minimalist, low‑level approach, arguing that a sufficiently good solution and simplicity often outweigh the pursuit of an unattainable ideal.

GoPHPProgramming Philosophy
0 likes · 7 min read
From PHP Frameworks to Go: Embracing Simplicity Over Perfection
dbaplus Community
dbaplus Community
Oct 29, 2024 · Databases

Why UUID v7 Beats UUID v4 as a Clustered Index – Performance Test Results

This article compares UUID v4 and UUID v7 as clustered index keys, explains their structures, lists pros and cons, describes a Docker‑based MySQL experiment using Node.js and Go, presents single‑ and multi‑thread insertion timings, and analyses why the time‑ordered UUID v7 (and serial IDs) outperform random UUID v4.

Clustered IndexDockerGo
0 likes · 14 min read
Why UUID v7 Beats UUID v4 as a Clustered Index – Performance Test Results