Tagged articles
1622 articles
Page 6 of 17
Top Architect
Top Architect
Oct 24, 2024 · Backend Development

tldb Distributed Lock: Usage Guide for Go and Java

This article introduces tldb's distributed lock mechanism, explains lock, trylock, and unlock methods, and provides step‑by‑step Go and Java client examples—including code snippets—for acquiring and releasing locks in a multi‑language environment.

GoMessage Queuejava
0 likes · 10 min read
tldb Distributed Lock: Usage Guide for Go and Java
FunTester
FunTester
Oct 24, 2024 · Backend Development

Using gopkg.in/yaml.v3 for YAML Parsing and Generation in Go

This article introduces the YAML format, outlines its syntax rules, and demonstrates how the Go library gopkg.in/yaml.v3 can be used for parsing and generating YAML files, including basic examples, advanced struct mapping, and a summary of its key advantages for backend development.

GoYAMLparsing
0 likes · 9 min read
Using gopkg.in/yaml.v3 for YAML Parsing and Generation in Go
BirdNest Tech Talk
BirdNest Tech Talk
Oct 20, 2024 · Fundamentals

Unveiling Go’s runq: Lock‑Free Queues Behind the Scheduler

This article dissects Go's runtime GPM model and the lock‑free runq data structure, detailing its fields, core operations such as runqput, runqget, runqgrab, and their atomic implementations, while also comparing local and global queues and illustrating the code paths with concrete examples.

Data StructuresGoRuntime
0 likes · 24 min read
Unveiling Go’s runq: Lock‑Free Queues Behind the Scheduler
Java Tech Enthusiast
Java Tech Enthusiast
Oct 20, 2024 · Backend Development

Why C++ Candidates Struggle in Backend Development Jobs and How to Improve

C++ graduates often fail backend interviews at major internet firms because those companies favor Java or Go and expect experience with databases, caches, and message queues, so candidates should either acquire those backend skills, switch to the dominant languages, or target C++‑friendly domains such as embedded, AV, gaming, or client‑side networking.

C++Gobackend-development
0 likes · 8 min read
Why C++ Candidates Struggle in Backend Development Jobs and How to Improve
MaGe Linux Operations
MaGe Linux Operations
Oct 16, 2024 · Information Security

How to Build a Unified Enterprise SSO System with Go and Vue

This guide explains the challenges of multiple logins in enterprises, introduces Single Sign‑On concepts and protocols, and provides a step‑by‑step deployment of an open‑source Go‑Vue SSO solution, covering authentication methods, supported protocols, security features, and Docker‑based installation.

AuthenticationDockerGo
0 likes · 8 min read
How to Build a Unified Enterprise SSO System with Go and Vue
IT Services Circle
IT Services Circle
Oct 15, 2024 · Backend Development

Why C++ Graduates Struggle to Land Backend Development Jobs in Internet Companies and How to Improve Their Prospects

The article analyzes why C++‑focused graduates receive few backend interview opportunities at major internet firms, highlights the mismatch between C++ skill sets and common backend components, and offers practical advice on switching languages or augmenting projects to better align with industry demands.

C++GoJob Hunting
0 likes · 10 min read
Why C++ Graduates Struggle to Land Backend Development Jobs in Internet Companies and How to Improve Their Prospects
FunTester
FunTester
Oct 15, 2024 · Backend Development

Generate Realistic Test Data in Go with the GoFakeIt Library

This article introduces GoFakeIt, a lightweight Go library for quickly generating diverse fake data—personal, address, financial, network, and more—explains its key features, shows how to install it via go get, and provides practical code examples for each data type.

BackendData GenerationFake Data
0 likes · 13 min read
Generate Realistic Test Data in Go with the GoFakeIt Library
BirdNest Tech Talk
BirdNest Tech Talk
Oct 14, 2024 · Backend Development

Why Go’s lock‑free PoolDequeue outperforms channels by 10×

This article examines Go’s internal lock‑free single‑producer multi‑consumer queues—PoolDequeue and its dynamic extension PoolChain—detailing their design, atomic operations, and benchmark comparisons that show they can be up to ten times faster than standard channels in a producer‑consumer workload.

GoQueuebenchmark
0 likes · 13 min read
Why Go’s lock‑free PoolDequeue outperforms channels by 10×
FunTester
FunTester
Oct 14, 2024 · Backend Development

Mastering Go Benchmarking: A Practical Guide to Performance Testing

This article introduces Go's benchmarking framework, explains its purpose and best practices, provides step‑by‑step code examples for measuring string concatenation performance, shows how to run benchmarks from the command line, and teaches how to interpret the detailed test reports.

