Deploy Django 5.1's native connection pooling in 10 minutes to cut database latency by 50-70ms, reduce connection overhead by 60-80%, and improve response times by 10-30% with zero external dependencies.| Saurabh Kumar
Python developers have long suffered from painfully slow type checkers. Running mypy on a large codebase? Time to grab a coffee. Need real-time type checking in your editor? Prepare for frustrating lag and occasional crashes. But what if type checking could be nearly instantaneous? Enter ty (gh:astral-sh/ty), the latest tool from Astral—the team behind the wildly successful Ruff linter and uv package manager. Still in pre-alpha, ty is already turning heads with performance that makes existi...| Saurabh Kumar
Ever been in the middle of building a slick Django app with HTMX when you hit that authentication headache? You know the one - a user’s session times out, they click something, and instead of getting a proper login page, they get a weird login form fragment jammed into whatever DOM element was being updated. Not exactly the seamless experience we’re going for! I ran into this problem recently and thought, “There’s got to be a better way.” Spoiler alert: there is! Let me show you a s...| Saurabh Kumar
In this post, I’ll show you how to efficiently implement hundreds or even thousands of URL redirects on your server without sacrificing performance. We’ll use Nginx’s powerful map module which creates optimized hash tables for fast lookups. Creating Your Redirect Configuration First, create a file called redirects-map.conf where each line represents a single redirect rule in this format: <old_location> <new_url>; You can use two types of location specifications: Simple path redirects:| Saurabh Kumar
Now updated May 2nd, 2025, from my home in Ghaziabad, India. leading team and technologies at Fueled as Director of Engineering, Web Services. i contribute to Hypha and other open-source projects. Fatherhood: I’ve recently become a father, and enjoying this new chapter of my life! // open source python-dotenv: With over 8000+ stars, it’s a feature rich library for managing environment variables in Python applications. I maintain it and am always looking for ways to improve it.| Saurabh Kumar