Discussion about this post

User's avatar
JP's avatar

The Steinberger tweet is the right origin story for this. Once one agent is running dozens of parallel sessions, SQLite's single-writer lock stops being trivia and starts showing up as mysterious stalls. Your numbers (about 5.7x throughput and p99.9 dropping from 157 ms to roughly 2 ms with 16 threads) are what I'll quote when someone says agents don't need a real store. One caution from your own write-up: the big wins are for writers hitting different rows, so agent designs that stampede one status row will still feel the old pain.

Ready for more?