The document discusses web hosting and application deployment solutions. It covers developing applications locally or using development servers, and deploying applications to production environments. Different tools are described for local development (e.g. Passenger), development servers (e.g. Mongrel), and production deployment (e.g. Capistrano for automated deployments). The importance of separating development and production environments is emphasized.
1 of 17
More Related Content
Rails Servers - Arrrrcamp 20090508
1. Extremely
Rails Webserving en Hosting evolved
solutions
Van Applicatie naar Web Lorem ipsum dolor sit amet, cons
ectetuer adipiscing elit. Donec
sagittis sagittis urna. Aliquam ipsum.
Nunc in leo sed ante lacinia volutpat.
Pellentesque urna diam, aliquet
non, ullamcorper ut, volutpat lacinia,
purus.
http://frank.be/ - @frank_be
http://www.openminds.be/
Zilverenberg 39 - B-9000 Gent - Belgium
Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57
pub_openminds.indd 1 11/15/06 10:53:57 AM
2. Applicatie serven
Tijdens ontwikkelen Extremely
evolved
solutions
Lorem ipsum dolor sit amet, cons
ectetuer adipiscing elit. Donec
sagittis sagittis urna. Aliquam ipsum.
Nunc in leo sed ante lacinia volutpat.
Pellentesque urna diam, aliquet
non, ullamcorper ut, volutpat lacinia,
purus.
Eens het af is
Zilverenberg 39 - B-9000 Gent - Belgium
Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57
Frank Louwers Arrrrcamp Gent - 20090508
pub_openminds.indd 1 11/15/06 10:53:5
3. The Rules ...
Extremely
evolved
solutions
Lorem ipsum dolor sit amet, cons
ectetuer adipiscing elit. Donec
sagittis sagittis urna. Aliquam ipsum.
Nunc in leo sed ante lacinia volutpat.
Rule #1
Pellentesque urna diam, aliquet
non, ullamcorper ut, volutpat lacinia,
purus.
Zilverenberg 39 - B-9000 Gent - Belgium
Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57
Frank Louwers Arrrrcamp Gent - 20090508
pub_openminds.indd 1 11/15/06 10:53:5
5. Development = dev
Development mode in Rails Extremely
geen caching evolved
solutions
telkens alles herladen Lorem ipsum dolor sit amet, cons
veel debugging en logging
ectetuer adipiscing elit. Donec
sagittis sagittis urna. Aliquam ipsum.
Nunc in leo sed ante lacinia volutpat.
Pellentesque urna diam, aliquet
non, ullamcorper ut, volutpat lacinia,
purus.
Niet op productie-omgeving!
Waar wel?
lokaal
grotere teams: development server Zilverenberg 39 - B-9000 Gent - Belgium
Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57
Frank Louwers Arrrrcamp Gent - 20090508
pub_openminds.indd 1 11/15/06 10:53:5
6. The Rules ...
Extremely
evolved
solutions
Lorem ipsum dolor sit amet, cons
ectetuer adipiscing elit. Donec
sagittis sagittis urna. Aliquam ipsum.
Nunc in leo sed ante lacinia volutpat.
Rule #2
Pellentesque urna diam, aliquet
non, ullamcorper ut, volutpat lacinia,
purus.
Zilverenberg 39 - B-9000 Gent - Belgium
Tel: +32 9 225 82 91 - Fax: +32 9 224 46 57
Frank Louwers Arrrrcamp Gent - 20090508
pub_openminds.indd 1 11/15/06 10:53:5
Serven van je webapplicaties is nodig tijdens het ontwikkelen, en eens het af is. Dat zijn twee verschillende zaken, maar even belangrijk. Beide komen aan bod tijdens deze korte talk.
Nadeel: apache neemt nogal wat geheugen in. Op oudere macs: probleem misschien.
Keuze in functie van: beschikbaar geheugen, type applicatie, andere componenten (php, flv-modules, java, ...)
Thin is (meestal) pak sneller dan mongrel. Apache + Passenger = zeer admin-vriendelijk. Nginx + Passenger = snel, handig, memory-vriendelijk