BackendBenchmarkingCode Optimization
0 likes · 11 min read
Mastering Go Benchmarking: A Practical Guide to Performance Testing
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 13, 2024 · Backend Development

ByteDance Service Framework: Compile‑Time Merged Microservices – Practices, Challenges, and Solutions

This article presents ByteDance's compile‑time microservice merging technique, describing its background, performance benefits, technical challenges such as dependency isolation and call conversion, the implemented solutions, selection criteria, large‑scale impact, and future directions for service architecture governance.

GoMicroservicecompile-time merging
0 likes · 14 min read
ByteDance Service Framework: Compile‑Time Merged Microservices – Practices, Challenges, and Solutions
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 11, 2024 · Backend Development

Avoid Common Go Middleware Pitfalls: Lessons from Alibaba’s Experience

This article shares the most frequent Go middleware pitfalls encountered at Alibaba, explains their root causes—from uneven request distribution and CPU leaks to transaction mishandling and SQL incompatibilities—and provides concrete solutions and best‑practice recommendations to help developers avoid repeating these errors.

GoTransactionsmiddleware
0 likes · 20 min read
Avoid Common Go Middleware Pitfalls: Lessons from Alibaba’s Experience
FunTester
FunTester
Oct 10, 2024 · Backend Development

Unlocking Go's Power: How Goja Brings JavaScript to Your Go Apps

This article explores Goja, a pure‑Go JavaScript engine, detailing its features, integration with the K6 load‑testing tool, and practical code examples for embedding scripts, passing values, handling structs, invoking Go functions, error handling, and VM pooling to achieve high performance in Go applications.

EmbeddingGoGoja
0 likes · 14 min read
Unlocking Go's Power: How Goja Brings JavaScript to Your Go Apps
BirdNest Tech Talk
BirdNest Tech Talk
Oct 9, 2024 · Fundamentals

Unlocking the Power of Bit Manipulation: Real‑World Uses and Go Tips

This article explains why bit manipulation is a staple technique in computer science, detailing performance gains, state flag encoding, mask operations, data compression, cryptography, image processing, hash structures, binary counting, and algorithm design, with practical Go examples.

GoHashingImage Processing
0 likes · 3 min read
Unlocking the Power of Bit Manipulation: Real‑World Uses and Go Tips
ByteDance Cloud Native
ByteDance Cloud Native
Oct 8, 2024 · Backend Development

How Merge Compilation Supercharges ByteDance’s Microservices: Performance Gains and Technical Challenges

This article explains ByteDance’s merge‑compilation technique that combines multiple microservices into a single binary at build time, detailing its performance benefits, architectural trade‑offs, dependency isolation, call conversion, version management, real‑world case studies, and future roadmap for large‑scale service optimization.

GoKitexMicroservices
0 likes · 15 min read
How Merge Compilation Supercharges ByteDance’s Microservices: Performance Gains and Technical Challenges
BirdNest Tech Talk
BirdNest Tech Talk
Oct 4, 2024 · Fundamentals

Weak Pointers Across Go, Rust, Java, and C#: Design, Implementation, and Use Cases

This article examines the concept of weak pointers and weak references in Go, Rust, Java, and C#, comparing their implementations, explaining their memory‑management semantics, presenting concrete code examples, and discussing the upcoming Go weak‑pointer proposal and practical scenarios such as caching and event handling.

Garbage CollectionGoMemory Management
0 likes · 14 min read
Weak Pointers Across Go, Rust, Java, and C#: Design, Implementation, and Use Cases
MaGe Linux Operations
MaGe Linux Operations
Sep 30, 2024 · Fundamentals

Master Go Packages, Imports, Variables, and Constants in Minutes

This article explains Go's core concepts, covering package definitions and imports, variable declaration styles and scopes, as well as constant usage with iota, providing clear examples and code snippets to help developers understand and apply these fundamentals effectively.

ConstantsGoPackages
0 likes · 8 min read
Master Go Packages, Imports, Variables, and Constants in Minutes
DeWu Technology
DeWu Technology
Sep 30, 2024 · Backend Development

Automated Performance Profiling for Go Services with Conan

Conan is an automated profiling solution for Go microservices that embeds an SDK to continuously or adaptively sample CPU, memory and goroutine metrics, detects anomalies via user‑defined rules, uploads data to a Pyroscope server, and reports results through Feishu or Pyroscope, delivering sub‑5 % overhead and faster root‑cause analysis.

GoPyroscopeautomation
0 likes · 16 min read
Automated Performance Profiling for Go Services with Conan
Infra Learning Club
Infra Learning Club
Sep 27, 2024 · Cloud Native

Inside Kubelet: How Pod Admission Works

