Debugging random slow writes in PostgreSQL

In web applications it’s not rare to face performance issues that we can’t quite understand. Especially when working with databases, we treat them as this huge “black box” that 99% of the times works amazingly without us even caring about it. Heck, we even use stuff like ORMs that essentially “hide” our interaction with the database, making us think that we don’t need to care about this stuff. If you’re developing something small, contained, simple then this is probably the case....

April 3, 2021 · 14 min · safts