Solving concurrency with get_or_create
How Django's get_or_create handles race conditions under the hood.
How Django's get_or_create handles race conditions under the hood.
In our application, we would allow users to save their preference and then load those preferences when they returned. The problem arose when those preferences no longer existed, this would cause ou...
Small acts of ownership compound faster than you think.
Making sure a Django model mirror doesn't deviate far from the source of truth
The hidden cost of COUNT(*) and OFFSET on every paginated request.
Even small transactions can become bottlenecks under concurrency. A look at middleware writes, locking, and scalability in Django.
How an overdue upgrade unlocked faster performance.