01 / 03
Rack, Puma, done
Cuba doesn't invent a new deployment model. It's Rack. Puma runs it. The Dockerfile is 12 lines.
ruby# config.ru require "cuba" Cuba.define do on get do on "hello" do res.write "world" end end end run Cuba
Sinatra without the DSL sugar. A few hundred lines of Ruby, built on Rack. Deploys like a dream because there's nothing to it.
ruby# config.ru require "cuba" Cuba.define do on get do on "hello" do res.write "world" end end end run Cuba
Docs, repos, and training materials for this framework.
Cloud Run and Fargate love tiny, fast containers. Cuba is happy on either — pick by whichever cloud you already run.