More Related Content
Similar to Deploy, Scale and Sleep at Night with JRuby
Similar to Deploy, Scale and Sleep at Night with JRuby (20)
More from Joe Kutner (20)
Deploy, Scale and Sleep at Night with JRuby
- 14. CPU$ RAM$
120"
100"
80"
60"
40"
20"
0"
1" 2" 3" 4" 5" 6" 7" 8" 9" 10" 11" 12" 13" 14" 15" 16" 17" 18" 19" 20" 21" 22"
- 15. HTTP
Request
Apache/Nginx
MRI MRI
Mongrel Mongrel
- 16. Ruby Ruby Ruby
Thread Thread Thread
GIL
Kernel
Thread
- 17. HTTP
Request
Apache/Nginx
JVM
JRuby
Thread
- 21. JRuby
Archive File
Capistrano
Background Jobs
Clustering
PaaS
- 22. Warbler Trinidad TorqueBox
Archive File Archive File Archive File
Capistrano Capistrano
Background Jobs Background Jobs
Clustering
PaaS PaaS PaaS
- 25. $ apt-get install tomcat6
/var/lib/tomcat6
|-- common/
|-- conf/
WA
|-- logs/ R File
|-- shared/
|-- webapps/
`-- work/
- 26. Warbler
+ Tomcat/Jetty/WebLogic/JBoss
Tomcat/Jetty
Server
WA SSH/FTP/SMB
R File
- 27. Warbler
+ Tomcat/Jetty/WebLogic/JBoss
Tomcat/Jetty
Server
WA SSH/FTP/SMB
R File
WA SSH/FTP/SMB
R File
- 29. Trinidad
Trinidad Server
app1/ Extensions
|-- app/
|-- config/
|-- db/ Capistrano
|-- lib/ Job Scheduler (Quartz)
`-- config.ru
Background Jobs
app2/ (Resque)
|-- app/
|-- config/
|-- db/ Capistrano
DB Pool
|-- lib/
`-- config.ru (Commons DBCP)
- 31. TorqueBox
TorqueBox
Job Scheduler
app1/
|-- app/
|-- config/
|-- db/ Capistrano Messaging
|-- lib/
`-- config.ru
Session Replication
High Availability
Knob Services
SSH/FTP/SMB
File
Stomplets
Clustering
- 32. TorqueBox
TorqueBox
TorqueBox TorqueBox
cluster
TorqueBox TorqueBox
TorqueBox
- 34. Cloud
• Heroku
• EngineYard (Trinidad)
• OpenShift (TorqueBox)
• CloudBees (Warbler)
• Google AppEngine
- 36. Text
Text
Text
Text
Text
Text
http://pragprog.com/book/jkdepj
Editor's Notes
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- Passenger and Unicorn had 50 workers. \n\nTorqueBox and Trinidad were capped at 100 HTTP threads (to match DB connection pool size).\n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n