Snails is a Rails-like framework for API-only Ruby apps.
https://snails-rb.org/Snails builds on Matz's Spinel to compile apps into a single native binary, minus Active Record, server-rendered views and gems. It keeps the Rails conventions and builds the framework in plain Ruby. One process, multi-threaded, across all cores: no worker processes, no GVL. On the benchmark, Snails serves about 3× the requests per second of Rails in cluster mode, with more than 10× lower peak memory under load.
Site: https://snails-rb.org/
Repository: https://github.com/snails-rb/snails
15
Upvotes
4
u/KevinSaison 1d ago
Really curious to see where this goes. Do you eventually see Snails growing into a more complete Rails alternative?
1
u/The-WinterStorm 17h ago
I think the idea is neat, but I am unsure why I would want this. I just started getting back into Rails and I have yet to find any reason at this time to do it. I think if Rails could lighten the bloat... I'm sure it'd be better.
0
u/[deleted] 1d ago
[deleted] — view deleted comment