Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
DeployScaleSleepJruby.pdf
Search
jpkutner
August 19, 2012
40
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DeployScaleSleepJruby.pdf
jpkutner
August 19, 2012
Transcript
39 slides
Sunday, August 19, 12
Sunday, August 19, 12
Sunday, August 19, 12
Sunday, August 19, 12
Sunday, August 19, 12
Deploy, Scale and Sleep at Night with JRuby @codefinger Sunday,
August 19, 12
Deploy, Scale and Sleep at Night with JRuby @codefinger Ruby
on the JVM Sunday, August 19, 12
java_import “java.io.File” Java::JavaLang::String Sunday, August 19, 12
Sunday, August 19, 12
you Sunday, August 19, 12
you sysadmin Sunday, August 19, 12
$ cap deploy you sysadmin Sunday, August 19, 12
Sunday, August 19, 12
0" 20" 40" 60" 80" 100" 120" 1" 2" 3"
4" 5" 6" 7" 8" 9" 10"11"12"13"14"15"16"17"18"19"20"21"22" CPU$ RAM$ Sunday, August 19, 12
MRI Mongrel Apache/Nginx HTTP Request MRI Mongrel Sunday, August 19,
12
GIL Ruby Thread Ruby Thread Ruby Thread Kernel Thread Sunday,
August 19, 12
JVM JRuby Thread Apache/Nginx HTTP Request Sunday, August 19, 12
http://torquebox.org/news/2011/10/06/torquebox-2x-performance/ Sunday, August 19, 12
1) JRuby... 2) ? 3) Profit! Sunday, August 19, 12
1) JRuby... 2) Deployment 3) Profit! Sunday, August 19, 12
JRuby Archive File Capistrano Background Jobs Clustering PaaS Sunday, August
19, 12
Warbler Trinidad TorqueBox Archive File Capistrano Background Jobs Clustering Capistrano
Archive File Background Jobs PaaS PaaS PaaS Archive File Sunday, August 19, 12
$ gem install warbler $ warble war WAR File Warbler
Sunday, August 19, 12
$ apt-get install tomcat6 WAR File Sunday, August 19, 12
$ apt-get install tomcat6 /var/lib/tomcat6 |-- common/ |-- conf/ |--
logs/ |-- shared/ |-- webapps/ `-- work/ WAR File Sunday, August 19, 12
Tomcat/Jetty Server SSH/FTP/SMB WAR File Warbler + Tomcat/Jetty/WebLogic/JBoss Sunday, August
19, 12
Tomcat/Jetty Server SSH/FTP/SMB WAR File Warbler + Tomcat/Jetty/WebLogic/JBoss SSH/FTP/SMB WAR
File Sunday, August 19, 12
$ gem install trinidad $ rails s trinidad Trinidad Sunday,
August 19, 12
Trinidad Server Extensions app1/ |-- app/ |-- config/ |-- db/
|-- lib/ `-- config.ru Capistrano app2/ |-- app/ |-- config/ |-- db/ |-- lib/ `-- config.ru Capistrano Job Scheduler (Quartz) Background Jobs (Resque) DB Pool (Commons DBCP) Trinidad Sunday, August 19, 12
then $ gem install torquebox-server $ torquebox run $ torquebox
deploy TorqueBox Sunday, August 19, 12
TorqueBox app1/ |-- app/ |-- config/ |-- db/ |-- lib/
`-- config.ru Capistrano Knob File SSH/FTP/SMB Job Scheduler Session Replication Messaging High Availability Services Stomplets Clustering TorqueBox Sunday, August 19, 12
TorqueBox cluster TorqueBox TorqueBox TorqueBox TorqueBox TorqueBox TorqueBox Sunday, August
19, 12
• Mizuno • Puma Other Options Sunday, August 19, 12
• Heroku • EngineYard (Trinidad) • OpenShift (TorqueBox) • CloudBees
(Warbler) • Google AppEngine Cloud Sunday, August 19, 12
People Processes Technologies Sunday, August 19, 12
http://pragprog.com/book/jkdepj @codefinger Sunday, August 19, 12
http://logichaus.com Sunday, August 19, 12
The End Sunday, August 19, 12
The End Sunday, August 19, 12
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
A designer walks into a library…
pauljervisheath
211
25k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
The Limits of Empathy - UXLibs8
cassininazir
2
800
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.5k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
Utilizing Notion as your number one productivity tool
mfonobong
4
710
What's in a price? How to price your products and services
michaelherold
247
13k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k