This article dissects Kubelet's Pod admission pipeline, explaining how syncLoopIteration gathers pod data, how HandlePodAdditions invokes canAdmitPod, and how six registered admit handlers—Eviction, System Allowlist, Resource Allocation, Predicate, AppArmor, and Shutdown—evaluate each pod with concrete code examples and decision logic.

Admission HandlersGoKubernetes
0 likes · 14 min read
Inside Kubelet: How Pod Admission Works
Top Architect
Top Architect
Sep 24, 2024 · Backend Development

Guide to Using tldb Distributed Locks with Go and Java

This article introduces tldb's distributed lock mechanism, explains lock, trylock, and unlock methods, provides Go and Java client examples, and also includes promotional information about ChatGPT services and a developer community for developers.

GoMQjava
0 likes · 10 min read
Guide to Using tldb Distributed Locks with Go and Java
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 22, 2024 · Backend Development

Designing a High‑Performance bytes.Buffer Pool for GWS in Go

This article explores the internal structure and growth mechanism of Go's bytes.Buffer, demonstrates how the GWS library replaces gorilla/websocket, and presents a high‑performance bytes.Buffer pool implementation using sync.Pool with power‑of‑two sizing to reduce allocations and improve concurrency in backend services.

Gobytes.Buffermemory pool
0 likes · 25 min read
Designing a High‑Performance bytes.Buffer Pool for GWS in Go
Architecture Development Notes
Architecture Development Notes
Sep 20, 2024 · Fundamentals

Go vs Rust: Which Language Wins for Your Next Project?

An in‑depth guide compares Go and Rust across memory management, learning curve, concurrency, ecosystem, performance, developer experience, and real‑world use cases, helping developers decide which language best fits cloud‑native services, system programming, web development, game development, or DevOps tools.

GoRustcloud-native
0 likes · 18 min read
Go vs Rust: Which Language Wins for Your Next Project?
Go Development Architecture Practice
Go Development Architecture Practice
Sep 18, 2024 · Backend Development

Boost Your Go Skills: 17 Must‑Try Open‑Source Projects & Libraries

This article curates a collection of essential Go open‑source projects—including core libraries like Gin, go‑zero, and GORM, middleware such as etcd and Kubernetes, learning roadmaps, and useful resources—providing brief descriptions, star counts, and direct GitHub URLs to help developers deepen their Go expertise.

GoResourceslibraries
0 likes · 5 min read
Boost Your Go Skills: 17 Must‑Try Open‑Source Projects & Libraries
BirdNest Tech Talk
BirdNest Tech Talk
Sep 12, 2024 · Fundamentals

Mastering eBPF with CO-RE: From Basics to Go Implementation

This article introduces eBPF fundamentals, explains the Compile‑Once‑Run‑Everywhere (CO‑RE) approach, compares it with traditional eBPF, outlines best practices, and walks through a complete Go‑based example using the Cilium/eBPF library and the eunomia‑bpf runtime.

CO-RECiliumGo
0 likes · 14 min read
Mastering eBPF with CO-RE: From Basics to Go Implementation
BirdNest Tech Talk
BirdNest Tech Talk
Sep 11, 2024 · Cloud Native

How to Build a Complete eBPF Development Environment on Ubuntu

This guide walks through the purpose, advantages, required Linux packages, Go libraries, exact installation commands, and version details needed to set up a functional eBPF development environment on an Ubuntu system, while explaining each step’s rationale.

Cloud NativeDevelopment EnvironmentGo
0 likes · 10 min read
How to Build a Complete eBPF Development Environment on Ubuntu
Tencent Cloud Developer
Tencent Cloud Developer
Sep 10, 2024 · Fundamentals

Why Does This Go Code Block? Uncovering Channel and Select Pitfalls

This article analyzes a Go program that deadlocks due to misuse of unbuffered channels and select, explains the underlying behavior of channels, blocking conditions, and select semantics, and provides a simple fix by buffering the stop channel while also covering Go's CSP roots and best‑practice guidelines.

ChannelGoGoroutine
0 likes · 20 min read
Why Does This Go Code Block? Uncovering Channel and Select Pitfalls
BirdNest Tech Talk
BirdNest Tech Talk
Sep 9, 2024 · Backend Development

Unlock Advanced Network Diagnostics in Go with Mule: UDP & ICMP Made Easy

Mule is a Go library that lets developers craft custom UDP packets, capture ICMP unreachable responses, and perform low‑level network diagnostics such as port scanning, topology mapping, and security testing, offering fine‑grained control through raw socket operations and a net.Conn‑compatible API.

