Forum: Ruby on Rails Rails App, Nginx, Virtual Hosts and bandwidth shaping

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Daniele :. (Guest)
on 2009-03-16 22:57
I’m testing a Rails app that serves multiple different sites with a
virtual hosts configuration (nginx web server). I need to set a limit
per host basis so a single site is unable to eat all the bandwidth and
server resources. Which solution can be more useful? Some hypothesis:

- A web server module (mod_band, etc..)
- A monitor/filter inside the app
- A system level way (es TC).

Any hint?
Thank you in advance :)

xin (Guest)
on 2011-11-13 14:51
(Received via mailing list)
Anton Y. Hi! This means that EVERY virtualhost have that limit
or all virtualhosts together? How I could do that to limit for example
10 virtualhosts to have all together 25mbps limited bandwidth, is it
possible? 10 virtualhosts together = 25mbps limit not each..

Posted at Nginx Forum:,265,218247#msg-218247
This topic is locked and can not be replied to.