Re: Scaling

Matthew Weigel <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Jeremy Wilkins wrote:
> Hi,
> 
> I'm busy looking at options for deploying an rails app we are  
> developing. I've set up apps before with a FastCgiServer line like
> 
> FastCgiServer /path/to/app/public/dispatch.fcgi -processes x
> 
> to preload a certain number of instances of the app. Does this  
> actually limit the number of instances - or is it just a base line?

My reading is that 'static' FastCGI servers - what 'FastCgiServer' sets
up - have a fixed number of processes that run.  If you don't use
'-processes' then that fixed number is 1.  Individual FastCGI
applications like PHP may manage multiple worker processes, and have
their own logic to control the number of worker processes dynamically
according to load.

If you want dynamic growing and shrinking of the application process
pool (managed by mod_fastcgi rather than externally), look at 'dynamic'
FastCGI servers - what 'FastCgiConfig' manages.
-- 
 Matthew Weigel
 hacker
 [email protected]
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.