GoICMPLibrary
0 likes · 7 min read
Unlock Advanced Network Diagnostics in Go with Mule: UDP & ICMP Made Easy
php Courses
php Courses
Sep 9, 2024 · Backend Development

Building GraphQL Services with Go: Course Overview

This course teaches developers with basic Go knowledge how to design and implement GraphQL servers, covering core GraphQL concepts, Go integration, practical examples, CI/CD deployment, and tools like gqlgen and GraphQL Playground to create modern, flexible APIs.

APIGoGraphQL
0 likes · 2 min read
Building GraphQL Services with Go: Course Overview
Linux Kernel Journey
Linux Kernel Journey
Sep 7, 2024 · Operations

Building and Running an eBPF Application – Part 1

This article walks through creating a first eBPF program using C and Go on Ubuntu 22.04, covering required dependencies, kernel‑space vs user‑space concepts, event selection, BPF map definition, and a tracepoint function that measures per‑process CPU time.

BPF mapsGoLinux
0 likes · 11 min read
Building and Running an eBPF Application – Part 1
Ops Development & AI Practice
Ops Development & AI Practice
Sep 6, 2024 · Backend Development

How to Split Large Files on Windows with a Simple Go Tool

This guide explains how to create a cross‑platform Go command‑line utility that efficiently splits multi‑gigabyte files on Windows into user‑defined chunk sizes, covering the rationale for using Go, core implementation steps, full source code, and practical usage instructions.

File SplittingGoWindows
0 likes · 7 min read
How to Split Large Files on Windows with a Simple Go Tool
Infra Learning Club
Infra Learning Club
Sep 3, 2024 · Cloud Native

How Kubelet’s VolumeManager Orchestrates Async Volume Attach, Mount, and Unmount

The article dissects Kubelet’s VolumeManager, detailing its asynchronous loops, the VolumeManager interface, how it is started from Kubelet.Run, the handling of Attach/Mount and Unmount operations during pod sync, the internal struct fields, and the plugin initialization process that together manage the full lifecycle of pod volumes.

GoKubernetesPod Lifecycle
0 likes · 10 min read
How Kubelet’s VolumeManager Orchestrates Async Volume Attach, Mount, and Unmount
21CTO
21CTO
Sep 1, 2024 · Backend Development

What’s New in Go 1.23? Key Features and Improvements Explained

Go 1.23 introduces a range‑over‑func iterator, generic type alias preview, optional telemetry, several go command enhancements, numerous standard library updates, and compiler and linker optimizations, providing developers with a more powerful and flexible programming environment.

GenericsGoIterators
0 likes · 6 min read
What’s New in Go 1.23? Key Features and Improvements Explained
IT Services Circle
IT Services Circle
Aug 30, 2024 · Backend Development

Technical Interview Q&A: C++ vs Go, Thread Communication, Goroutine, TCP Handshake, SQL, and More

This article compiles a series of technical interview questions and answers covering C++ and Go language differences, thread communication methods on Linux and Windows, stack versus heap memory, orphan processes, read‑write locks, Go goroutine concurrency, TCP three‑way handshake, and a sample SQL query for gender‑based grouping.

C++GoOperating Systems
0 likes · 12 min read
Technical Interview Q&A: C++ vs Go, Thread Communication, Goroutine, TCP Handshake, SQL, and More
Infra Learning Club
Infra Learning Club
Aug 30, 2024 · Cloud Native

Kubelet Source Dive: syncLoopIteration (Part 3) – How probeCh Is Built from Probe Managers

The article explains that the apparent probeCh in kubelet is actually three separate channels—livenessCh, readinessCh, and startupCh—managed by livenessManager, readinessManager, and startupManager, details the ProbeManager implementation that creates probe workers via AddPod, and shows how syncLoopIteration processes probe updates to adjust pod status.

GoKubernetescloud-native
0 likes · 8 min read
Kubelet Source Dive: syncLoopIteration (Part 3) – How probeCh Is Built from Probe Managers
Tencent Cloud Developer
Tencent Cloud Developer
Aug 30, 2024 · Fundamentals

Overview of 10 Classic Software Design Patterns with Go Examples

The article presents ten classic software design patterns—Singleton, Factory, Observer, Decorator, Strategy, Adapter, Proxy, Command, Composite, and Iterator—explaining each pattern’s features, advantages, disadvantages, typical applications, and providing concrete Go code examples to illustrate their implementation.

DecoratorFactoryGo
0 likes · 36 min read
Overview of 10 Classic Software Design Patterns with Go Examples
BirdNest Tech Talk
BirdNest Tech Talk
Aug 28, 2024 · Backend Development

Why Go Channels Slow Down on More CPUs and How to Fix It

