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!

A native Rails-like Ruby app using 20 MB of memory

https://snails-rb.org/blog/a-native-rails-like-ruby-app-using-20-mb-of-memory/

Snails is a Rails-like framework for API-only Ruby apps. My Rails API ran out of headroom on a 1 GB node during deploys, so I kept the Rails conventions and compiled the app with Spinel into a native binary. The app process is now about 20 MB, and the node is using 362 MB.

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