The Lifecycle of an HTTP Request in NodeJS

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • In this video I do a deep dive on behind the scenes of an HTTP request using vanilla HTTP Server.
    0:00 Intro
    0:30 Request Object
    5:00 Request Chaining
    8:10 Response.write
    14:20 Response.End
    18:43 How Express Middleware Works?
    24:40 Summary
    Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon)
    network.husseinnasser.com
    Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)
    database.husseinnasser.com
    Introduction to NGINX (link redirects to udemy with coupon)
    nginx.husseinnasser.com
    Python on the Backend (link redirects to udemy with coupon)
    python.husseinnasser.com
    Become a Member on TH-cam
    / @hnasr
    Arabic Software Engineering Channel
    / @husseinnasser
    🔥 Members Only Content
    • Members-only videos
    🏭 Backend Engineering Videos in Order
    backend.husseinnasser.com
    💾 Database Engineering Videos
    • Database Engineering
    🎙️Listen to the Backend Engineering Podcast
    husseinnasser.com/podcast
    Gears and tools used on the Channel (affiliates)
    🖼️ Slides and Thumbnail Design
    Canva
    partner.canva.com/c/2766475/6...
    Stay Awesome,
    Hussein
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Get my Fundamentals of Networking for Effective Backends udemy course Head to network.husseinnasser.com (link redirects to udemy with coupon)

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

    Who knew you could do ASMR writing HTTP requests

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

    you should create a course on Node internal working, 🤘🤘🤘

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

      please!!

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

      Couldn't agree more

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

      yes please!!

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

      relevant in case you hadn't seen it yet:
      th-cam.com/video/8aGhZQkoFbQ/w-d-xo.html

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

    You are underrated SIr. You deserve much more. You are awesome!

  • @amazingbanter
    @amazingbanter 5 หลายเดือนก่อน

    Your videos are so underrated. I’m learning so much just listening as I drive to and from work. Looking forward to trying some of your Udemy courses.

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

    You are a genius my friend! Do not doubt, masha'a allah.

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

    Amazing video, could you please explain how the email protocols work?, I have had a hard time finding information about it

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

    So much fanciness!

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

    Hi Hussein thanks for such fantastic video.
    Could you please explain, how Keep-Alive works in case of multiple servers are there to handle a lot of requests.

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

    How do you get nodejs intellisense on a raw .js file/directory?

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

    When I started watching your video, hearing your low voice, my first thought was "Uhm, his wife/GF is sleeping and he don't want to wake her up". Waking wives/GFs up prematurely is far worse than ending writable stream prematurely XD
    The same with a baby is. I understand him very well:)

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

    I am not sure if you were teaching or trying to seduce... but I am afraid to ask at this point.

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

    please continue on node js internals

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

    Is it specific to NodeJs only?

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

      Some parts of it, for instance NodeJS implementation specifically decided to do the chain request events. Some implementation only allow for one event per request.

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

    On th-cam.com/video/msmdMLK4BqI/w-d-xo.html you don't see the parameters because the function has overloads. In the bottom left you can navigate between different overloads probably one of them has those parameters.

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

    Okay okay, I will not tell anybody.

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

    What is NodeJS?

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

      True

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

      A JavaScript runtime environment.

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

      Yet Another js framework

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

      @@microspace_ufa Node.js is not a framework. It is a runtime environment.

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

      @@microspace_ufa kid go and 😴

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

    why whispering?

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

      Better to be realistic than hiding things

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

      he is hiding from the creatures in the walls

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

      Kid was sleeping

    • @Shelly-kx2wz
      @Shelly-kx2wz ปีที่แล้ว

      24:45 he stated why he was whispering.

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

    Heard a lot about you, but you do seem to talk as if it is a night call to your girl/boy. I have stopped listening to mumblers anyway these days.

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

    Sound volume is so low.
    Couldn't complete 2 minutes of the video.

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

    You talk v creepy

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

      Its called "whispering"

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

      Yeah I noticed he changed the way he speaks and I’m not a fan of it. I preferred the energetic light-hearted vibe of his older videos, it made the videos more fun to watch.
      I used to watch every video but I haven’t watched any in months now.
      Definitely no hate at all - just wanted to provide some feedback!

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

      I would assume he's whispiring because his newborn baby is asleep

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

      @@javilionaire true

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

      Watch a different video then

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

    You should work on reducing your video length ,its too much

  • @itsnobledean9450
    @itsnobledean9450 7 หลายเดือนก่อน

    I ran here after watching this other video th-cam.com/video/aTThXMRxmiE/w-d-xo.html and I just know I'll be so much more acquainted with node, and especially http requests after this video. I'm new to all of this, and how he talks about node is why I'm here. I ain't even start the video yet!