RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Snails: Rails conventions, native performance

https://snails-rb.org

Snails is a Rails-like framework for API-only Ruby apps. It keeps the Rails conventions, drops the Ruby runtime, and compiles the app, the framework, and the HTTP server into one native binary. The trade-off: no Active Record or gem compatibility. Models are plain classes — no callbacks, scope chains, or joins — and queries use the Sqlx query API. What you get: about 3× the requests per second of Rails in cluster mode, with 10× lower peak memory under load.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in