Complex Made Simple: Sleep Better with TorqueBox
summary
TorqueBox is a JRuby/JBoss AS7 application server that replaces separate workers, cron jobs and memcached with built-in features: one-line always_background backgrounding (no delayed_job worker), scheduled jobs declared in torquebox.yml, and a clustered Infinispan cache for session and fragment caching. Deployment uses mod_cluster with Apache, Capistrano recipes and an init script; a dev start is ~4–7s after JVM startup and typical apps fit in ~1GB. Case study: an ASAP Rails app moves from Heroku (1 web + 1 worker, ~$50/mo) to a VPS option and runs on OpenShift.
AI-written summary · about
chapters (13)
- 0:00TorqueBox introduction
- 3:58What is TorqueBox
- 7:55ASAP case study
- 9:42Setting up TorqueBox
- 12:08Porting background jobs
- 15:38Caching with TorqueBox
- 17:06Replace cron with jobs
- 19:55Real-time updates
- 22:04Production deployment
- 25:59Cloud platform alternative
- 26:41Roadmap and status
- 27:24Resources and support
- 28:11Q&A
related talks
39mJRuby on Rails: From Zero to Scale
46mRuby in the Cloud
31mDavid and Goliath, Ruby and the Enterprise
30mScaling Rails with JRuby in 2022
46mRuby in the Clouds
28mBuilding in Rails, Backbone, and CoffeeScript
34mShared Nothing Architecture - How to Scale to Infinity
33mServices and Rails: The Sh*t They Don't Tell You
