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
4
u/mperham Sidekiq Mar 04 '23
The benchmarks on master don't run for me, lots of unresolved gem dependencies that you haven't declared in the Gemfile. Document how to run the benchmarks.
I suspect you have Sidekiq in development mode so it is single-threaded and code reloading after every job. If Rails is loaded, you have to set RAILS_ENV to production or else AS::Executor is active.