Best Production Server to Use

So Litespeed works like apache and mod_php?

Yes.

No other server is needed?

No.

No load-balancing?

It load balances automatically in term of creating and destroying server processes on the same box, just like apache+mod_php. (If you want to distribute your load over several boxes you have to use the standard means of doing so, just like with any solution.)

I can run several application in one domain?

Yes.

But I have to pay for it if it runs on a server with more than a single CPU?

No. This is a common misconception. You can run Litespeed on multiprocessor boxes, but it will only utilize one processor in that case. The free version supports up to 150 simultaneous requests, which is extremely high. You won't hit that ceiling in a long, long time. You can regard the free version as more or less unlimited.

Sorry for the questions, I'm a newbie to RoR and I try to understand how it acts compared to php I'm currently using.

You will find that Litespeed operates more or less exactly like apache and mod_php. It is completely beyond me why people persist in using mongrel clusters nowadays. Litespeed is so much faster and easier to use.

  / Peter

Peter Bengtson wrote:

You will find that Litespeed operates more or less exactly like apache and mod_php. It is completely beyond me why people persist in using mongrel clusters nowadays.

Maybe because it works for them and is more extensible ? Just one question : how do you upload huge files (I have a client which routinely exchanges CD images over FTP and is migrating to HTTP so this is a real-life scenario) without using huge amounts of memory on Litespeed + RoR ? Is anything like the mongrel/merb upload-progress bars solutions available ?

Litespeed is so much faster and easier to use.    The in-kernel Linux http daemon was even faster and easier to use (could only serve static files initially so basically no configuration). That didn't make it better in general...

I can hack Apache/Lighttpd/Nginx sources and actually did so for Apache and Nginx for business purposes. I can't with Litespeed so I'll restrict my business opportunities or rely on the editor to implement the changes I need.

So if you need flexibility like me Litespeed is out right away.

Lionel