
3 min
Battling with SQLite in a Concurrent Environment
How we migrated our SSO platform's test suite to SQLite, broke it, and fixed it by understanding database locking and connection pooling.
#sqlite
#rust
#databases
+2

// 2 posts in this category

How we migrated our SSO platform's test suite to SQLite, broke it, and fixed it by understanding database locking and connection pooling.

A SAML certificate rotation handler looked correct until concurrent requests hit it. The fix was to lock the shared parent row and make the database …