Submit Search
Upload
Rails hosting
•
0 likes
•
562 views
W
wonko
Follow
The presentation I gave at Fosdem 2009 on sunday Feb 8 in the Ruby/Rails Devroom.
Read less
Read more
Technology
Report
Share
Report
Share
1 of 35
Download now
Download to read offline
Recommended
From One to a Cluster
From One to a Cluster
guestd34230
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
Jonathan Weiss
Web Sockets - HTML5
Web Sockets - HTML5
Matheus Marabesi
Merb Presentation
Merb Presentation
gueste4d7fc
Introduction to Web Sockets
Introduction to Web Sockets
Jumping Bean
Experiences With Pre Commit Hooks
Experiences With Pre Commit Hooks
Thomas Weinert
Phorum MySQL tricks
Phorum MySQL tricks
guestd34230
Coredns nodecache - A highly-available Node-cache DNS server
Coredns nodecache - A highly-available Node-cache DNS server
Yann Hamon
Recommended
From One to a Cluster
From One to a Cluster
guestd34230
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
Jonathan Weiss
Web Sockets - HTML5
Web Sockets - HTML5
Matheus Marabesi
Merb Presentation
Merb Presentation
gueste4d7fc
Introduction to Web Sockets
Introduction to Web Sockets
Jumping Bean
Experiences With Pre Commit Hooks
Experiences With Pre Commit Hooks
Thomas Weinert
Phorum MySQL tricks
Phorum MySQL tricks
guestd34230
Coredns nodecache - A highly-available Node-cache DNS server
Coredns nodecache - A highly-available Node-cache DNS server
Yann Hamon
Building Applications on Avalanche
Building Applications on Avalanche
KlaraOrban
re7jweiss
re7jweiss
guest6850dd
LINE LIVE のチャットが 30,000+/min のコメント投稿を捌くようになるまで
LINE LIVE のチャットが 30,000+/min のコメント投稿を捌くようになるまで
LINE Corporation
[POSS 2019] OVirt and Ceph: Perfect Combination.?
[POSS 2019] OVirt and Ceph: Perfect Combination.?
Worteks
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
ScyllaDB
ruby + websocket + haproxy
ruby + websocket + haproxy
Mathieu Elie
Rust's Journey to Async/await
Rust's Journey to Async/await
C4Media
Os Fitzpatrick Sussman Swp
Os Fitzpatrick Sussman Swp
oscon2007
Os Alrubaie
Os Alrubaie
oscon2007
Apache Httpd and TLS certificates validations
Apache Httpd and TLS certificates validations
Jean-Frederic Clere
Websockets
Websockets
Billy Cravens
IT Operations for Web Developers
IT Operations for Web Developers
Mahmoud Said
CPAN Packager
CPAN Packager
techmemo
Web Sockets
Web Sockets
Paul Fryer
Accelerate your web app with a layer of Varnish
Accelerate your web app with a layer of Varnish
Jeremy Cook
Rust Primer
Rust Primer
Knoldus Inc.
Ruby eventmachine pres at rubybdx
Ruby eventmachine pres at rubybdx
Mathieu Elie
Zero vm architecture
Zero vm architecture
sgt_mac
Learning Technologies B
Learning Technologies B
Lee-Anne P
Cybersafety
Cybersafety
Lee-Anne P
Lee-Anne - Indiv Researc
Lee-Anne - Indiv Researc
Lee-Anne P
What 1,000,000 Social Media Experts Taught Me
What 1,000,000 Social Media Experts Taught Me
Dylan Wilbanks
More Related Content
What's hot
Building Applications on Avalanche
Building Applications on Avalanche
KlaraOrban
re7jweiss
re7jweiss
guest6850dd
LINE LIVE のチャットが 30,000+/min のコメント投稿を捌くようになるまで
LINE LIVE のチャットが 30,000+/min のコメント投稿を捌くようになるまで
LINE Corporation
[POSS 2019] OVirt and Ceph: Perfect Combination.?
[POSS 2019] OVirt and Ceph: Perfect Combination.?
Worteks
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
ScyllaDB
ruby + websocket + haproxy
ruby + websocket + haproxy
Mathieu Elie
Rust's Journey to Async/await
Rust's Journey to Async/await
C4Media
Os Fitzpatrick Sussman Swp
Os Fitzpatrick Sussman Swp
oscon2007
Os Alrubaie
Os Alrubaie
oscon2007
Apache Httpd and TLS certificates validations
Apache Httpd and TLS certificates validations
Jean-Frederic Clere
Websockets
Websockets
Billy Cravens
IT Operations for Web Developers
IT Operations for Web Developers
Mahmoud Said
CPAN Packager
CPAN Packager
techmemo
Web Sockets
Web Sockets
Paul Fryer
Accelerate your web app with a layer of Varnish
Accelerate your web app with a layer of Varnish
Jeremy Cook
Rust Primer
Rust Primer
Knoldus Inc.
Ruby eventmachine pres at rubybdx
Ruby eventmachine pres at rubybdx
Mathieu Elie
Zero vm architecture
Zero vm architecture
sgt_mac
What's hot
(18)
Building Applications on Avalanche
Building Applications on Avalanche
re7jweiss
re7jweiss
LINE LIVE のチャットが 30,000+/min のコメント投稿を捌くようになるまで
LINE LIVE のチャットが 30,000+/min のコメント投稿を捌くようになるまで
[POSS 2019] OVirt and Ceph: Perfect Combination.?
[POSS 2019] OVirt and Ceph: Perfect Combination.?
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
ruby + websocket + haproxy
ruby + websocket + haproxy
Rust's Journey to Async/await
Rust's Journey to Async/await
Os Fitzpatrick Sussman Swp
Os Fitzpatrick Sussman Swp
Os Alrubaie
Os Alrubaie
Apache Httpd and TLS certificates validations
Apache Httpd and TLS certificates validations
Websockets
Websockets
IT Operations for Web Developers
IT Operations for Web Developers
CPAN Packager
CPAN Packager
Web Sockets
Web Sockets
Accelerate your web app with a layer of Varnish
Accelerate your web app with a layer of Varnish
Rust Primer
Rust Primer
Ruby eventmachine pres at rubybdx
Ruby eventmachine pres at rubybdx
Zero vm architecture
Zero vm architecture
Viewers also liked
Learning Technologies B
Learning Technologies B
Lee-Anne P
Cybersafety
Cybersafety
Lee-Anne P
Lee-Anne - Indiv Researc
Lee-Anne - Indiv Researc
Lee-Anne P
What 1,000,000 Social Media Experts Taught Me
What 1,000,000 Social Media Experts Taught Me
Dylan Wilbanks
10 Years In The Hole: A Possibly Cautionary Tale About Being A Higher Ed Web ...
10 Years In The Hole: A Possibly Cautionary Tale About Being A Higher Ed Web ...
Dylan Wilbanks
Mashing it Up in the Classroom
Mashing it Up in the Classroom
Lee-Anne P
Open Web Camp 2014: On Fireproof, Future-Proof, Failure-Proof Things.
Open Web Camp 2014: On Fireproof, Future-Proof, Failure-Proof Things.
Dylan Wilbanks
Don't Ask How The Sausage Is Made: How To Bring UX Into A Startup Without Goi...
Don't Ask How The Sausage Is Made: How To Bring UX Into A Startup Without Goi...
Dylan Wilbanks
Viewers also liked
(8)
Learning Technologies B
Learning Technologies B
Cybersafety
Cybersafety
Lee-Anne - Indiv Researc
Lee-Anne - Indiv Researc
What 1,000,000 Social Media Experts Taught Me
What 1,000,000 Social Media Experts Taught Me
10 Years In The Hole: A Possibly Cautionary Tale About Being A Higher Ed Web ...
10 Years In The Hole: A Possibly Cautionary Tale About Being A Higher Ed Web ...
Mashing it Up in the Classroom
Mashing it Up in the Classroom
Open Web Camp 2014: On Fireproof, Future-Proof, Failure-Proof Things.
Open Web Camp 2014: On Fireproof, Future-Proof, Failure-Proof Things.
Don't Ask How The Sausage Is Made: How To Bring UX Into A Startup Without Goi...
Don't Ask How The Sausage Is Made: How To Bring UX Into A Startup Without Goi...
Similar to Rails hosting
Evergreen Sysadmin Survival Skills
Evergreen Sysadmin Survival Skills
Evergreen ILS
Xen_and_Rails_deployment
Xen_and_Rails_deployment
Abhishek Singh
Deploying And Monitoring Rails
Deploying And Monitoring Rails
Jonathan Weiss
Qcon
Qcon
adityaagarwal
Varnish http accelerator
Varnish http accelerator
no no
XS Boston 2008 Network Topology
XS Boston 2008 Network Topology
The Linux Foundation
Erlang Lightning Talk
Erlang Lightning Talk
GiltTech
Hands on Virtualization with Ganeti (part 1) - LinuxCon 2012
Hands on Virtualization with Ganeti (part 1) - LinuxCon 2012
Lance Albertson
Deployment with Ruby on Rails
Deployment with Ruby on Rails
Jonathan Weiss
Cache hcm-topdev
Cache hcm-topdev
Chau Thanh
Cache hcm-topdev
Cache hcm-topdev
Thanh Chau
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
dotCloud
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Docker, Inc.
OpenSolaris Web Stack MySQL BOF
OpenSolaris Web Stack MySQL BOF
Murthy Chintalapati
Http Status Report
Http Status Report
ConSanFrancisco123
Ajax Tutorial
Ajax Tutorial
oscon2007
Capistrano
Capistrano
Kenneth Kalmer
Extending The My Sql Data Landscape
Extending The My Sql Data Landscape
Ronald Bradford
All The Little Pieces
All The Little Pieces
Andrei Zmievski
Introduction to JRuby
Introduction to JRuby
Amit Solanki
Similar to Rails hosting
(20)
Evergreen Sysadmin Survival Skills
Evergreen Sysadmin Survival Skills
Xen_and_Rails_deployment
Xen_and_Rails_deployment
Deploying And Monitoring Rails
Deploying And Monitoring Rails
Qcon
Qcon
Varnish http accelerator
Varnish http accelerator
XS Boston 2008 Network Topology
XS Boston 2008 Network Topology
Erlang Lightning Talk
Erlang Lightning Talk
Hands on Virtualization with Ganeti (part 1) - LinuxCon 2012
Hands on Virtualization with Ganeti (part 1) - LinuxCon 2012
Deployment with Ruby on Rails
Deployment with Ruby on Rails
Cache hcm-topdev
Cache hcm-topdev
Cache hcm-topdev
Cache hcm-topdev
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
OpenSolaris Web Stack MySQL BOF
OpenSolaris Web Stack MySQL BOF
Http Status Report
Http Status Report
Ajax Tutorial
Ajax Tutorial
Capistrano
Capistrano
Extending The My Sql Data Landscape
Extending The My Sql Data Landscape
All The Little Pieces
All The Little Pieces
Introduction to JRuby
Introduction to JRuby
More from wonko
Techtalk Varnish
Techtalk Varnish
wonko
Applied Kanban - Bizcamp 2011
Applied Kanban - Bizcamp 2011
wonko
Persisting dynamic data with mongodb and mongomapper
Persisting dynamic data with mongodb and mongomapper
wonko
Using Mongomapper to store dynamic data
Using Mongomapper to store dynamic data
wonko
Craftmanship
Craftmanship
wonko
Making performant sites
Making performant sites
wonko
More from wonko
(6)
Techtalk Varnish
Techtalk Varnish
Applied Kanban - Bizcamp 2011
Applied Kanban - Bizcamp 2011
Persisting dynamic data with mongodb and mongomapper
Persisting dynamic data with mongodb and mongomapper
Using Mongomapper to store dynamic data
Using Mongomapper to store dynamic data
Craftmanship
Craftmanship
Making performant sites
Making performant sites
Recently uploaded
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
shyamraj55
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
ThousandEyes
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
Recently uploaded
(20)
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Rails hosting
1.
Rails Hosting Openminds
BVBA - Gent www.openminds.be
2.
Shared Rails Hosting
Openminds::Hosting::Pro.clone
3.
Architecture • Controlable medium-sized •
Virtualized (Xen 3.x.y) • Debian Etch • Nginx ( proxy’s) • Webservers • MySQL 5/5.1 - PostgreSQL on DB
4.
Architectuur • Intel Dual
Quad Core systemen / 16GB • Centrale storage through iSCSI • Tuning helps a lot
5.
Shared - version
1 lighttpd & FastCGI (dispatch.fcgi)
6.
Version 1: pro’s •
fast • lighttpd easily scriptable (lighty) • lighttpd managed/monitors ruby processes • mixing rails and php is possible
7.
V1: Mephisto search
8.
V1: Radiant page
9.
Version 1: lighty •
Perl-wrapper around lighttpd • port locking • force the production-env • easy, short configuration files for clients
10.
Version 1: lighty $HTTP[quot;hostquot;]
=~ quot;^(www.)?example.openminds.bequot; { var.app = quot;examplequot; accesslog.filename = base + quot;/logs/quot; + app + quot;.access.logquot; server.errorlog = base + quot;/logs/quot; + app + quot;.error.logquot; load Rails with capistrano app }
11.
Version 1: con’s •
restart everything on change • deploy => restart needed • heavy sites => connection drops • errors in logfiles • errors in config files (new users)
12.
Version 1: con’s •
port hijacking • reboot: server dies • process management is hard
13.
14.
Shared - Version
2 Passenger (mod_rails)
15.
Passenger • Convinced • Central
daemon - Central config • Process-heaven • acts_like :php_hosting
16.
17.
Passenger: con’s • No
client-config files (sock) • Maximum amount of processes limiting, not for minimum amount (startup delay) • Apache 2: love & hate - small setup might give memory problems
18.
General problems • Gems •
Deployment • No TESTING!
19.
Non-shared Openminds::Hosting::Dedicated.clone
20.
Dedicated application & helper
applications client decides
21.
Small Dedicated Nginx +
fair queueing + Mongrel cluster Monit (m/monit)
22.
Medium Dedicated
Passenger (?)
23.
Large Dedicated
A la tête du client
24.
Dedicated
sudo
25.
Technology Mongrel
/ Evented Mongrel / Ebb / Thin / Nginx / Apache / Passenger / Merb / Enterprise Ruby / JRuby / Glassfish / ...
26.
Common
27.
Rails version 1
) install new rails gem 2 ) Open support system
28.
Gem-versions
Sync rake gems:freeze
29.
Deployment
Capistrano Provide recipy
30.
Pound No-worry-ssl
31.
Rails is slow
Developer Hosting
32.
Rails hosting Inhouse Rails
knowledge is needed
33.
Warning • database.yml • restart
application • read your logs
34.
Q&A
35.
Who Bernard Grymonpon /
wonko([_.]be)? Openminds BVBA - www.openminds.be
Download now