Simon Willison’s Weblog

Subscribe

26th January 2023

[On SQLite for production concurrent writes] In general, WAL mode “just works” as Simon said. You just need to make sure you don’t have long running write transactions, although those are somewhat problematic in any database system. Don’t do stuff like starting a write txn and then calling a remote API and then committing. That’ll kill your write throughout.

Ben Johnson

This is a quotation collected by Simon Willison, posted on 26th January 2023.