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
10
Upvotes
1
u/ugh_you_swine 11h ago
You might want to check out https://github.com/roundhouse-rb/roundhouse
It'll let you take an existing Rails app and transpile it to C (spinel) and other languages (Go, Python, etc.).