▲ | andersmurphy 5 days ago | |||||||||||||||||||||||||||||||||||||||||||
You can hit 40000-80000+writes/s with sqlite on a 10$ VPS just by batching transactions (i.e wrapping all inserts/updates in a single transaction every 100ms). This is easy to do at the application level, then you also avoid BUSY/LOCK. I'd argue writes scale better wtih sqlite than postgresql. | ||||||||||||||||||||||||||||||||||||||||||||
▲ | hu3 4 days ago | parent [-] | |||||||||||||||||||||||||||||||||||||||||||
I love SQLite but how would batching work in CRUD apps where you need to rollback a dozen SQL inserts/updates in case of error in a request? Also I often need to read-after-write during the same request, using transactions. And rails apps are often CRUDy. | ||||||||||||||||||||||||||||||||||||||||||||
|