Ruby off the Rails: Building a distributed system in Ruby
summary
Cloud Foundry is mostly Ruby code glued into distinct pieces: a user CF gem that uploads code, an API cloud controller (Sinatra + EventMachine) that records desired state, a droplet execution agent (DEA) that stages via Heroku-style buildpacks into runnable droplets, and Warden containers using cgroups that spin up in about two seconds. Routing evolves from Ruby to nginx+Lua to a Go rrouter. A health manager continuously reconciles actual vs desired state. Five small service types exist (Postgres MySQL RabbitMQ Redis) but durable DB management remains manual.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 0:41New Workflow
- 1:54What is Cloud Foundry
- 3:18Cloud Foundry
- 4:12Cloud Controller
- 5:55Staging
- 8:48DEA
- 12:12Running the app
- 14:38The router
- 18:04The DEA
- 19:11Net Forwarding
- 19:25Steady State
- 20:12AWS Issues
- 20:42Health Manager
- 22:36Services
- 24:27Outro








