Hello, what is mongrel_cluster?

hello, what is mongrel_cluster?how to use it with mongrel???

A good start is MongrelCluster online documentation:

http://mongrel.rubyforge.org/wiki/MongrelCluster

Kind regards
Nicolai

汪亚军 wrote:

hello, what is mongrel_cluster?how to use it with mongrel???

Basically, mongrel_cluster lets you run a “pack of mongrels” (multiple
mongrel instances) on, for instance, ports 8000 to 8002, all talking to
the same database. Generally used behind an Apache or nginx (or some
other web server) load balancing front-end, so your users hit one url
that is routed to one of the mongrel instances for servicing.

Parts of RoR aren’t thread-safe, so it is possible to have your RoR
application die a flaming death if it gets too many requests too close
together.