Weekend stress testing with SQLite in multi-tenant #203
lairtonmendes
started this conversation in
Experience reports
Replies: 1 comment
-
|
Nice! Thanks for sharing your results. 👏👏👏 I benchmarked (on my underpowered laptop) ~400 write requests per second. In another test on a beefier desktop machine, we were able to squeeze ~800 write requests per second out of the app! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, just wanted to share some stress tests I ran over the weekend. I wanted to see with my own eyes that it wasn’t crazy to use SQLite in production (sorry @flavorjones but I couldn’t resist playing with this on my free time 😅).
The test setup was pretty simple:
The results were surprisingly good: on an old computer I had lying around, running Omarchy without much fine tuning, I was able to easily reach 400 requests per second, with avg ~10ms and p95 ~15ms.

So yes — we’re going to use this at work. We’re designing an app that should serve more than 1,000 clients. We also have another large database with several TB of data, and the plan is to split it so each client only has access to their own slice.
And last but not least: thank you @flavorjones 🙏 you’re making my life a lot easier!
Beta Was this translation helpful? Give feedback.
All reactions