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

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

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

  • @PeterBaller
    @PeterBaller 4 ปีที่แล้ว +8

    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  4 ปีที่แล้ว +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

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

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

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

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

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

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

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

      @@gospelhubdigital I'll definitely check that out.

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

      Wow, thanks!

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

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

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

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

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

    High quality video! Congrats!

  • @CarlosMontoyaPacheco
    @CarlosMontoyaPacheco ปีที่แล้ว +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

  • @helloukw
    @helloukw 8 หลายเดือนก่อน +1

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

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

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

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

    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!!!!

  • @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.

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

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

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

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

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

    Good job! Thanks Tony, love your content.

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

    Thanks, Tony 🏆 Nginx 🏆Win

  • @alexmercer3001
    @alexmercer3001 2 ปีที่แล้ว +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.

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

    Great content , Thank you Tony

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

    Great video brother appreciate your work

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

    GOOD JOB!!! that was always my question

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

    Pure gold 🥇 congratulations 👍

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

    Awesome tests

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

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

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

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

  • @EpithetMusicTV
    @EpithetMusicTV 4 ปีที่แล้ว +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  4 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@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)

  • @ZalinaNahaylia
    @ZalinaNahaylia 3 หลายเดือนก่อน

    2024 any update?

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

    Thanks for the video

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

    Do you still recommend NGINX over LiteSpeed?

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

    Thank you! Great video.

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

    Thanks!

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

    Thanks.

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

    Thank you!!
    SUBSCRIBED!!

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

      Thanks for the sub! You're very welcome Joseph

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

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

  • @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 :)

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

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

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

    How does Caddy compare?

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

      Good question. Looking into Caddy now

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

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

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

      I have never even heard of mern

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

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

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

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

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

      No nginx does not have a control panel

    • @robertzoufood
      @robertzoufood 3 ปีที่แล้ว +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

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

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

  • @arezz7
    @arezz7 4 ปีที่แล้ว +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  4 ปีที่แล้ว +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 3 ปีที่แล้ว +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..

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

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

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

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

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

      Hahah no way 😊 Thanks for your support!

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

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

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

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

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

    Terima kasih telah membuat vidio perbandingan antar web server

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

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

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

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

  • @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

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

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

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

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

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

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

    • @TonyTeachesTech
      @TonyTeachesTech  4 ปีที่แล้ว +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)

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

    Please add NodeJS and Express JS servers also.

  • @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?

  • @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.

  • @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!

  • @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

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

    No IIS ?

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

      Not this time

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

      @@TonyTeachesTech good, I hate IIS.

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

    Do a test with php.

  • @HahaHihi11111
    @HahaHihi11111 3 ปีที่แล้ว +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...

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

    Nice video. Caddy?

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

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

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

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

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

      @@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/

  • @aguswidi9316
    @aguswidi9316 3 หลายเดือนก่อน

    I stuck at nginx configuration. So I stick with Apache for the rest of my life. 😁

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

    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  4 ปีที่แล้ว +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 4 ปีที่แล้ว

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

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

      @@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.

  • @SayWhaaaaaaaaaaaaaaaaaaaaaaat
    @SayWhaaaaaaaaaaaaaaaaaaaaaaat 3 ปีที่แล้ว +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  3 ปีที่แล้ว

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

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

    that intro needs an epilepsy seizure warning

  •  3 ปีที่แล้ว

    APACHE FOREVER

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

    Nginx the best!

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

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

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

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