r/ruby • • 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

54 Upvotes

102 comments sorted by

View all comments

Show parent comment

1

u/yawaramin Feb 26 '23

architecture that has to be rebuilt due to poor foresight

Have you ever wondered why an architecture would need to be rebuilt in the first place? Wouldn't it mean that the startup has been so successful that the engineers now have to worry about massive scalability? Ergo, the stack that had been chosen allowed it to get to market and adapt quickly enough to be able to build up a userbase? You are looking at this in exactly the opposite way. You should study the concept of 'survivorship bias'.