A Fastly engineer discovered that increasing CPU cores can degrade Go channel performance due to lock contention, and this article reproduces the benchmarks, explains why goroutine count—not CPU count—is the real culprit, and offers practical optimization techniques.

ChannelsGOMAXPROCSGo
0 likes · 10 min read
Why Go Channels Slow Down on More CPUs and How to Fix It
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 27, 2024 · Backend Development

Deep Dive into Gin Framework: Compressed Radix Tree Routing and Request Processing

This article thoroughly examines the Gin Go web framework, focusing on its compressed radix tree routing mechanism, middleware handling, request lifecycle, and performance‑optimizing techniques, providing code examples and best‑practice recommendations for building high‑throughput backend services.

Compressed Radix TreeGinGo
0 likes · 13 min read
Deep Dive into Gin Framework: Compressed Radix Tree Routing and Request Processing
FunTester
FunTester
Aug 22, 2024 · Fundamentals

Master Go Error Handling: Built-in Errors, Wrapping, and Panic/Recover

This article explains Go's unique error handling approach, covering the built-in error interface, creating errors with errors.New, wrapping errors using fmt.Errorf, defining custom error types, logging errors with the log package, and managing severe failures with panic and recover, complete with practical code examples.

Error HandlingGocustom error
0 likes · 15 min read
Master Go Error Handling: Built-in Errors, Wrapping, and Panic/Recover
Sohu Tech Products
Sohu Tech Products
Aug 21, 2024 · Operations

Step-by-Step Guide: Integrating OpenTelemetry Tracing in Java and Go Projects

This tutorial walks through setting up OpenTelemetry tracing from scratch for both Java and Go microservices, covering collector and Jaeger deployment, required dependencies, configuration parameters, code examples for automatic and manual instrumentation, and how to add custom span attributes and spans.

Distributed TracingGoOpenTelemetry
0 likes · 15 min read
Step-by-Step Guide: Integrating OpenTelemetry Tracing in Java and Go Projects
Architecture & Thinking
Architecture & Thinking
Aug 20, 2024 · Backend Development

Master Go Configuration with Viper: A Step-by-Step Guide

This guide walks through installing Viper, creating common and environment‑specific YAML configuration files, mapping them to Go structs, setting up a global configuration holder, and initializing the config with live watching, providing a complete, runnable example for Go backend projects.

BackendConfigurationGo
0 likes · 9 min read
Master Go Configuration with Viper: A Step-by-Step Guide
php Courses
php Courses
Aug 19, 2024 · Backend Development

Building GraphQL Services with Go: Course Overview

This course teaches developers with basic Go knowledge how to design and implement GraphQL services, covering fundamentals of GraphQL, schema definition, request handling, and integration techniques through practical examples to build modern, flexible APIs.

APIGoGraphQL
0 likes · 3 min read
Building GraphQL Services with Go: Course Overview
FunTester
FunTester
Aug 16, 2024 · Backend Development

Master Go Configuration with Viper: Quick Setup and Advanced Features

Learn how to install the Viper library in Go, read and parse YAML, JSON, TOML, and ENV files, and leverage features like default values, automatic reload, environment variable binding, merging configs, dynamic updates, and struct unmarshalling through clear code examples.

BackendConfigurationGo
0 likes · 5 min read
Master Go Configuration with Viper: Quick Setup and Advanced Features
Architecture Development Notes
Architecture Development Notes
Aug 15, 2024 · Fundamentals

How Go’s Compiler Shrinks Binaries with Dead Code Elimination

This article explains Go’s dead code elimination (DCE) optimization, demonstrates it with sample code, shows how to inspect compiled binaries using go tool nm, and discusses factors that affect DCE such as code complexity, compiler flags, and reflection, helping developers reduce binary size.

Compiler OptimizationGobinary size
0 likes · 6 min read
How Go’s Compiler Shrinks Binaries with Dead Code Elimination
Liangxu Linux
Liangxu Linux
Aug 13, 2024 · Backend Development

Master Go Socket and HTTP Programming: Dial, ICMP, and Custom Requests

Learn how to use Go's net package for low‑level socket programming—including TCP, UDP, and ICMP connections with the Dial function—and build HTTP clients with net/http, covering basic requests, POST forms, custom headers, and practical code examples.

GoHTTPbackend-development
0 likes · 12 min read
Master Go Socket and HTTP Programming: Dial, ICMP, and Custom Requests
BirdNest Tech Talk
BirdNest Tech Talk
Aug 13, 2024 · Backend Development

Why Go 1.22’s []byte(str) Conversion Beats Unsafe: Benchmarks and Deep Dive

