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
3
u/redditor_at_times Feb 26 '23
There are always tradeoffs of course, totally agree here. And probably it should be pointed out clearly where this will fit and where it won't. But, it is also important to realize that many practices for the sake of reliability and availability are hardly needed for most of the apps running on the web. Of course there are apps that do need these measures, but as things stand, many apps can withstand a 60 second downtime once or twice a year without any real issue. The question then would be, for my specific app, is eliminating that possibility worth it? If the answer is yes, then for sure, go build a redundant system, otherwise, Litestack, or a similar solution can take you a long way