Nginx vs Apache vs Litespeed

Cheerag Nundlall

Well-known member
Registered
Joined
Oct 12, 2016
Messages
336
Points
18
What is the best web server if compared between these nginx and apache and litespeed? I am running blogs on Apache but i heard that nginx or litespeed supported cache content better than apache hence I tend to use or give them a try in the near future. Does anyone give me an advice?
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
Go with Nginx, it's faster than Apache and can handle high traffic easily.
Litespeed is probably not bad, but it's a paid software.

But if Nginx is lighter than Apache, you can have almost the same performances Apache. PHP7 and a caching system will have more impact on your blogs speed
 

RDO Servers

Well-known member
Registered
Joined
Apr 3, 2015
Messages
1,027
Points
83
We use LiteSpeed and are very happy with it.
 

sh-admin

Active member
Registered
Joined
Sep 29, 2016
Messages
66
Points
0
Nginx and litespeed are basically alternatives for apache when giving boost to the web services , however use of Nginx or litespeed is completely depends on the requirements. No doubt you can compare them with their features however before you opt for one you need to evaluate what contents are you going to host , is it dynamic or static , cache frequency and then optimization.

I agree that these web servers do play a vital role when it comes serving high traffic speed websites , however you need to look at server configuration , optimization and tweaking factor too. You can just can not rely on these technologies to handle speed , or high traffic issues.

Like virtubox said you can easily manage high traffic websites on Apache+PHP7 based server so its all about how you manage the things.
 

TheCompWiz

Well-known member
Registered
Joined
Apr 20, 2016
Messages
130
Points
18
Yes, Its never to late to make changes, just be sure to have good backups just in case something goes wrong!

Here is a good comparison between several web servers
It made me impressed with these benchmarks

LiteSpeed-benchmark.png

LiteSpeed Enterprise was:-

3885% faster than Apache 2.2 using suPHP.
4506% faster than Apache 2.4 using suPHP.
50% faster than Apache 2.2 with mod_PHP.
273% faster than Apache 2.2 with PHP-FPM.
203% faster than Apache 2.4 with PHP-FPM.
86% faster than nginx with PHP-FPM.
16% faster than LiteSpeed Enterprise with PHP-FPM.
slightly faster than OpenLiteSpeed.
How can i have or install LiteSpeed on my VPS, I did not see it on any VPS hosting providers.
 

RDO Servers

Well-known member
Registered
Joined
Apr 3, 2015
Messages
1,027
Points
83
It made me impressed with these benchmarks
Yes, we have been very happy with LiteSpeed!

View attachment 1777



How can i have or install LiteSpeed on my VPS, I did not see it on any VPS hosting providers.
Some providers offer it, some dont. You will have to ask your hosting provider if they can provide you a license, or purchase the license directly from LiteSpeed
https://www.litespeedtech.com/products/litespeed-web-server/overview
 

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
447
Points
28
I never heard of Litespeed.
Apache is the web server that being used on all our hosting servers.
 

serverbundle

Member
Registered
Joined
Oct 2, 2016
Messages
62
Points
0
Well, Litespeed is certainly the best in terms of performance. However, it lacks a huge number of followers.
Here's a basic idea on the global web server usage https://trends.builtwith.com/web-server.
Litespeed is barely used by 1% of the top 10K websites on the Internet when compared to Apache and Nginx which make up roughly 60% of the global trend.

This doesn't mean Litespeed is bad. Both Nginx and Apache are open source software compared to Litespeed which can cost up to 90$ for an Octa-core CPU or 65$ for a Quad-Core CPU.
 

iserveradmin11

Member
Registered
Joined
Mar 17, 2017
Messages
60
Points
8
Hello,
As we know that Apache and Nginx known to most of the crowd but Litespeed is not that popular.
But yes , all the three web servers have there own features and flaw. Or we can say that it is upto one's REQUIREMENT .
Though Apache is heavy but it is loaded of lots of features.
There by , Nginx is light weighted so we can say that it is speed alternative for heavy load servers.
Also, Litespeed is having its own benefits over Nginx. Though , it is also light weighted but it can be the drop-in replacement for Apache as various config files , Apache mods ,etc works with Litespeed.

So, once againg I will say that it would depend on one's need that which web server suits him/her.
 

StackArcVPS

Member
Registered
Hosting Provider
Joined
Apr 5, 2017
Messages
56
Points
0
NGINX all the way
 

BlueLeaf

Well-known member
Registered
Joined
Apr 11, 2017
Messages
199
Points
18
Nginx is my choice. I've been running Nginx for years now, and I put it on all the VPS-es and dedicated servers that I get to configure. It's super fast, and it's definitely my choice over Apache and Litespeed. I configured and used Litespeed too. It's a good option too, but I would still stick to Nginx if I have to choose between them.
 

rankmyhub

Well-known member
Registered
Joined
Feb 14, 2017
Messages
193
Points
18
Nginx is a front end cache system , its not a full fledged web server like apache or litespeed. Nginx have some cons, like we cannot have rewrites enabled in easy manner. You either have to link nignix configuration with php5-fpm or you have to keep niginx in front end of apache.

