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
Thanh Chau
Cache hcm-topdev
Cache hcm-topdev
Chau Thanh
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
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Zilliz
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
The Digital Insurer
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
Remote DBA Services
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Dropbox
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Nanddeep Nachan
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Deepika Singh
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
apidays
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Zilliz
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
johnbeverley2021
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Zilliz
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
apidays
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Recently uploaded
(20)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
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