Go Development Architecture Practice
Author

Go Development Architecture Practice

Daily sharing of Golang-related technical articles, practical resources, language news, tutorials, real-world projects, and more. Looking forward to growing together. Let's go!

82
Articles
0
Likes
133
Views
0
Comments
Recent Articles

Latest from Go Development Architecture Practice

82 recent articles
Go Development Architecture Practice
Go Development Architecture Practice
Jul 31, 2025 · Backend Development

Building a Scalable WebSocket Push Service in Go: From Basics to Million‑User Architecture

This article explains WebSocket fundamentals, compares pull and push models, details the WebSocket handshake flow, presents a complete Go server and client implementation, analyzes performance bottlenecks of a million‑user bullet‑screen system, and proposes concrete optimizations such as packet merging, lock granularity, JSON encoding reduction, and HTTP/2‑based clustering.

Goreal-time messagingscalable architecture
0 likes · 13 min read
Building a Scalable WebSocket Push Service in Go: From Basics to Million‑User Architecture
Go Development Architecture Practice
Go Development Architecture Practice
Jul 28, 2025 · Fundamentals

Can Go Replace Python for Scripting? Practical Tips and Tools

This article explores using Go as a scripting language, covering its strengths such as fast compilation and strong typing, the use of the go run command, helpful third‑party packages, Linux shebang workarounds, alternative interpreters like Gomacro, and the remaining limitations compared to traditional scripting languages.

GoGomacroScripting
0 likes · 8 min read
Can Go Replace Python for Scripting? Practical Tips and Tools
Go Development Architecture Practice
Go Development Architecture Practice
Jul 23, 2025 · Backend Development

Scaling Go Backend: From Simple Goroutine to Job/Worker Pools

This article walks through three Go server‑side scaling techniques—starting a goroutine per request, using a buffered channel queue, and implementing a full job/worker pool with separate task and worker channels—complete with code examples and practical considerations for high‑traffic applications.

ChannelConcurrencyGoroutine
0 likes · 9 min read
Scaling Go Backend: From Simple Goroutine to Job/Worker Pools
Go Development Architecture Practice
Go Development Architecture Practice
May 20, 2025 · Backend Development

Mastering Dependency Injection in Go with Uber’s Dig

This article explains why and when to use dependency injection in Go, introduces the most popular DI libraries, and provides step‑by‑step examples of Dig’s core features such as container creation, providing and invoking dependencies, parameter and result objects, optional and named dependencies, groups, and a complete multi‑service HTTP demo.

Librarybackenddependency-injection
0 likes · 11 min read
Mastering Dependency Injection in Go with Uber’s Dig
Go Development Architecture Practice
Go Development Architecture Practice
Jan 17, 2025 · Backend Development

Mastering Go Backend: Project Structure, Error Handling, and Observability Best Practices

This article explores practical Go backend development techniques, covering project organization, package naming, internal packages, init usage, layer separation (controller, service, dao), dependency injection, global variable pitfalls, observability with logging, tracing and monitoring, comprehensive error handling, and DAO layer automation.

Observabilitybackenddependency-injection
0 likes · 23 min read
Mastering Go Backend: Project Structure, Error Handling, and Observability Best Practices