Best Web Server? Apache vs Nginx vs OpenLiteSpeed (static content speed test)

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2020
  • Find out which web server is the fastest between Nginx, Apache, and OpenLiteSpeed. Through a series of comprehensive speed, load, and stress tests, I systematically compare the performance of these web servers with a static HTML/CSS/JS website to see which is the best for this particular setup.
    Get fast hosting with my affiliate links:
    One-click Nginx web servers with Cloudways 👉 ttt.do/CloudwaysNginx
    LiteSpeed WordPress hosting with WPX 👉 ttt.do/WPXLightSpeed (I host my websites with WPX)
    Find more at tonyteaches.tech
    Check out my vlog channel @TonyFlorida
    #apache #nginx #openlitespeed
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 143

  • @techbygul3303
    @techbygul3303 2 ปีที่แล้ว

    The most valuable content just in a video. Thank man you packed a lot of knowledge in one video.

  • @noregularplan
    @noregularplan 3 ปีที่แล้ว +3

    Great Content Man! Best I've seen in a long time!

  • @presidas
    @presidas 3 ปีที่แล้ว +4

    High quality video! Congrats!

  • @drmikeyg
    @drmikeyg 3 ปีที่แล้ว +1

    Good job! Thanks Tony, love your content.

  • @PeterBaller
    @PeterBaller 3 ปีที่แล้ว +7

    Another great video where you gathered quality, un-biased data and shared the results in a way that is easy to understand. While I love the factual nature of this content, eventually it would be awesome to see you bring it all together and give an overview of your preferred use-cases for the different technologies.
    IMO, in any kind of comparison it's very unlikely that "option A" is better than "option B" in every single way, so I'd love for an explanation on what would you factor into your decision when deciding to choose option "A" over option "B" or "C".
    Keep up the great stuff!

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว +1

      Thanks for the feedback Peter and for watching some of my videos!
      It'd be a challenge to make that video, but I definitely see how it'd be super helpful

  • @shakeel2473
    @shakeel2473 3 ปีที่แล้ว +1

    Damn! - another great vid Tony - keep em coming ;-)

  • @helloukw
    @helloukw 2 หลายเดือนก่อน

    Thanks for this informative video. Kudos on your testing methodology.

  • @khalidkhabouz
    @khalidkhabouz 2 ปีที่แล้ว

    Great content , Thank you Tony

  • @bkasunasiri7657
    @bkasunasiri7657 2 ปีที่แล้ว

    Great video brother appreciate your work

  • @srineo9118
    @srineo9118 2 ปีที่แล้ว

    Love your stuffs. Thank you.
    Will be great to see comparison with a Wordpress install.. 😃

  • @gospelhubdigital
    @gospelhubdigital 3 ปีที่แล้ว +2

    Everything is well defined, well tested deeply. Soon this should be the best channel for Web Techies Review. Thanks Tony I learn more everyday

    • @atulhostdotcom
      @atulhostdotcom 3 ปีที่แล้ว +1

      I would like to see the same benchmark with dynamic content (WordPress) with and without cache.

    • @gospelhubdigital
      @gospelhubdigital 3 ปีที่แล้ว +1

      @@atulhostdotcom I think he has it in one of his videos 4 months ago, you can check it on his channel.

    • @atulhostdotcom
      @atulhostdotcom 3 ปีที่แล้ว

      @@gospelhubdigital I'll definitely check that out.

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      Wow, thanks!

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      th-cam.com/video/dkjCsurW-OI/w-d-xo.html doesn't include OLS though

  • @piotrszczesniak685
    @piotrszczesniak685 2 ปีที่แล้ว +2

    Thanks for this one - it would be great to see a server speed with WordPress and WooCommerce setup. At the moment I need to choose VPS setup LS/A2/Nginx for my WooCommerce stores and seeing this kind of test for WooCommerce store would be beneficial.

  • @NaveenGanesan
    @NaveenGanesan 2 ปีที่แล้ว

    Your channel is one of the best things in 2021 i came across..

  • @Hunter-1984-X
    @Hunter-1984-X 3 ปีที่แล้ว

    GOOD JOB!!! that was always my question

  • @1000left
    @1000left 2 ปีที่แล้ว

    WOW!!! Very thorough test!!! I'm an Apache guy so I got a little tear in my eye!!!! :) WELL DONE and thanks for your video!!!!

  • @dodgewagen
    @dodgewagen 3 ปีที่แล้ว

    Thank you! Great video.

  • @topsecret4791
    @topsecret4791 3 ปีที่แล้ว

    Thank you!!
    SUBSCRIBED!!

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      Thanks for the sub! You're very welcome Joseph

  • @electrolinks
    @electrolinks 3 ปีที่แล้ว

    Awesome tests

  • @FactExplorers0
    @FactExplorers0 ปีที่แล้ว

    Hey, awesome video. Would love a video on best web server for WordPress.

  • @GordonPotter
    @GordonPotter ปีที่แล้ว

    Thanks!

  • @electroumit
    @electroumit ปีที่แล้ว

    Thanks.

  • @BarryGildea
    @BarryGildea 2 ปีที่แล้ว

    Thanks for the video

  • @abhishek19471
    @abhishek19471 3 ปีที่แล้ว +1

    Hi Tony,
    Great comparison as always, just a question..incase of wordpress which one you will prefer?
    Pls answer 🙏

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว +1

      Hi, my personal preference is Nginx :)

  • @CsakaMaiNapInfo
    @CsakaMaiNapInfo 2 ปีที่แล้ว

    Pure gold 🥇 congratulations 👍

  • @ddrci88
    @ddrci88 3 ปีที่แล้ว

    Thirt time watch :)) I’m consuming your video like drinking water 😂😂

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      Hahah no way 😊 Thanks for your support!

  • @husybabahhh6057
    @husybabahhh6057 3 ปีที่แล้ว +1

    Great stuff! What was the hardware specs you used in webservers?

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      In this case, I believe it was a server with 1GB RAM and 1 virtual CPU core

  • @arezz7
    @arezz7 3 ปีที่แล้ว +2

    Thank you so much for the video Tony!
    So does this is clear but can you explain why many company's like Cloudways and Plesk combine Nginx with Apache? Does this mean that a VPS at Cloudways or Plesk hosting at DO should probably perform better than a LSWS vps?

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว +4

      Good question. Have you ever heard of a reverse proxy? This is essentially where you have a web server that handles incoming requests and passes them on to another web server for processing. That's why you would use both. It can give you a performance boost in some cases. As far as why these web hosting companies choose Apache to begin with... I'm not sure.

    • @sakthi22b.e
      @sakthi22b.e 2 ปีที่แล้ว +4

      @@TonyTeachesTech Nginx is great for static content, but for dynamic content with DB apache does well and a lot of compatibilities with other software like WordPress and easy to use .htaccess makes Apache preferable with a reverse proxy Nginx server. I use openlitespeed which provides the combined experience of both Nginx and Apache.

    • @MGKday
      @MGKday 2 ปีที่แล้ว

      @@sakthi22b.e going to ask same thing as I did to somebody else in the comments, any chance you can share which Web Hosting Panel do you use with OLS ? I tried CyberPanel but I find it too..."hobby"-style, and don't trust it..

  • @danidwiaryaputra
    @danidwiaryaputra 3 ปีที่แล้ว

    Terima kasih telah membuat vidio perbandingan antar web server

  • @ravi-gadhiya
    @ravi-gadhiya 3 ปีที่แล้ว +3

    Thanks, Tony 🏆 Nginx 🏆Win

  • @EpithetMusicTV
    @EpithetMusicTV 3 ปีที่แล้ว +3

    a lot of benchmarks usually have openlitespeed ahead of nginx on static content so i think there’s something in the default config that’s limiting its potential. also would be great to see a php comparison in a future video.

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      I've seen the same sentiment about OLS on the internet, so I was also surprised to see Nginx come out on top.
      Definitely going to look into the PHP comparison for these web servers

    • @okao08
      @okao08 3 ปีที่แล้ว

      the same happens with apache using php-fpm, speed drastically changes i guess

    • @deewinc
      @deewinc 2 ปีที่แล้ว

      @@TonyTeachesTech ~ Nginx doesn't come anywhere close to OLS. I can give you my server with OLS you repeat the tests.

    • @MGKday
      @MGKday 2 ปีที่แล้ว

      @@deewinc hey, any chance you can share which Web Hosting Panel do you use with OLS ? I tried CyberPanel but I find it too..."hobby"-style, and don't trust it..

    • @deewinc
      @deewinc 2 ปีที่แล้ว

      @@MGKday Cyberpanel will give you the best performance than any other panel out there.
      You can try the following:
      1. AaPanel (Looks more professional but doesn't support multi-users)
      2. DirectAdmin (Professional but not easy to use with OLS)
      3. OviPanel (Mixed bag and a bit clunky)

  • @user-ke1ik9gk2i
    @user-ke1ik9gk2i 7 หลายเดือนก่อน +1

    🎯 Key Takeaways for quick navigation:
    00:52 🖥️ Three web servers tested: Apache, Nginx, and OpenLiteSpeed, with identical configurations.
    02:41 🕒 Nginx and OpenLiteSpeed respond faster to requests compared to Apache.
    03:11 📈 Nginx is the fastest in terms of page load time, closely followed by OpenLiteSpeed.
    03:38 📊 Nginx and OpenLiteSpeed handle concurrent users more efficiently than Apache.
    04:50 💪 Nginx outperforms others in a stress test, handling more requests per second with a lower response time.
    Made with HARPA AI

  • @day2dayja110
    @day2dayja110 3 ปีที่แล้ว

    GOOD JOB!!! Openlightspeed almost got me!!!!

  • @alexmercer3001
    @alexmercer3001 ปีที่แล้ว +1

    Can you do the same comparison with page heavy wordpress site on all 3 server platforms?. That way we can know how these handle dynamic data.

  • @benalaluf4868
    @benalaluf4868 3 ปีที่แล้ว

    Great video! Does nginx have control panel? Like cyberpanel for lightspeed

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว

      No nginx does not have a control panel

    • @robertzoufood
      @robertzoufood 2 ปีที่แล้ว +3

      aapanel is awesome because you can utilize OLS, nginx, or Apache (most is only Apache and Nginx or only OLS with the exception of Directadmin a paid control panel)

    • @RakeshMandalYT
      @RakeshMandalYT 2 ปีที่แล้ว

      U can use aapanel

  • @Jagabandhusahoo12
    @Jagabandhusahoo12 2 ปีที่แล้ว +1

    Would love an extensive fight between Ngnix vs OLS with a woo-commerce

  • @laci272
    @laci272 3 ปีที่แล้ว

    Hi.. First time viewer. Great video....but:) . 2... Would you repeat this test with a standard Wordpress install? We (I) knew that nginx is faster than apache for serving static content... and we know that both use FPM, still... it would have been nice numbers to have.
    Still, the best video I found on this topic!
    (remind myself not to comment before the end of the video...i deleted 1. and 3. :-) )

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว +3

      LOL!
      Yes, I need to do some more research to understand the implementation differences of PHP in each case. But I am planning on doing this video within the next few months.

    • @gerardok.2405
      @gerardok.2405 3 ปีที่แล้ว

      @@TonyTeachesTech great video. Do you know wich is better for Wordpress? Nginx or OpenLiteSpeed?? Thanks!

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      @@gerardok.2405 I'm gonna have to say that it depends on a lot of different factors such as how large your web pages are and what plugins you have installed. I haven't conducted a proper comparison test, so I don't have any quantitative data to provide for you.

  • @CarlosPedroche
    @CarlosPedroche 4 หลายเดือนก่อน

    Do you still recommend NGINX over LiteSpeed?

  • @AniketNBorhade
    @AniketNBorhade 2 ปีที่แล้ว +1

    What about wordpress? Can you please make a comparison between Apache vs Nginx vs OpenLiteSpeed for dynamic content?

  • @asifsuhaib
    @asifsuhaib 2 ปีที่แล้ว

    Tony, Could you Please Make a Video About Webinoly ? There're Very Less videos about that yet its a popular choice among Ngnix users...

  • @dev_manish
    @dev_manish 3 ปีที่แล้ว

    Tony what happened to staging wordpress website on digital ocean server video ?

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      You must have missed my previous response: th-cam.com/video/ob4qkNtlf04/w-d-xo.html&lc=UgyzmKGdrJPH-a7MdGt4AaABAg

  • @luigih5018
    @luigih5018 ปีที่แล้ว +1

    Anyone else here to build their own website but had no clue how😂? I’m getting educated, replaying the video a couple of times as I’m not a tech person. Thank you Tony!

  • @rolandscriven6060
    @rolandscriven6060 3 ปีที่แล้ว +1

    Caching also taken into consideration next please. Specifically server side caching as I think anyone serious with OLS or Nginx for a static side would be caching. Most tests are false as they turn on server caching for OLS but not Nginx or only have application level caching for Nginx.

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      What caching solution would you like to see for Nginx, Apache, and OLS?

    • @rolandscriven6060
      @rolandscriven6060 3 ปีที่แล้ว +1

      @@TonyTeachesTech Nginx Fastcgi vs OLS LS Cache. Don't know about apache.

  • @tooblrrdelivery2429
    @tooblrrdelivery2429 2 ปีที่แล้ว

    what a about using wordpress woocommerce site not a static site??
    Please do it . Thanks

  • @jofranlirio
    @jofranlirio 3 ปีที่แล้ว

    What is the best nginx image for WordPress on digital ocean?

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว +1

      The OpenLiteSpeed WordPress image on DigitalOcean's marketplace is probably the best for beginners because it comes with the OpenLiteSpeed admin dashboard. I have a video walkthrough for this image that will be released tomorrow th-cam.com/video/ZsulKmaOU_s/w-d-xo.html (link won't work until Dec 14 @ 5:15 am EST)

  • @abhiruproyz
    @abhiruproyz 2 ปีที่แล้ว

    Please test on dynamic ecommerce sites. Like WordPress + WooCommerce + Theme

  • @nick-leffler
    @nick-leffler 2 ปีที่แล้ว

    Nice video. Caddy?

  • @ajdinzutic
    @ajdinzutic 3 ปีที่แล้ว

    Hi the second test solution is new for me. Do you got a link for "ksecs"?

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว +1

      What do you mean "ksecs"?

    • @ajdinzutic
      @ajdinzutic 3 ปีที่แล้ว

      @@TonyTeachesTech on 3:25

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      @@ajdinzutic Haha I need to stop mumbling. It's called k6 :) It's available at k6.io and they also have a way to do it with scripts th-cam.com/video/ukoC319npUw/w-d-xo.html

  • @STFUandFY
    @STFUandFY 2 ปีที่แล้ว

    How does Caddy compare?

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว +1

      Good question. Looking into Caddy now

  • @indramal
    @indramal 11 หลายเดือนก่อน

    Please add NodeJS and Express JS servers also.

  • @rosemarieosborn8625
    @rosemarieosborn8625 2 ปีที่แล้ว +1

    is Nginx a free and open source web server like Apache?

  • @HahaHihi11111
    @HahaHihi11111 2 ปีที่แล้ว +4

    I have brutal loads on VPS-es, Apache can´t run it, Nginx die in minutes and eat all 8GB ram, OpenLiteSpeed with ultra heavy load still okay, 4-5GB ram eated with same sites...
    And don´t forget, OpenLiteSpeed have a faster brother LiteSpeed. OLS and LS is the future. .htaccess support for clients is normal there, and integrated Cache, free WP cache plugin etc. Nginx don´t know what is that...

  • @Sdirimohamedsalah
    @Sdirimohamedsalah 2 ปีที่แล้ว +1

    So combining ngnix with lightspeed maybe this will make the best result

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว +1

      Haven't tested that combo out yet. Have you?

  • @mattiasfjellvang
    @mattiasfjellvang 3 ปีที่แล้ว

    You should make a test with a wordpress site instead of a static site.

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      Definitely will have a video like this in the next few months

    • @Mattias1995
      @Mattias1995 3 ปีที่แล้ว

      @@TonyTeachesTech That sounds great. Because I think the results should vary a lot. But nevertheless interesting that your tests show considerable different results than themselves blog.litespeedtech.com/2019/11/25/http3-litespeed-vs-nginx/

  • @mrnayankumar
    @mrnayankumar 2 ปีที่แล้ว

    mern vs lamp performance test, there is no videos and data available on it

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว +1

      I have never even heard of mern

    • @mrnayankumar
      @mrnayankumar 2 ปีที่แล้ว

      @@TonyTeachesTech mongodb, express js, react js, node js

  • @armanism24
    @armanism24 2 ปีที่แล้ว +1

    Do a test with php.

  • @MG-yc6jr
    @MG-yc6jr 3 ปีที่แล้ว

    No IIS ?

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      Not this time

    • @MG-yc6jr
      @MG-yc6jr 3 ปีที่แล้ว

      @@TonyTeachesTech good, I hate IIS.

  • @SayWhaaaaaaaaaaaaaaaaaaaaaaat
    @SayWhaaaaaaaaaaaaaaaaaaaaaaat 2 ปีที่แล้ว +1

    WHy you used different servers? Have 1 server.. install what needed -run tests. destroy server reinstall OS with new engine run tests.... that would be more logical imo.

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว

      That's a good option. These servers are in the same datacenter

  • @vesogry
    @vesogry 3 ปีที่แล้ว

    3:57 - Why are you always using these graphs?
    On average time on request, it seems like Nginx is 10x faster than apache, and not 2x.

    • @TonyTeachesTech
      @TonyTeachesTech  3 ปีที่แล้ว

      You're right, the scale could have been more accurate here

  •  3 ปีที่แล้ว

    APACHE FOREVER

  • @nikoch3776
    @nikoch3776 3 ปีที่แล้ว

    Nginx the best!

  • @4g10w
    @4g10w ปีที่แล้ว

    that intro needs an epilepsy seizure warning

  • @James-iz7zi
    @James-iz7zi 2 ปีที่แล้ว

    this guy fake all he talks and shows stuff that know nothing about it all about money money