For years, the standard advice for homelabbers was: “Don’t open ports on your router.” Yet, the need to access our services from the outside—whether it’s a Jellyfin stream or a Grafana dashboard—often forced us into risky configurations like port forwarding or complex VPN setups.
[Read More]
How We Fixed a Hidden Concurrency Bottleneck on Cloud Run by Migrating from Flask to FastAPI
How a sync Flask proxy silently queued 79 of 80 concurrent requests on Cloud Run — and how migrating to async FastAPI delivered a 40x throughput improvement.
The Origin Story
[Read More]
Logging Every Request and Response in Django Rest Framework (DRF)
Build a production-ready Django middleware that logs every DRF API request and response as structured JSON — with request IDs, user tracking, and performance metrics.
Logging is one of those things you don’t think about—until you really, really need it. If you want to log every single request and response in your Django Rest Framework (DRF) APIs—including errors, user info, and performance metrics—this guide will show you a robust, production-ready logging setup you can use...
[Read More]
Demystifying API Gateway & Load Balancers
Learn the difference between API Gateways and Load Balancers — when to use each, how they work together, and where they fit in a microservices architecture.
In today’s fast-paced digital landscape, orchestrating the flow of data and requests is akin to managing the traffic of a bustling metropolis. Two critical components in this digital thoroughfare are API Gateways and Load Balancers. While both play pivotal roles in optimizing system performance and enhancing security, understanding their unique...
[Read More]
How to choose between wired & wireless?
A practical guide to choosing between wired and wireless peripherals — comparing latency, aesthetics, and portability for your desk setup.
Choosing between wired and wireless peripherals can be daunting. Each option comes with its own advantages and disadvantages, and making an informed decision requires understanding these tradeoffs. Fortunately, there are some clear guidelines that can help you make the right choice.
[Read More]