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