The article investigates Go 1.22’s claim that simple type casting []byte(str) can replace unsafe‑based string‑to‑byte conversions, presents four implementation variants, runs detailed benchmarks on macOS M2 and Linux amd64, analyses compiler inlining and escape behavior, and explains the hidden pitfalls of capacity and mutability in the k8s shortcut.

GoZero Copybenchmark
0 likes · 16 min read
Why Go 1.22’s []byte(str) Conversion Beats Unsafe: Benchmarks and Deep Dive
Go Development Architecture Practice
Go Development Architecture Practice
Aug 12, 2024 · Backend Development

Common Go Interview Pitfalls and How to Fix Them

This article walks through six common Go interview mistakes—incorrect function brace placement, map initialization without make, unexported struct fields for JSON, ineffective slice iteration, array versus slice parameter passing, and variable shadowing with :=—explaining each issue and providing the correct code examples.

BackendGocoding
0 likes · 6 min read
Common Go Interview Pitfalls and How to Fix Them
FunTester
FunTester
Aug 12, 2024 · Backend Development

Building a High‑Performance LRU Cache in Go from Scratch

This article explains the importance of caching, compares common replacement policies, and walks through a complete Go implementation of a thread‑safe local LRU cache, including interface design, data structures, linked‑list management, and concurrency handling.

Data StructuresGobackend-development
0 likes · 11 min read
Building a High‑Performance LRU Cache in Go from Scratch
FunTester
FunTester
Aug 8, 2024 · Backend Development

Introduction to Cobra and Tutorial for Building CLI Applications in Go

This article introduces the Go Cobra library, outlines its key features such as multi‑command structures, flag handling, auto‑generated help and markdown docs, and provides step‑by‑step code examples for creating, configuring, and extending CLI applications with flags, positional arguments, persistent flags, and subcommands.

CLICOBRAGo
0 likes · 13 min read
Introduction to Cobra and Tutorial for Building CLI Applications in Go
Radish, Keep Going!
Radish, Keep Going!
Aug 7, 2024 · Backend Development

Boost Go Performance: Mastering GC with go trace, GOGC & GOMEMLIMIT

This article demonstrates how to analyze and optimize Go's garbage collection using go trace, comparing single‑threaded and concurrent implementations, and shows how tuning GOGC and GOMEMLIMIT can dramatically improve runtime and memory usage, with detailed code samples and performance metrics.

GOGCGOMEMLIMITGarbage Collection
0 likes · 13 min read
Boost Go Performance: Mastering GC with go trace, GOGC & GOMEMLIMIT
Architecture Development Notes
Architecture Development Notes
Aug 7, 2024 · Backend Development

Why fasthttp Beats net/http by 10×: Deep Dive into Go’s High‑Performance HTTP Library

This article examines why Go’s fasthttp library can outperform the standard net/http package by up to tenfold, covering memory allocation strategies, zero‑copy techniques, connection pooling, and additional optimizations, and offers guidance on when to choose each library for high‑performance backend services.

GoZero Copyfasthttp
0 likes · 5 min read
Why fasthttp Beats net/http by 10×: Deep Dive into Go’s High‑Performance HTTP Library
Go Programming World
Go Programming World
Aug 4, 2024 · Fundamentals

Applying the Adapter Pattern in Go: From Payment Systems to Multi‑Cloud Management and Model Training Platforms

This article explains the Adapter design pattern, illustrates its real‑world analogy, demonstrates a complete Go implementation for payment processing, and shows how the pattern can be used in production scenarios such as a multi‑cloud management platform and a model‑training service, highlighting its role in unifying incompatible interfaces.

Adapter PatternCloud NativeDesign Patterns
0 likes · 13 min read
Applying the Adapter Pattern in Go: From Payment Systems to Multi‑Cloud Management and Model Training Platforms
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 2, 2024 · Operations

How Alibaba Cloud’s ARMS Go Agent Enables Zero‑Intrusion Monitoring for Go Microservices

This article explains how Alibaba Cloud's ARMS team collaborated with the language and compiler team to create an OpenTelemetry‑based, compile‑time automatic instrumentation solution for Golang applications, detailing its background, technical workflow, key optimizations, and practical impact on cloud‑native monitoring.

ARMSAutomatic InstrumentationCloud Native
0 likes · 13 min read
How Alibaba Cloud’s ARMS Go Agent Enables Zero‑Intrusion Monitoring for Go Microservices
FunTester
FunTester
Aug 1, 2024 · Backend Development

Mastering Advanced fx Features: Invoke, Supply, Populate, and More

