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
Slideshow view
Report
Share
Slideshow view
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 I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Docker, Inc.
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
dotCloud
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 I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker | 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
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
RankYa
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scott Keck-Warren
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
The Digital Insurer
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
Zilliz
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
SeasiaInfotech2
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
Recently uploaded
(20)
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
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