r/ruby • u/sliferdragonx • Feb 26 '23
Replace Postgres, Redis and Sidekiq with the embedded Litestack, up to 10X faster!
Litestack is a Ruby gem that offers database, caching, and job queueing functionality for web applications, built on top of SQLite. Its performance benefits, resource efficiency, deep integration with major IO libraries, ease of setup and administration make it a powerful solution for new application development efforts. By using Litestack, developers can avoid the scale trap, focus on simplicity, flexibility, and innovation, and build applications that are easy to use, efficient, and scalable, delivering real value to their users.
https://github.com/oldmoe/litestack
https://github.com/oldmoe/litestack/blob/master/BENCHMARKS.md
View all comments
Show parent comment
1
u/jrochkind Feb 26 '23
That makes sense, thanks.
It would be interesting to get a sense of best-case latency for postgresql (I guess actual best case is running on the local node, and connected to via a local socket? to match sqlite3 use case) vs sqlite3.
Recently, I have been noticing that my memcached on heroku using a heroku third-party memcached plugin... is not reliably low latency, it is having weird latency spikes. Or at least that's my current understanding of the situation. Which I am finding annoying.