I am using InstantRails, and i have the webrick server running on port
3000. when i run the rails app, i cannot run another instance of it.
So only 1 person can use the app at a time.
how do i allow multiple instances?
I am using InstantRails, and i have the webrick server running on port
3000. when i run the rails app, i cannot run another instance of it.
So only 1 person can use the app at a time.
how do i allow multiple instances?
More than one person can use it, however Webbrick is single threaded so
is not efficient.
You should use mongrel cluster, with a load balancer in front of it.
Apache or Pound are two load balancers that can be used.
thanks for you reply, any links that detail this?
John W. wrote:
More than one person can use it, however Webbrick is single threaded so
is not efficient.You should use mongrel cluster, with a load balancer in front of it.
Apache or Pound are two load balancers that can be used.
Pound:
http://blog.tupleshop.com/2006/7/8/deploying-rails-with-pound-in-front-of-mongrel-lighttpd-
and-apache
(the apache & lighttpd stuff is not nessessary but interesting as a
sidenote)
The latest InstantRails use Mongrel as the server, and can be started
on different port for different applications. Not good enough?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs