0
Ruby Hosting

Artit Satanakulpanich
      (Revolution)
Framework
•   Ruby on Rails
•   Merb
•   Camping
•   Ramaze
•   Etc.
Server for Ruby
• WEBrick
  – Ease of use
  – Slow and Single Thread
Server for Ruby
• Mongrel
  – Ease of use
  – Fast
  – Consume huge memory
  – Mongrel Custer
  – Thread?
Server for Ruby
• FastCGI ( fcgi )
  – Difficult to setup
  – Faster than WEBrick, may be slower than
    Mongrel
  – Bind...
Share Hosting Limitation
• Limit resources
  – RAM
  – Ports
• Control Panel integration
• Deployment Process
Why FastCGI
• Setup and Run
• No Port management
• Automatically fork processes when many
  concurrent coming
• Give back ...
Need more?
• Deployment Tools
  – Like Capistano
• Control Panel
  – Plesk, Direct Admin, etc.
• You!
Make You own Choice
• No best solution for all task
• Select one that suit to your app and style
Redgem
• Project Need help
• Contact Me
  – bank@rubybox.net
  – http://rubyforge.org/projects/redgem/
• Show mind map
Thanks
• Thank you for organizers to arrange
  wonderful BARCAMP Bangkok
Rubyhosting
Upcoming SlideShare
Loading in...5
×

Rubyhosting

932

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
932
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Rubyhosting"

  1. 1. Ruby Hosting Artit Satanakulpanich (Revolution)
  2. 2. Framework • Ruby on Rails • Merb • Camping • Ramaze • Etc.
  3. 3. Server for Ruby • WEBrick – Ease of use – Slow and Single Thread
  4. 4. Server for Ruby • Mongrel – Ease of use – Fast – Consume huge memory – Mongrel Custer – Thread?
  5. 5. Server for Ruby • FastCGI ( fcgi ) – Difficult to setup – Faster than WEBrick, may be slower than Mongrel – Bind up with some HTTP Server – Well memory management
  6. 6. Share Hosting Limitation • Limit resources – RAM – Ports • Control Panel integration • Deployment Process
  7. 7. Why FastCGI • Setup and Run • No Port management • Automatically fork processes when many concurrent coming • Give back RAM after process’s timeout
  8. 8. Need more? • Deployment Tools – Like Capistano • Control Panel – Plesk, Direct Admin, etc. • You!
  9. 9. Make You own Choice • No best solution for all task • Select one that suit to your app and style
  10. 10. Redgem • Project Need help • Contact Me – bank@rubybox.net – http://rubyforge.org/projects/redgem/ • Show mind map
  11. 11. Thanks • Thank you for organizers to arrange wonderful BARCAMP Bangkok
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×