3 ms·
This is very appealing. If the authors are reading: What is the architecture overview? Does each worker have a copy or do all of them work on the same DB files
by rmbyrro 2y ago
This is very appealing. If the authors are reading:
What is the architecture overview? Does each worker have a copy or do all of them work on the same DB files? How does it handle concurrent workers and db locking? Is SQLite native locking mechanism sufficient in this application?
- burcs 2y agoMultiple workers would connect to the same durable object and write to it, basically, the Durable Object takes care of all the writes in a single thread, so there's no issues with concurrent modifications. We probably need to build out some sort of data replication to scale reads though Durable Objects are limited to 1000 RPS.