• Save
Rails Servers -  Arrrrcamp 20090508
Upcoming SlideShare
Loading in...5
×
 

Rails Servers - Arrrrcamp 20090508

on

  • 1,205 views

My presentation on Arrrrcamp Gent on 20090508, about choosing a server for your rails apps. Covers both production and development mode

My presentation on Arrrrcamp Gent on 20090508, about choosing a server for your rails apps. Covers both production and development mode

Statistics

Views

Total Views
1,205
Views on SlideShare
1,177
Embed Views
28

Actions

Likes
0
Downloads
0
Comments
0

4 Embeds 28

http://frank.be 25
http://www.slideshare.net 1
http://www.linkedin.com 1
http://v3.frank.be 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br /> <br />
  • 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. <br />
  • <br /> <br />
  • <br /> <br />
  • <br /> <br />
  • <br /> <br />
  • <br /> <br />
  • <br /> <br />
  • Nadeel: apache neemt nogal wat geheugen in. Op oudere macs: probleem misschien. <br />
  • <br /> <br />
  • Keuze in functie van: beschikbaar geheugen, type applicatie, andere componenten (php, flv-modules, java, ...) <br />
  • Thin is (meestal) pak sneller dan mongrel. Apache + Passenger = zeer admin-vriendelijk. Nginx + Passenger = snel, handig, memory-vriendelijk <br />
  • Grootst aantal support tickets van nieuwe klanten <br />
  • <br /> <br />
  • <br /> <br />
  • <br /> <br />
  • <br /> <br />

Rails Servers -  Arrrrcamp 20090508 Rails Servers - Arrrrcamp 20090508 Presentation Transcript

  • 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
  • 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
  • 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
  • Development = development omgeving
  • 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
  • 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
  • First learn rule #1
  • Development servers • ./script/server Extremely evolved • standaard solutions • mongrel (of webbrick) op poort 3000 Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. • http://127.0.0.1:3000/ Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. • Nadelen? • console open • meerdere projecten tegelijk: bijhouden waar/wat gestart • veel images/css/js op uw site: traag (alles via mongrel) 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
  • Development servers • Mac: Passenger! Extremely evolved • module voor de Apache webserver (standaard op solutions Mac!) • gem install passenger Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec sagittis sagittis urna. Aliquam ipsum. • Passenger Prefpane: http://bit.ly/passengerprefpane Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. • Voordelen? • Prefpane: handig • http://projectnaam.local/ - http://anderproject.local/ • Wordt pas gestart als nodig 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
  • Development servers 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. 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
  • Production servers • Keuze! Extremely evolved • Mongrel solutions • Thin 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 • Apache + Passenger non, ullamcorper ut, volutpat lacinia, purus. • Nginx + Passenger • Lighttpd + FastCGI • Glassfish (Java / Jruby) 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
  • Openminds • Keuze! Extremely evolved • Mongrel solutions • Thin 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 • Apache + Passenger non, ullamcorper ut, volutpat lacinia, purus. • Nginx + Passenger • Lighttpd + FastCGI • Glassfish (Java / Jruby) 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
  • Deployment • Deploy-watte? Extremely evolved solutions • Lorem ipsum dolor sit amet, cons Van uw ontwikkelomgeving 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. Naar uw productieomgeving • Lastig voor beginners 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
  • Problemen ... • FTP (jaja) of scp van files Extremely evolved • database.yml solutions • migraties? 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 • PhpMyAdmin non, ullamcorper ut, volutpat lacinia, purus. • herstarten van applicatie • help, deze versie bevat kritieke fout: rollback 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
  • Recept dat werkt • Source-control systeem Extremely evolved solutions • Lorem ipsum dolor sit amet, cons Capistrano 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. • Database migrations (eventueel fixtures) • cap deploy 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
  • SOS Piet uitsmijter 1.Development nooit op productieomgeving Extremely evolved solutions Lorem ipsum dolor sit amet, cons ectetuer adipiscing elit. Donec 2.http://bit.ly/passengerprefpane sagittis sagittis urna. Aliquam ipsum. Nunc in leo sed ante lacinia volutpat. Pellentesque urna diam, aliquet non, ullamcorper ut, volutpat lacinia, purus. 3.Productie: veek keuze, kies wijs 4.Deployment strategie (capistrano) 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
  • Q &A http://flickr.com/photos/mbake/399084699/