Rails hosting

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Rails hosting - Presentation Transcript

    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[\"host\"] =~ \"^(www.)?example.openminds.be\" { var.app = \"example\" accesslog.filename = base + \"/logs/\" + app + \".access.log\" server.errorlog = base + \"/logs/\" + app + \".error.log\" 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. Shared - Version 2 Passenger (mod_rails)
    14. Passenger • Convinced • Central daemon - Central config • Process-heaven • acts_like :php_hosting
    15. 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
    16. General problems • Gems • Deployment • No TESTING!
    17. Non-shared Openminds::Hosting::Dedicated.clone
    18. Dedicated application & helper applications client decides
    19. Small Dedicated Nginx + fair queueing + Mongrel cluster Monit (m/monit)
    20. Medium Dedicated Passenger (?)
    21. Large Dedicated A la tête du client
    22. Dedicated sudo
    23. Technology Mongrel / Evented Mongrel / Ebb / Thin / Nginx / Apache / Passenger / Merb / Enterprise Ruby / JRuby / Glassfish / ...
    24. Common
    25. Rails version 1 ) install new rails gem 2 ) Open support system
    26. Gem-versions Sync rake gems:freeze
    27. Deployment Capistrano Provide recipy
    28. Pound No-worry-ssl
    29. Rails is slow Developer Hosting
    30. Rails hosting Inhouse Rails knowledge is needed
    31. Warning • database.yml • restart application • read your logs
    32. Q&A
    33. Who Bernard Grymonpon / wonko([_\\.]be)? Openminds BVBA - www.openminds.be

    + wonkowonko, 9 months ago

    custom

    490 views, 0 favs, 0 embeds more stats

    The presentation I gave at Fosdem 2009 on sunday Fe more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 490
      • 490 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 10
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories