Hi,

I know Mongrel is one of the best performing methods to host rails.
I know CGI is to be avoided because the ruby interpreter and the rails
framework have to be loaded for every request.
I know FastCGI is faster then CGI (what's in a name :-D ) because is
works with a long-running proces, so that the ruby interpreter, the
rails framework, the database connection, ... only have to be loaded
once.  And I do know that this has an influence on CPU and RAM usage
(shared environments!).

What I don't know is the reason why Mongrel performs better:
How does http work compared to (fast)cgi?
Why is it fast?  Does it need a lot of CPU power or RAM, ...?
Does it only work with Apache, or can you use any server?
What exactly is Mongrel?  Is it a server? An extension? ...

I don't find answers to these questions on the Mongrel homepage...
I only find guides to install it (which is super-easy by the way - as
easy a using Webrick).

Can anybody help me out please?

regards,

Johan.

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to