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
Mar 22, 2022 · Backend Development

Boosting a Dubbo Registry from 40 to 1100 QPS: Practical Performance Hacks

Through systematic measurement, bottleneck identification, and targeted optimizations—including lock redesign, Redis caching, and URL parsing improvements—the author transformed a Go‑based Dubbo registry’s registration throughput from 40 QPS to over 1100 QPS, demonstrating practical performance‑tuning techniques for high‑scale backend services.

Gobackendprofiling
0 likes · 12 min read
Boosting a Dubbo Registry from 40 to 1100 QPS: Practical Performance Hacks
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jan 13, 2022 · Operations

Detecting and Recovering Unhealthy Nodes in Microservice Architectures

This article explores various service health‑checking techniques in microservice environments, detailing how consumers, providers, and registration centers can identify unhealthy nodes through passive and active checks, heartbeat mechanisms, TCP connection monitoring, and registration‑center probing, while weighing trade‑offs in reliability, timeliness, and resource consumption.

Heartbeatnode monitoringservice discovery
0 likes · 11 min read
Detecting and Recovering Unhealthy Nodes in Microservice Architectures
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Dec 24, 2021 · Backend Development

Switching to Middleware Development: Is It Too Late? A Veteran’s Guide

After years of working in middleware teams at both startups and Alibaba Cloud, the author shares insights on what middleware development entails, the differences from business development, essential skills, typical roles, and practical steps for engineers aspiring to transition into this specialized backend field.

Middlewarecareer advice
0 likes · 11 min read
Switching to Middleware Development: Is It Too Late? A Veteran’s Guide
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Dec 20, 2021 · Backend Development

Mastering Sliding Window Rate Limiting in Sentinel-Go: From Theory to Code

This article explores why engineering skills outrank pure algorithm knowledge, explains the challenges of implementing flow‑control algorithms such as token bucket and sliding‑window rate limiting, and walks through Sentinel‑Go's concrete LeapArray implementation with detailed Go code examples.

Rate LimitingSentinel GoSliding Window
0 likes · 11 min read
Mastering Sliding Window Rate Limiting in Sentinel-Go: From Theory to Code
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Dec 16, 2021 · Backend Development

From Druid to MetaQ: A Developer’s Journey Through Middleware Mastery

This article chronicles a developer’s personal and technical evolution—from refactoring a lottery service with Druid, exploring Cobar sharding, diving deep into MetaQ’s messaging model, to designing custom task‑scheduling systems—highlighting lessons learned, architectural insights, and the enduring value of connecting the dots in software engineering.

Message QueueMiddlewarebackend
0 likes · 16 min read
From Druid to MetaQ: A Developer’s Journey Through Middleware Mastery
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Nov 21, 2021 · Backend Development

How I Reduced Dubbo Registry CPU Usage by 20× with Go URL Parsing Optimizations

This article details how a Go‑based Dubbo registration center suffered high CPU usage, how profiling identified the AssembleUrlWeight function as the bottleneck, and how custom URL‑parameter extraction and weight‑insertion code cut CPU consumption by over ten percent and improved performance by up to twenty times.

DubboPerformance optimizationURL parsing
0 likes · 12 min read
How I Reduced Dubbo Registry CPU Usage by 20× with Go URL Parsing Optimizations