Xiao Lou's Tech Notes
Author

Xiao Lou's Tech Notes

Backend technology sharing, architecture design, performance optimization, source code reading, troubleshooting, and pitfall practices

79
Articles
0
Likes
19
Views
0
Comments
Recent Articles

Latest from Xiao Lou's Tech Notes

79 recent articles
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Sep 2, 2022 · Fundamentals

How CDN Supercharges Web Performance: From DNS to Edge Caches

This article explains the fundamentals of Content Delivery Networks (CDN), detailing how browsers request resources, the role of DNS, the long-haul backbone bottleneck, and how CDN edge servers cache content to reduce latency and bandwidth load, illustrated with real-world examples like ticket‑booking spikes.

CDNContent Delivery Networknetwork optimization
0 likes · 8 min read
How CDN Supercharges Web Performance: From DNS to Edge Caches
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Aug 31, 2022 · Fundamentals

Why My Simple Go Map Solution Timed Out and How I Fixed It

After struggling with a seemingly easy scoring problem in a regional programming contest, the author details multiple Go implementations—including a map, a 27‑base array, and a trie—examines their time and memory issues, discovers input handling pitfalls, and ultimately achieves an accepted solution.

Triealgorithmcompetitive programming
0 likes · 14 min read
Why My Simple Go Map Solution Timed Out and How I Fixed It
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Aug 25, 2022 · Backend Development

Beyond Service Discovery: Advanced Features to Supercharge Your Registry Center

This article explores a range of advanced registry‑center capabilities—including console UI, service configuration, event tracing, topology mapping, traffic control, health‑check extensions, graceful release, framework adaptation, and DNS‑based discovery—to illustrate how to make a service registry more powerful and flexible.

Traffic Controlservice discoveryservice registry
0 likes · 9 min read
Beyond Service Discovery: Advanced Features to Supercharge Your Registry Center
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jul 26, 2022 · Backend Development

How to Assemble a Production‑Ready Service Registry from Scratch

This article walks through the complete design of a service registry—from requirement analysis and interface definition to push mechanisms, health‑check strategies, long‑connection technology choices, data storage options, and high‑availability considerations—providing a practical blueprint for building a production‑grade registry.

gRPChigh availabilityservice discovery
0 likes · 15 min read
How to Assemble a Production‑Ready Service Registry from Scratch
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jul 13, 2022 · Backend Development

22 Real-World Backend Debugging Stories: From Spring @Value to Go Lock Bugs

This article compiles 22 detailed case studies of backend development challenges—including Spring @Value injection failures, Docker‑based Sentinel CPU metrics bugs, Dubbo tag‑routing quirks, memory leaks in gateways, Nacos TIME_WAIT issues, Go benchmark timeouts, JDK bugs, and more—offering practical troubleshooting insights for engineers.

Case StudiesGobackend
0 likes · 12 min read
22 Real-World Backend Debugging Stories: From Spring @Value to Go Lock Bugs
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jul 6, 2022 · Backend Development

How to Let Go Programs Profile Themselves Automatically

This article explains why traditional pprof sampling often fails in production, introduces Go's built‑in profiling tools and runtime.pprof, defines practical rules for triggering automatic sampling based on resource spikes, and demonstrates using the open‑source Holmes library and Docker demo to collect self‑diagnostic profiles.

GoPerformance MonitoringRuntime
0 likes · 12 min read
How to Let Go Programs Profile Themselves Automatically
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jul 1, 2022 · Backend Development

Why Dubbo Async Calls Return False for boolean? A Deep Dive and Fix

An in‑depth investigation reveals why Dubbo’s asynchronous calls return false when the service method returns a primitive boolean, reproduces the issue with a demo, traces the problem to the asyncCall implementation, and proposes a code fix to prevent this subtle bug.

async-callbooleanbug-fix
0 likes · 10 min read
Why Dubbo Async Calls Return False for boolean? A Deep Dive and Fix