#Performance
- Django ORM: From sync_to_async Threads to Native psycopg3
A deep dive into how Django's ORM became truly async — how the old thread-pool approach worked, what changed in Django 6.0 with psycopg3 and ContextVar, and why asyncpg was left out.
- How I Optimized My Zsh Startup Time
An audit of my zsh config turned up shell forks, redundant plugins, and eager evals. Here are the eight fixes that shaved an estimated 400-700 ms off cold start.
- Redis’s License Change and the Valkey Fork
The story of Redis's controversial license change in March 2024 and how the open-source community responded by creating Valkey—a fork that's now outperforming the original on speed and efficiency.
- Django Native PostgreSQL Connection Pooling
Configure Django’s native PostgreSQL connection pool with psycopg, handle connection cleanup, and measure performance before and after.