Also it should be noted that nginx cannot be directly implemented on control panels like CPanel / WHM. Yet there is something called https://engintron.com/

But most hosts does not use engintron. On the other hand litespeed is quite a good alternative to apache and gets the best of nignix and apache without compromising on CPanel /WHM. That is why performance web hosting providers like us, use LiteSpeed+CloudLinux+SSD for best possible performance.

I do not know, if some providers using litespeed for their own site and does not offer for customers, may be they are doing so. But we offer complete litespeed hosting for customers, if you are interested check the shared hosting offers section for more details.

Litespeed is good, if you want to see the performance improvement and coming from apache. We also have http2 enabled. So you will get all the best stack.
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
VirtuBox
If I agree about the rewrite rules, but nginx is a complete web server and can be used easily to process php. All my own servers are running only with Nginx. Last time I have used Apache, I have to read a tutorial because I have no idea about how it work :rolleyes2:
 

Robert Plummer

Member
Registered
Joined
Feb 23, 2017
Messages
26
Points
3
Robert Plummer
That may be true for cPanel/WHM but other panels like DirectAdmin offer the ability to choose Apache, LiteSpeed, NGINX, or a combination of NGINX/APACHE.

chrome_2018-02-22_21-41-41.png


-REPlummer
 

Matt Eberlie

Member
Registered
Joined
Mar 21, 2017
Messages
60
Points
0
Nginx with Varnish for caching. This is the best match i'm using on my servers :)
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,501
Points
63
David Beroff
Varnish for caching for whole server or just any specify sites?
And it is easy to install varnish caching?
I tried to install this caching on a VPS but to be honest it is very complex with configurations.
 

Laurence Flynn

Well-known member
Registered
Joined
Dec 31, 2016
Messages
92
Points
8
Laurence Flynn
Yep. Nginx as the reverse proxy and Varnish cache. PHP 7 FPM, Opcache, Memcached, MariaDB - no stack beats it.

Nginx with its own FastCGI cache is just as good as Varnish but you can't run it as a reverse proxy so it's all or nothing. Works great but a big hassle converting .htaccess rules to Nginx format. No converter works 100% - really frustrating. On Plesk this has always been a hurdle but with the new Plesk 17.5 we can finally run Varnish in a Docker container.
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
VirtuBox
I still not understand the reason to use Varnish with Nginx. With Apache, it could be useful to cache static assets, but Nginx do not need Varnish to handle high-traffic and deliver static content as fast as Apache+Varnish without having to spend time to adjust VCL.
In my opinion, running Nginx in a container to cache static assets will be less painful than Varnish.
Varnish is a powerful caching solution, but no TLS support in 2017...
 

SolaDrive

Active member
Hosting Provider
Registered
Joined
Apr 11, 2017
Messages
72
Points
8
If you don't want to spend the money, nginx by itself (no apache) is by far the best web engine. Litespeeds caching is great, but its expensive. If you setup nginx right though, it can handle a ton of traffic compared to apache standalone.
 

SakamHost

Member
Registered
Joined
Apr 30, 2017
Messages
50
Points
6
If you want for free go with NGINX but if you wanna pay then you will go with LiteSpeed because they are better.
 

Medhahosting

Member
Hosting Provider
Registered
Joined
Feb 28, 2017
Messages
54
Points
8
Yes, Its never to late to make changes, just be sure to have good backups just in case something goes wrong.Like virtubox said you can easily manage high traffic websites on Apache+PHP7 based server so its all about how you manage the things.
 

overcast

Well-known member
Registered
Joined
Jun 27, 2017
Messages
88
Points
0
When I was hosted at Arvixe, they had NGnix server at that time. And it was working really fine. Except some of the SSL issues. NGNix performance is really good. Now I am hosted at Hawkhost and they have Litespeed and their server performance is even better. During school days my site was hosted with Xisto and they had Apache, I had tons of problem with them. I am not saying such isolated incident would be indicator of good or bad server instance. But I am guessing this can be a good option for anyone who wants to manage the server.
 

secretlytaco

New member
Registered
Joined
Aug 3, 2017
Messages
6
Points
0
There's a great comparison of the two web servers from the nice people at DigitalOcean, but I personally would go for apache, if only for its compatibility and the fact that it can parse `.htaccess` files, which I've been told nginx can't do. Of course, apache is a lot slower, but the things I build don't have too much strain on traffic anyway.
 

Laurence Flynn

Well-known member
Registered
Joined
Dec 31, 2016
Messages
92
Points
8
Laurence Flynn
Typically is ran as a reverse proxy so it still pushes requests to Apache which parses .htaccess.
 
Older Threads
Newer Threads
Replies
8
Views
29,989
Replies
57
Views
24,264
Latest Threads
Replies
1
Views
21
Replies
0
Views
174
Replies
1
Views
37
Replies
2
Views
81
Recommended Threads
Replies
24
Views
5,873
Replies
4
Views
3,171
Replies
6
Views
3,512
Replies
8
Views
2,646

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top