Apache vs NGINX

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 161

  • @im-a-trailblazer
    @im-a-trailblazer Рік тому +39

    This man has talent, and he is able to explain it in a very enjoyable way, and he can write backwards very fast. I need to up my game man...

    • @commandstring
      @commandstring Рік тому +2

      Yes this threw me off cause I realized he was writing backwards

    • @ordinary_flo
      @ordinary_flo Рік тому +18

      Hahaha, I bet he isn't a leftie writing backwards. They just flipped the image in post. That's why there is no text or IBM logo on his clothes, because that would be backwards then. 😉

    • @Lalee10
      @Lalee10 5 місяців тому +4

      They mirror the video after writing normally, that makes it look like they are writing backwards

  • @kavyeshs41
    @kavyeshs41 Рік тому +165

    we can install Apache's modules separately. but nginx needs a re-compilation of binary if want to enable a new module. and another main difference is Nginx is event driven while apache is process driven. which means nginx can handle much more request on single thread but apache create new thread for every request. which makes nginx fast/more performant

    • @braunbaerhh
      @braunbaerhh Рік тому +9

      Apache has an event MPM for years.

    • @francisantony12
      @francisantony12 Рік тому +12

      @@braunbaerhh I think MPM is not the same as being Event Driven - In and ED model ( "reactive" ), there is no thread at all unless some activity is in progress. Ex:- A thread needs to make a backend call. Immediately after making the backend call ( using poll() system call ), the thread will switch to doing other unrelated tasks *instead of* being blocked. Whereas in MPM, thread will become free - but task is handed over to other threads.... This is my understanding. Somebody please comment/correct if Im wrong

    • @kif11
      @kif11 Рік тому +3

      Thanks for this valuable clarification!

    • @Rusputin-eo6tv
      @Rusputin-eo6tv Рік тому +2

      thanks you, that's sound crucial for interview

    • @EdwinMartin
      @EdwinMartin 3 місяці тому +1

      @@francisantony12indeed, mpm is not an event module. Apache does have an *event* module which uses threads instead of processes, similar to NGINX

  • @dieguitoboy
    @dieguitoboy Рік тому +225

    Didn't really explain the differences between the two or gave any examples for which is better on certain aspects. The title of the video wasn't delivered

    • @shravanuchil
      @shravanuchil Рік тому +5

      Yes there so many more things could have covered up in this

    • @AlMaVizca
      @AlMaVizca Рік тому +2

      Look at the c10k problem, analysis remains the same as far as I know

    • @zacktaylor1143
      @zacktaylor1143 11 місяців тому +10

      Lmao, wtf, did you only watch the first 5 minutes? He breaks it down at the end.

    • @ugwulo
      @ugwulo Місяць тому

      Did you really watch this to the end?

    • @leonprofes8544
      @leonprofes8544 Місяць тому +1

      I just watched til the end based on you two donuts only to realize I sam being scammed. This video doesn't break up anything. MY mom knows things said in this video. What a bummer. The narrator is cool but the content is for simpletons.

  • @gosnooky
    @gosnooky Рік тому +30

    It should also be noted that Apache uses a multi-threaded architecture with each request running in its own thread, while NGINX uses a single-threaded architecture with an event loop. Because of this, NGINX can handle many more simultaneous requests and is what gives it its speed advantage. In programmer terms, Apache acts like Java, NGINX acts like NodeJS.

    • @braunbaerhh
      @braunbaerhh Рік тому +4

      Apache has an event MPM for years.

    • @stackerliew
      @stackerliew Рік тому +2

      Apache is far more stable than nginx.

    • @danilodistefanis5990
      @danilodistefanis5990 Рік тому +1

      @@braunbaerhhstill is not truly event driven.

    • @EdwinMartin
      @EdwinMartin 3 місяці тому

      ⁠​⁠@@danilodistefanis5990Apache uses epoll. How is that not event driven?

  • @kamarton
    @kamarton Рік тому +8

    I've been using both for many years, and I like the modules and configuration of nginx much better.

  • @chwaee
    @chwaee Рік тому +7

    TLDR/TLDW: Apache is older but more mature (extensions) while nginx is newer and faster. Both can be used rather interchangeably though.

  • @khasanbekdev
    @khasanbekdev Рік тому +46

    Great, I always enjoyed videos of IBM Tech, can you make a video explanation for ASGI and WSGI servers.

  • @jonniuss
    @jonniuss 9 місяців тому

    Amazing, always love your way to uncover technological nuances ❤

  • @samjones4327
    @samjones4327 Рік тому +12

    Thank you very much for this lesson! You’ve unlocked a bit of a mystery for me as I’m beginning my cloud journey! 🥳

  • @gregliming6875
    @gregliming6875 Рік тому +2

    Hey look, It's the Homebrew Challenge guy.

  • @starterdev
    @starterdev Рік тому +2

    This is the reason why I love ibm ♥️

  • @pieter5466
    @pieter5466 Рік тому +7

    4:48 The difference between Apache and Nginx

  • @andygordon6880
    @andygordon6880 Рік тому +2

    Fanatistic quick explanation of different considerations when looking at web server performance. Great start to answering the question. Thank you

  • @arieheinrich3457
    @arieheinrich3457 Рік тому +3

    Martin is a rockstar !

  • @AppaloosaMichael
    @AppaloosaMichael Рік тому

    Thank you, british man & ibm. Perfect explanation 🙏

  • @cguevaraaguilar
    @cguevaraaguilar 4 місяці тому

    Thank you very very much! Finally I understood it in a simple, clear and practical way. I'm your fan!

  • @purposepowerlove
    @purposepowerlove Рік тому +3

    And then there is haproxy, which blows them away in terms of speed and resource usage. Plus it has many more modern features included by default.

    • @hamu_sando
      @hamu_sando Рік тому

      HAproxy is the default router (ALB) for the OpenShift platform.

  • @rossbrook9182
    @rossbrook9182 Рік тому +2

    this guy is great, very good video

  • @chalingui
    @chalingui Рік тому +17

    OMG Martin is the man. One day making exBEERiments and the other day teaching about web servers

    • @brunogoismateus
      @brunogoismateus 3 місяці тому

      Ohhh. That's why I recognized that face. Lol.

  • @taskforce_kerim
    @taskforce_kerim Рік тому +4

    These IBM videos are hella good!

  • @tnmyd
    @tnmyd 3 місяці тому +1

    Wait a minute! That's Martin from brulosophy! That's so cool

  • @snowywinter9
    @snowywinter9 Рік тому +1

    Such a pleasant and knowledgeable presenter. Fantastic delivery.

  • @KoliaSelivanov
    @KoliaSelivanov 3 місяці тому

    Awesome tutorial, thanks a lot! ☺️

  • @itdataandprocessanalysis3202
    @itdataandprocessanalysis3202 Рік тому +23

    **yelling gratitude**

  • @mohammadhussain9068
    @mohammadhussain9068 Рік тому +1

    Great explanation

  • @severtone263
    @severtone263 9 місяців тому

    Excellent explanation. Thank you

  • @marcoswelker132
    @marcoswelker132 Рік тому +2

    Love the drawings. Helps a lot

  • @unspoken2409
    @unspoken2409 Рік тому +1

    I have been looking for a video like this for a long time! Outstanding work!

  • @StevenWDix
    @StevenWDix 4 місяці тому

    The biggest difference I believe is .htaccess in Apache which gives granual control over user experience and security.
    If ASP had figured that out, they would not have been always playing catch up, however like most things popular, people start adding too many modules that slow everything down and you likely want to compile very carefully a stripped down version of Apache to use it, which is not advocated greatly.
    Nginx is perhaps geared towards being fast, secure, and the big companies have the money to partition off special purpose servers instead of relying on .htaccess, which is not a horrible strategy either.
    With the latest generations by AMD and Intel chips, you will only see the differences by testing in nano seconds, if you work for big data you have to learn these things.

  • @larrywest42
    @larrywest42 Рік тому +5

    I do wish people would stop saying "SSL" when they mean "TLS". Virtually no one uses SSL any longer. Browsers disabled or removed it years ago, and I'd be very surprised if any of IBM's web sites still support it.

    • @EdwinMartin
      @EdwinMartin 3 місяці тому

      TLS is just SSL with a higher version number 😉

  • @tunisoft7465
    @tunisoft7465 Рік тому

    wow that glass is so clean

  • @portfedh
    @portfedh 2 місяці тому

    Great explanation, than you

  • @basix250
    @basix250 Рік тому +1

    Start from 4:50.

  • @mohammadalaaelghamry8010
    @mohammadalaaelghamry8010 Рік тому +2

    Great resource of knowledge, high quality, very concise and to the point. I so much appreciate it. Thanks.

  • @MaxZRider
    @MaxZRider Рік тому

    whole video summarized: apache = older, enterprise extensible || nginx = newer, fast simple

  • @sabuein
    @sabuein 3 місяці тому

    Thank you.

  • @BobDschingisKhan
    @BobDschingisKhan Рік тому +5

    Did you really write from right to the left on that screen that we can read it or what is the magic behind this cool presentation technique? Thanks for the Video and BR

  • @nealpan
    @nealpan Рік тому

    Azure Application Gateway is great option!

  • @richardguernsey908
    @richardguernsey908 Рік тому

    Beer brewing and Software Architecture? Noice!

  • @brownianmotion6319
    @brownianmotion6319 Рік тому

    Love the presentation. Is that perspex or glass? What pens is he using anyone?

  • @ערןאוצפ
    @ערןאוצפ Рік тому

    Regarding the load balancing features, how does how would we sockets be handled as apposed to regular http requests which are simply routed the web servers need to hold open connections

  • @shivamanand8998
    @shivamanand8998 3 місяці тому

    favourite website IBM 😂
    Lol I'm laughing so hard you make me cry laughter 😂

  • @ermvcorleone3069
    @ermvcorleone3069 3 місяці тому

    So you mentioned I can use Nginx as a load lanancer infront of multiple Apache web servers. How would I go about setting up multiple Apache servers to serve the same one static site?

  • @NachtmahrNebenan
    @NachtmahrNebenan Рік тому +2

    The drawing of the browser window looks the same as my Mesa Boogie guitar amp 😅

  • @GravitoRaize
    @GravitoRaize Рік тому +1

    nginx Plus also does TCP and even UDP load balancing out of the box. I guess I've only ever used nginx Plus cause it does basically anything I want to do and has all the health checking and other stuff built in. If the backend runs Apache or Tomcat, then that's fine, but for load balancing I'm not sure why you'd use Apache unless you wanted complex solution to what should be a simple problem. Sure, nginx Plus costs money, but if you want a load balancing solution that doesn't, learn HAProxy, don't spend time learning Apache unless you have to.

  • @entalpa
    @entalpa Рік тому +32

    You didn't mention that Nginx can do Rate Limiting, WAF and more...Nginx can be a lot of faster by tweaking the settings for your use case.

    • @muhdbunahmad
      @muhdbunahmad Рік тому +31

      You cannot explain or mention everything in a seven minute video.

    • @andarin2
      @andarin2 Рік тому +12

      @@muhdbunahmad Our fella here did it in less than a line

    • @alehkhantsevich113
      @alehkhantsevich113 Рік тому +5

      @@muhdbunahmad Video lasts 7 min, but actually there is 4 words..... First/Extensible and Fast/Simple. I believe 7min video can serve much more info about Apache vs Nginx like title says.

    • @andrewlalis
      @andrewlalis Рік тому +2

      @@andarin2 they just named things, and didn't explain anything

    • @crisanerd
      @crisanerd Рік тому

      @@alehkhantsevich113 This is like Tik Tok’s fast paced info vs UA-cam’s in-depth content

  • @Adil-dp4ll
    @Adil-dp4ll Рік тому +1

    I always wondered how do they make such videos as facing the camera and writing on some board right front of us. Then i noticed an odd thing. All these people in such videos were lefty. It means they were writing on a transparent board facing them and once after they were done, the video was mirrored using video editor software.

  • @pankaj16octdogra
    @pankaj16octdogra Рік тому +1

    Nice presentation, pls make video of cloud native app architecture with financial services application

  • @ChanceMinus
    @ChanceMinus Рік тому +1

    Extremely helpful... Thank you.

  • @Hiram8866
    @Hiram8866 Рік тому +1

    A very interesting video. Cheers

  • @coll1208
    @coll1208 Рік тому +3

    Why is my YT beer-brewer talking about servers?!

  • @moatazfarid2920
    @moatazfarid2920 Рік тому +1

    Very Nice presentation, keep it up

  • @suryapratap3043
    @suryapratap3043 Рік тому +1

    I don't know what goes on under the hood of apache or nginx, but having used apache for year and nginx now I can say nginx is a lot simpler and hell lot faster. If you're developing new solution in 2023, go with nginx without second thought. Apache will be legacy soon.

  • @davejones542
    @davejones542 Рік тому +2

    great video. btw @1:29 I always thought "a couple" meant two did I miss the memo

  • @LewisCowles
    @LewisCowles Рік тому

    Layer 7 not 7 layer. Other than that, good video. Didn't know IBM made these. Optional SSL... 🤐 (in the cluster only right?)

  • @chadzulu4328
    @chadzulu4328 Рік тому

    This explanation helped me a whole lot! Thanks so much.

  • @kahchon87
    @kahchon87 3 місяці тому

    Can do one video that talks about litespeed server?

  • @dariokartal9453
    @dariokartal9453 Рік тому +1

    Wait. So, the connection from my computer to the actual server is covered by the TLS certificate NOT NECESSARILY all the way? And that shouldn't raise anybody's alarm?

    • @davak72
      @davak72 9 місяців тому

      Yes and no. It depends. Without a proxy, the final server decrypts your traffic anyway, so if the proxy and the final server are on the same private network, and it’s secure, that should be fine. In the other hand, if you use Cloudflare tunnels, they get to decrypt the traffic, look at it, then re-encrypt and send it to the actual server

  • @AniketSomwanshi-ll7mz
    @AniketSomwanshi-ll7mz Рік тому

    So confused. So neither of these servers are for dynamic pages? Tomcat server is used for Java applications but what about non-java applications? Which server is used?

  • @thatomotaung6891
    @thatomotaung6891 Рік тому

    I need this board expeditiously

  • @amirmirou
    @amirmirou Рік тому

    My question is: how did you do this "writing on glass effect" it blows my mind you are facing the camera, are you writing backword or what?

  • @md9936
    @md9936 Рік тому

    Good video, I'd like to learn about WAS or Webspherem, pls!

  • @kebman
    @kebman Рік тому

    Not a contest. NGINX all the way. Unless you _have_ to run some cruddy PHP or Java thingy.

  • @12345abcd_qwerty
    @12345abcd_qwerty Рік тому

    thanks

  • @Abhi-qi6wm
    @Abhi-qi6wm Рік тому

    Any views on Apache APISIX vs Nginx?

  • @kirillzlobin7135
    @kirillzlobin7135 5 місяців тому +1

    DNS, MAIL, TCP and UDP?? Are these four should stay in one sentence. Aren't they from different categories?? DNS can use TCP and UDP... So this statement as in this video is definitely confusing making people think that these protocols are on the same level

  • @vbounyar
    @vbounyar Рік тому

    Good info but also I am awe the presenter writing backwards!

  • @opensourcefreedom9241
    @opensourcefreedom9241 Рік тому +2

    having an arrow with Apache is kind of spot on with the Native American community :P
    I am Cherokee so I get it and think it is funny.

  • @gorlanich
    @gorlanich Рік тому +1

    I thought you are going to brew with ibm.

  • @vimalbharath4555
    @vimalbharath4555 3 місяці тому

    How he is writing on the display

  • @HahaHihi11111
    @HahaHihi11111 11 місяців тому

    Why present old technologies? LiteSpeed is where?

  • @dmytroparfeniuk2670
    @dmytroparfeniuk2670 Рік тому +4

    Thanks for the video! Just out of curious, why did you put the EXTENSIBLE parameter only to the Apache http server instead of both?
    Isn't NginX provide it?

    • @docteurklein
      @docteurklein Рік тому +6

      yes nginx totally is extensible as well. one could even argue it is more extensible, given the ecosystem of nginx modules out there. But the IBM host has a bad habit of just cherry-picking some random attributes of the products under comparison and put it either left or right, wich I would define as a *bad* "versus" video. It's the second video I watch from this guy, and the second time I'm disappointed. Happy to see the encouraging comments above, which proves it seems helpful for beginners tho.

  • @joemarji7245
    @joemarji7245 Рік тому

    Timestamps for the mash out plz

  • @javjaveds7547
    @javjaveds7547 Рік тому +2

    Layer 7 not 7 layer!

  • @JonnyMainframe
    @JonnyMainframe Рік тому +3

    How about the difference (if any) between Apache and IBM HTTP Server?

  • @MrRades123
    @MrRades123 Рік тому

    Does anyone know what these boards are called he is writing on and how this is recorded so the camera can not be seen?

  • @thesoppywanker
    @thesoppywanker 3 місяці тому

    This entire video was made to deliver that bean dip joke.

  • @wadecodez
    @wadecodez Рік тому

    can't wrap my head around how they filmed this. did the guy write backwards or was it filmed in a mirror I have to know

    • @micoberss5579
      @micoberss5579 Рік тому +2

      Mirrored the recorded video. I couldn't figure it out, I was thinking that's some kind of IBM technology. But somebody in comments said that they must have mirrored the video

  • @ทองดีจันทร์ทรัพย์

    Суперская связка, такие редко попадаются в открытом доступе, в основном в приватках и могут подкинуть прям друзья!

  • @tyrojames9937
    @tyrojames9937 Рік тому

    CHECK❗

  • @sabart5
    @sabart5 Рік тому +1

    So the only difference is that Nginx is faster? I was expecting a more elaborated explanation.

    • @braunbaerhh
      @braunbaerhh Рік тому

      it is not faster. You can configure a Apache so it is as fast as Nginx.

    • @kompila
      @kompila 11 місяців тому

      @@braunbaerhh Looks like it all about configurations 😃

  • @shanejohnson4546
    @shanejohnson4546 Рік тому

    You ended there?.... I'm lost for words

  • @enjoyajeet
    @enjoyajeet Рік тому

    What are the servers used behind the load balancer?

    • @SteveGillham
      @SteveGillham Рік тому +4

      Web Servers

    • @g30rgyth3d4rk
      @g30rgyth3d4rk Рік тому +2

      Probably microservices under k8 instances, docker instances etc

  • @jackwt7340
    @jackwt7340 Рік тому

    International Business Machines Corporation🎰

  • @infertilepiggy5667
    @infertilepiggy5667 2 місяці тому

    that backwards writing though

  • @zgeorgem
    @zgeorgem 9 місяців тому +1

    layer 7. not 7 layer.

  • @sunduchkov
    @sunduchkov Рік тому

    So, what, where is a comparison?

  • @lucasgandara4175
    @lucasgandara4175 Рік тому

    Does anyone knows how to make a video like this? with this "invisible blackboard" ?

  • @fkangalov
    @fkangalov Рік тому

    is he writing on that thing backwards ?

    • @IBMTechnology
      @IBMTechnology  Рік тому +1

      See ibm.biz/write-backwards

    • @fkangalov
      @fkangalov Рік тому

      @@IBMTechnology makes more sense :). Love the videos though.

  • @funkiam9214
    @funkiam9214 Рік тому

    i think for now days nginx +1

  • @ethernet764
    @ethernet764 Рік тому

    Layer 4? Layer 7? The OSI model is obsolete.
    > I have said before that I believe that teaching modern students the OSI model as an approach to networking is a fundamental mistake that makes the concepts less clear rather than more. The major reason for this is simple: the OSI model was prescriptive of a specific network stack designed alongside it, and that network stack is not the one we use today. In fact, the TCP/IP stack we use today was intentionally designed differently from the OSI model for practical reasons.
    - j. b. crawford

  • @willemvdk4886
    @willemvdk4886 Рік тому

    Aren't we brewing today?

  • @andyhall7032
    @andyhall7032 Рік тому

    wait...people still use apache ??

    • @tss4629
      @tss4629 Рік тому

      There are few more webservers out there - WAS (Websphere Application server), Tomcat, Apache, Nginx,and I think JBoss also.
      Choose what you like. 😂

  • @EngineerNick
    @EngineerNick Рік тому

    I have worked with both and they both suck. Very good at the basics, but so hard to make them do anything complicated. It takes like 2 lines of rust code to enable cors... But try add cors at the reverse proxy level instead and get ready for hours of agony reading poor documentation.

  • @joachimdietl6737
    @joachimdietl6737 Рік тому

    the speed of information flow is negative in these series

  • @jasonhowardak
    @jasonhowardak Рік тому

    Caddy is much easier

  • @homerjones3490
    @homerjones3490 Рік тому

    OPENLITESPEED

    • @EnglishTeacherJon
      @EnglishTeacherJon 8 місяців тому

      As of March 2024 OpenLitespeed are charging $4.00 a month on GCP (it used to be free...)

  • @bitground1776
    @bitground1776 Рік тому

    The presentation doesn't bring more on the difference between the two, you should change the title.

  • @2371996npistiolas
    @2371996npistiolas Рік тому

    You are either a lefty able to write backwards or you reversed the video image

  • @IvaneMkadegebeli
    @IvaneMkadegebeli Рік тому

    How does the guy write in reverse…