The worldly news is dragging me down. And I may also have found a bug in sqlite3. sqlite3 is one of these things I rely on absolutely, a sane quality project. so this is doubly depressing.
@bert_hubert I wasnβt previously aware of sqlite3_rsync, but it certainly seems well-suited for updating read-only mirrors of a master database. It is a highly practical model for specific use cases.
After reading up on its intended functionality, I can see that it operates in a complex space of engineering trade-offs. Guaranteeing reliability is straightforward if you simply enforce a global read/write lock on the database, but that would severely degrade write performance. Improving performance beyond that baseline inherently introduces complexity and brittleness.