This article dives deep into Uber's fx dependency‑injection framework for Go, explaining advanced constructs such as fx.Invoke, fx.Supply, fx.Populate, fx.Annotated, fx.In, fx.Out, fx.Module, fx.WithLogger and fx.As, and provides complete code examples that illustrate how to manage lifecycles, inject static values, differentiate multiple implementations, and customize logging in production‑grade applications.

GoUber fxbackend-development
0 likes · 13 min read
Mastering Advanced fx Features: Invoke, Supply, Populate, and More
FunTester
FunTester
Jul 29, 2024 · Backend Development

Mastering Dependency Injection in Go with Uber’s Fx Framework

This article explains the core concepts of dependency injection, introduces Uber’s Fx framework for Go, and provides step‑by‑step code examples that demonstrate how to register providers, manage application lifecycles, and use hooks for start‑up and shutdown logic.

Gobackend-developmentdependency-injection
0 likes · 12 min read
Mastering Dependency Injection in Go with Uber’s Fx Framework
Selected Java Interview Questions
Selected Java Interview Questions
Jul 28, 2024 · Backend Development

Performance Comparison of Spring Boot Native Image vs Go and Rust

This article demonstrates how to quickly build and benchmark a Spring Boot 2.x application as a native binary, compares its startup time, memory usage, and request throughput with equivalent implementations in Go and Rust, and concludes that AOT‑processed Java offers impressive performance despite longer compilation times.

BackendGoRust
0 likes · 7 min read
Performance Comparison of Spring Boot Native Image vs Go and Rust
Architect
Architect
Jul 26, 2024 · Backend Development

Designing a High‑Performance Go‑Job Scheduler: Architecture, SDK & Task Flow

This article presents a comprehensive technical deep‑dive into Go‑Job, a Go‑native distributed task scheduling framework, covering its background, three‑layer architecture, service and task design, SDK modules, code examples, practical integration steps, and future enhancements for robust backend operations.

Distributed SystemsGoGo-Job
0 likes · 24 min read
Designing a High‑Performance Go‑Job Scheduler: Architecture, SDK & Task Flow
Architecture Development Notes
Architecture Development Notes
Jul 26, 2024 · Backend Development

Master Go Configuration with Viper: Setup, Usage, and Advanced Tips

This article provides a comprehensive guide to Viper, a powerful Go configuration library, covering its core advantages, step‑by‑step basic usage—including installation, defaults, file handling, environment variables, command‑line flags, remote providers—and advanced techniques such as sub‑tree reading, custom decoding, and managing multiple Viper instances.

Configuration ManagementGoViper
0 likes · 10 min read
Master Go Configuration with Viper: Setup, Usage, and Advanced Tips
FunTester
FunTester
Jul 26, 2024 · Backend Development

Mastering Gin: A Hands‑On Guide to Building High‑Performance Go APIs

This tutorial introduces the Gin web framework for Go, covering its core features, installation steps, a simple "Hello World" example, request and response handling, parameter binding, route groups, middleware patterns, and useful utilities for building fast RESTful services.

GinGoRESTful API
0 likes · 13 min read
Mastering Gin: A Hands‑On Guide to Building High‑Performance Go APIs
Radish, Keep Going!
Radish, Keep Going!
Jul 25, 2024 · Backend Development

How to Slash Go GC Overhead on Large Heaps: Techniques and Code

This article examines why Go's garbage collector can become a CPU bottleneck with large heaps, demonstrates the performance impact with benchmark programs, and presents practical strategies—such as using pointer‑free allocations, mmap‑backed memory, and string interning—to dramatically reduce GC pause times.

Garbage CollectionGoLarge heap
0 likes · 13 min read
How to Slash Go GC Overhead on Large Heaps: Techniques and Code
FunTester
FunTester
Jul 24, 2024 · Backend Development

Managing Request Scope, Cancellation, and Timeouts with Go's context Package

This article explains how to use Go's context package for managing request-scoped data, cancellation, deadlines, and timeouts, compares it with Java's ThreadLocal approach, and provides practical code examples for creating contexts, handling goroutine lifecycles, and applying context in network programming.

GoTimeoutcancellation
0 likes · 12 min read
Managing Request Scope, Cancellation, and Timeouts with Go's context Package
Tencent Cloud Middleware
Tencent Cloud Middleware
Jul 17, 2024 · Cloud Native

How Polaris‑Mesh Server Handles Service Instance Heartbeats and Health Checks

This article explores Polaris‑Mesh’s server‑side health‑check mechanism, detailing how client heartbeat requests are received via gRPC, processed through Apiserver, Resource Auth Filter, Service, Healthcheck, and Checker Plugin, and how the system’s configuration, plugins, and time‑wheel ensure reliable instance health monitoring.

