InstantRails problem

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.

  1. 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)

  2. Apache:
    http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-apache-2-2-mod_proxy_balancer-and-mongrel

The latest InstantRails use Mongrel as the server, and can be started
on different port for different applications. Not good enough?

ZON
http://www.ZONator.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs