Nginx vs Apache vs Litespeed

fishmonk

Well-known member
Registered
Joined
Jul 21, 2017
Messages
86
Points
8
Litespeed is excellent for my use so far. It serves content at a much quicker rate compared to Apache. There has been no issues so far.

My recommendation is between Litespeed and Plesk if you wish to transition to something different.
 

rocket

New member
Registered
Joined
Apr 14, 2017
Messages
5
Points
0
It depends what you are using it for.

Nginx is awesome for static content, Apache is best at compatibility.

I use Nginx to serve my main sites, but for all apps (like my Nextcloud, image host, Piwik etc) use Apache since having the .htaccess makes it easy to get them working without needing to edit config files.

I can't say anything about Litespeed since I've never used it.
 

gnusys

New member
Registered
Joined
Jan 20, 2018
Messages
12
Points
3
Apache httpd is a huge software and officially exist as a standard for an http server .It was not designed to be effecient . people tried to make it effecient.

Nginx on the other hand was designed wth efficiency in mind . Litespeed was build to mimic httpd where it has to make some compromises.

In short Nginx is the best free software out there that you can use to serve the web right now and is the fastest growing webserver (period)
 

GXHOST

New member
Registered
Joined
Feb 17, 2018
Messages
2
Points
0
definitely nginx and litespeed is an alternative of apache.
Nginx is a way to go as it free to use. it also can be used a reverse proxy engine if needed and is designed to handle heavy traffic.
Litespeed has some fab features however its a Paid webs server.
 

mehrdadali14

Member
Registered
Joined
Oct 10, 2017
Messages
49
Points
8
Nginx is very complex in using so need very good knowledge to handle it best but litespeed is very easy to use and have good support
 

mehrdadali14

Member
Registered
Joined
Oct 10, 2017
Messages
49
Points
8
In a series of benchmarking tests, LiteSpeed’s HTTP/3 implementation demonstrated higher performance than that of the hybrid NGINX/Quiche.

Overall, LiteSpeed managed to transfer resources faster, demonstrate stronger scaling, and utilized less CPU & memory in the process. LiteSpeed bettered NGINX in all of these metrics by a factor of two or above. While NGINX was unable to complete certain tests, it achieved just below TCP speed in others.
 

sam@12

Member
Registered
Joined
Jun 8, 2021
Messages
62
Points
6
Hello,

Go with Nginx as they can handle multiple connections at a time without having any issues and also they can act as a reverse proxy whereas apache does not act like that.

Regards
 

invoinvo

New member
Registered
Joined
Aug 11, 2021
Messages
10
Points
1
nginx is very efficient and much better than apache when dealing with static files.. the performance is amazing. litespeed(free version) is comparable to nginx as well.
 

sreekanth850

New member
Registered
Joined
Sep 30, 2021
Messages
14
Points
1
Best answer
I had tested APache, NGINX and Open Litespeed on handling load (Stress testing Using Loader.io)

Litespeed clearly beats apache and nginx on every test that i performed. Here is the litespeed test result


Server:
OS: Centos 8
Web Server: Open Litespeed with Memcached
Machine: 1 vCPU, 2 GB Ram, 100 Mbits (OVH Discovery Series - Shared resources)
Website: Wordpress

Test Type: Clients/Second
Maximum Clients/Second - 800
Time: 1 Minute
Maximum Clients/Month - 34,5,00,000 (34.5 Million /Month if you do calc)
Response Times
Average 11403 ms
Min/Max 1415 / 39399 ms
Error: 37.1%

-----------------------
Test Type: Clients/Test
Clients/Test: 9500
Total Time: 60 Second
Clients/Second: 150

Response Times
Average 11985 ms
Min/Max 894 / 40495 ms
Error: 48.2


-----------------------
Test Type: Maintain Client Load
Total Clients: 0-3500 Clients
Time: 30 Second

Response Times
Average 9984 ms
Min/Max 827 / 23882 ms

Error : 36.3%

I had done same test with same wordpress clone with apache and nginx. But the results were disappointing as every time I was not able to complete test even at 100 clients per second.

Apache Test Results with 100 Clients
Apache1.jpg


Nginx with 100 Clients

NGINX.jpg


Litespeed with 750 Clients, It went upto 800 clients and then started crashing.
litespeed.jpg
 
Last edited:

sam@12

Member
Registered
Joined
Jun 8, 2021
Messages
62
Points
6
LiteSpeed's simpler stack and intelligent cache give it an edge. With LiteSpeed's advanced built-in cache engine, you can eliminate the need for the HTTPS reverse proxies or additional third party caching layers required with Apache. Plus, LiteSpeed stores compressed cache files, where nginx does not.


LiteSpeed Web Server conserves resources without sacrificing performance, security, compatibility, or convenience.

Security is a serious concern, which is why Litespeed supports ModSecurity rules (just like Apache and nginx do), but it does so without compromising on performance, thanks to LiteSpeed Web Server’s efficient implementation. LSWS also ships with reCAPTCHA support, WordPress brute force attack protection, and other cutting-edge anti-DDoS measures.
 

Attachments

mason.jr8

Member
Registered
Joined
Dec 7, 2020
Messages
18
Points
1
There are many giant websites that use NGINX web servers, as a model:
  • Netflix
  • Dropbox
  • GitLab
  • Pinterest
  • WordPress.com
  • LinkedIn
  • Instagram
  • GitHub
  • SoundCloud
  • Yandex
  • Cloudzy

I prefer to trust giant choices.
 

anmoldevrims

New member
Registered
Joined
Jun 7, 2022
Messages
5
Points
1
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?
Nginx, Apache, and Litespeed are all popular web servers. But which one is best for caching?

All three web servers can be used for caching, but they have some differences. Nginx is generally considered the best choice for caching because it has a built-in caching module that makes it easy to set up and manage. Apache and Litespeed have caching modules available, but they are not as comprehensive or easy to use as Nginx.

So if you're looking for the best caching performance, Nginx is the way to go. But if you're more concerned with ease of use, Apache or Litespeed will work fine.
 

anmoldevrims

New member
Registered
Joined
Jun 7, 2022
Messages
5
Points
1
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?
Caching is the process of building and delivering to website visitors a static version of your website. It can significantly improve your site's speed and performance, which improves user experience.

Static files or content often kept on the server's hard drive, such as CSS files, JavaScript files, or photographs. Apache handles static content under its standard file-based approach.

A built-in caching module is included with LiteSpeed to speed up dynamic content. It's called LiteSpeed Cache (LSCache). NGINX, however, comes with a FastCGI caching module. It has instructions for effectively caching dynamic material.

Both Nginx and LiteSpeed web servers are better options when it comes to cache content.
 
Older Threads
Newer Threads
Replies
8
Views
29,399
Replies
57
Views
23,640
Recommended Threads
Replies
9
Views
4,696
Replies
7
Views
3,579
Replies
3
Views
3,035
Replies
9
Views
3,784
Replies
11
Views
6,116

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