Reputation: 11
Which webserver i can use for ruby on rails application to carry heavy data Which sever i can use rather than webric i want to carry heavy data webric is not properly supported for this. Plz give me proper direction
Upvotes: 0
Views: 90
Reputation: 24260
If you're new to Rails, Apache + Passenger (as mentioned above) is the most 'straightforward' way to go.
Having a good caching strategy is probably the best way to increase requests/second — before looking at Varnish though, I'd make sure you're handling your fragment caching properly and with enough granularity. See the Rails Guide on caching for more on this.
Upvotes: 0
Reputation: 7487
Also, if you're using Apache, Google has a mod that optimizes your configuration and can significantly improve your performance http://code.google.com/speed/page-speed/docs/module.html
Upvotes: 0
Reputation: 14268
You have many alternatives. A good idea is to choose an application server and put it (or many) behind a web server or 'reverse proxy':
Web servers:
Both of these will handle a lot of traffic well. I'd suggest starting with Apache.
Behind your web server you then need one or many application servers:
If I were you I'd start with Passenger and see how you get on.
On top of that, consider putting Varnish in front of your application for a significant requests/second increase for repetitive tasks.
Upvotes: 3