Code, Systems & Architecture

Exploring distributed systems, cloud infrastructure, and the art of building reliable software. Personal notes and deep dives.

Latest Posts

Building a Distributed Task Queue with Redis Streams and Go

A practical deep-dive into implementing a reliable task queue using Redis Streams, consumer groups, and Go concurrency patterns. Covers exactly-once semantics, backpressure, and failure handling.

Kubernetes Network Policies: A Practical Guide to Zero-Trust Networking

How to implement fine-grained network policies in Kubernetes, from basic namespace isolation to advanced egress controls with external service integration.

eBPF for Beginners: Tracing System Calls and Network Events

An accessible introduction to eBPF programming with bpftrace and libbpf. Trace real system events, profile performance, and build observability tools without kernel module headaches.

GitOps at Scale: Managing 200+ Microservices with ArgoCD

Lessons learned from migrating a monolith to a GitOps workflow with ArgoCD, including multi-environment management, secrets handling, and disaster recovery strategies.

Designing a High-Performance Rate Limiter in Go

Comparing sliding window, token bucket, and leaky bucket algorithms. Implementation patterns for distributed rate limiting with Redis and the sync/semaphore package.

TCP BBR Congestion Control: Tuning for High-Latency Links

Benchmarking and tuning BBR vs CUBIC on international links. Real-world throughput improvements of 3-8x on high-latency paths with proper bufferbloat mitigation.