3 ms·
> My current intuition said 100M bookings per day has a decent chance of being a lot for sqlite and even postgres depending on how it's distributed If you don'
by rgoulter 3y ago
> My current intuition said 100M bookings per day has a decent chance of being a lot for sqlite and even postgres depending on how it's distributed
If you don't know the distribution of requests, assuming a constant rate simplifies calculations; and can be interpreted as "what if the traffic gets as high as this".
sqlite can handle 50k inserts per second. -- Sure, if you need more than 50k inserts in a second, then you can't use sqlite. But, the rate of 50k/second sustained for a day would be half the world's population booking a hotel every day. (Since "seconds in a day" is much smaller than "half the world's population": that the rate for one day is staggeringly high indicates that that rate for one second is also staggeringly high).