Originally Posted by alichakery
Thanks for the replies ...
well the most important thing to me is performance .. I have heard that NGINX performance is so much better than LiteSpeed , and I think LiteSpeed is not compatible with MariaDB .. (bur I am not sure about it)
Litespeed web server works fine with any MySQL version, I've used MariaDB 5.2.x on Apache, Litespeed and Nginx (for Centminmod.com project).
Nginx configured properly can handle alot in terms of performance, but for php intensive sites I find Litespeed web server the next step up from Nginx (personal opinion based on my own experience).
And here's quick a history of Webhostingtalk.com discussion threads on Apache vs Litespeed, Apache + Varnish Cache vs Litespeed, Apache, Nginx and Litespeed etc
To sum it up
- You need to reach certain level of high concurrency traffic to see the real benefits of Litespeed web server compared Apache standalone web server or Nginx. If you're forums or site are a new startup with very little in the way of concurrent visitor traffic, then Apache or Nginx standalone server (if tuned optimally) should suffice . Tacking on Varnish with Apache or Nginx will make things even more snappier and most cost effective boost a step up from Apache standalone.
- My first choice for very high concurrent traffic sites and best performance = litespeed web server or litespeed web server + litespeed cache or litespeed web server + varnish cache. I'm talking concurrency levels in the 1,000-10,000+ range. If you don't mind spending hours, days and weeks at a time managing/configuring and learning about nginx and nginx's alternative rewrite syntax for Apache htaccess/mod_rewrite equivalents, then nginx is also a good to Apache standalone.
Personally, if time is money to you, then while nginx is free, it's hidden costs is your time.
Yes long term wise once you learn Nginx and how to configure it, then probably it will pay off somewhat. But can definitely say the total hours you spend babysitting and administrating a Nginx based server will definitely be much higher than that with Litespeed web server
. It's reason I jumped on Centmin.com project with my own modded version Centminmod.com to reduce some of that administration time for setting up and maintaining Nginx standalone.
If you are unfamiliar with Nginx or Apache tuning, and need to hire someone to do it for you, then that's additional costs there as well, so for folks stating Nginx and Apache are free compared to Litespeed, the argument doesn't really hold up. It's only true if you are competent in tuning Nginx and Apache to meet traffic needs.
Litespeed is more like Apache in that you can install, set and forget most of the time. It works well out of the box, only really needed to tune settings once a client >200,000 unique ip visitors/day or if you're behind a load balancer and you database backend is slow to respond to query requests. Litespeed all settings are in admin GUI interface control panel to adjust. Litespeed VPS license is US$15/month while 2 cpu license is like US$45/month. My time is certainly worth more than the license cost, so with Litespeed I also save my time compared to Nginx.
But if you really can't afford a Litespeed license and you've outgrown Apache standalone (minus web accelerators like Varnish Cache), then yes Apache + Varnish or Nginx are better alternatives to Apache standalone.
Just my AUD$0.02