GoHeartbeatPolarisMesh
0 likes · 11 min read
How Polaris‑Mesh Server Handles Service Instance Heartbeats and Health Checks
MaGe Linux Operations
MaGe Linux Operations
Jul 16, 2024 · Cloud Native

How Prometheus Sends Alerts: Rules, Templates, and Frequency Explained

This article explains how Prometheus generates and sends alerts, covering the definition of alert rules with PromQL, grouping, templating, configuring evaluation intervals, deploying a custom alert receiver in Kubernetes, and analyzing alert payloads and delivery frequency, while also detailing alert silencing and resolution behavior.

AlertingAlertmanagerGo
0 likes · 26 min read
How Prometheus Sends Alerts: Rules, Templates, and Frequency Explained
MaGe Linux Operations
MaGe Linux Operations
Jul 10, 2024 · Backend Development

How tunny Implements a Simple Goroutine Resource Pool in Go

This article explains how the tunny library wraps goroutine processing units into a workWrapper to limit concurrency, describes the workerWrapper.run flow that queues workRequests via reqChan, details the workRequest structure with jobChan and retChan, and outlines the required Worker interface methods for custom processing.

BackendGoresource pool
0 likes · 3 min read
How tunny Implements a Simple Goroutine Resource Pool in Go
System Architect Go
System Architect Go
Jul 9, 2024 · Databases

Using Redis as a Vector Database with Go: Index Creation, Data Insertion, and Vector Search

This article explains how to leverage Redis Stack modules such as RedisJSON, RediSearch, and RedisTimeSeries to store, index, and query high‑dimensional vectors for image‑search services, providing Go code examples for index creation, bulk insertion, memory inspection, and K‑Nearest‑Neighbour vector searches with optional filtering.

GoJSONft-search
0 likes · 11 min read
Using Redis as a Vector Database with Go: Index Creation, Data Insertion, and Vector Search
Alibaba Cloud Observability
Alibaba Cloud Observability
Jul 4, 2024 · Cloud Native

How to Install and Use Go Agent for Cloud‑Native Application Monitoring on ACK

This guide explains how Go Agent solves the manual instrumentation problem in Go microservices by injecting monitoring code at compile time, details its implementation using AST analysis and -toolexec, lists supported SDKs and product features, and provides step‑by‑step instructions for installing the ARMS component, compiling Go binaries, granting permissions, and enabling monitoring on Alibaba Cloud ACK clusters.

ARMSCloud NativeGo
0 likes · 16 min read
How to Install and Use Go Agent for Cloud‑Native Application Monitoring on ACK
Alibaba Cloud Native
Alibaba Cloud Native
Jul 2, 2024 · Cloud Native

How Go Agent Enables Zero‑Intrusion Monitoring for Golang Microservices on Kubernetes

This guide explains how the Go Agent injects observability code at compile time to provide automatic tracing and metrics for Golang microservices running on Kubernetes, covering its architecture, supported SDKs, compatibility, and step‑by‑step deployment instructions including component installation, binary compilation, and YAML configuration.

ARMSGoInstrumentation
0 likes · 17 min read
How Go Agent Enables Zero‑Intrusion Monitoring for Golang Microservices on Kubernetes
Efficient Ops
Efficient Ops
Jul 1, 2024 · Cloud Native

How to Monitor Business Metrics with Prometheus in Kubernetes

This article explains the concept of observability, details Prometheus metric definitions and types, and provides Go code examples for exposing, defining, generating, and scraping business‑level metrics in a Kubernetes‑based cloud‑native environment.

GoKubernetesMetrics
0 likes · 11 min read
How to Monitor Business Metrics with Prometheus in Kubernetes
FunTester
FunTester
Jul 1, 2024 · Cloud Native

Mastering etcd with Go: From Basics to Distributed Locks

This article introduces etcd as a reliable distributed key‑value store built on Raft, outlines its key features and common use cases such as service discovery and configuration management, and provides a complete Go tutorial covering dependency setup, server launch, client implementation, read/write testing, and distributed lock usage.

Configuration ManagementGoRaft
0 likes · 10 min read
Mastering etcd with Go: From Basics to Distributed Locks
Tencent Cloud Middleware
Tencent Cloud Middleware
Jun 26, 2024 · Cloud Native

How PolarisMesh Server Handles Service Registration: Deep Dive into the Registration Flow

This article explores PolarisMesh’s server-side registration process, detailing how client registration requests are handled, the data flow through apiserver, resource auth filter, service and storage layers, and provides concrete code examples for both Java and Go SDKs, along with MySQL storage schema.

GoPolarisMeshService Registration
0 likes · 19 min read
How PolarisMesh Server Handles Service Registration: Deep Dive into the Registration Flow