The Lifecycle of an HTTP Request in NodeJS

Ғылым және технология

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 KZread
/ @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
    @hnasr2 жыл бұрын

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

  • @AzamFahmy
    @AzamFahmy2 жыл бұрын

    Who knew you could do ASMR writing HTTP requests

  • @swastikgowda4306
    @swastikgowda43062 жыл бұрын

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

  • @julianblanco8735

    @julianblanco8735

    2 жыл бұрын

    please!!

  • @raykim9760

    @raykim9760

    2 жыл бұрын

    Couldn't agree more

  • @technohub8174

    @technohub8174

    2 жыл бұрын

    yes please!!

  • @pieter5466

    @pieter5466

    Жыл бұрын

    relevant in case you hadn't seen it yet: kzread.info/dash/bejne/apV7yryKm9KskrQ.html

  • @thesyd1982
    @thesyd19822 жыл бұрын

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

  • @ankitkumarsingh9815
    @ankitkumarsingh98152 жыл бұрын

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

  • @amazingbanter
    @amazingbanter5 ай бұрын

    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.

  • @vfryhn2
    @vfryhn22 жыл бұрын

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

  • @johnlovell8299
    @johnlovell82992 жыл бұрын

    So much fanciness!

  • @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
    @ward75762 жыл бұрын

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

  • @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
    @johnzambrano76652 жыл бұрын

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

  • @sivaganesh4489
    @sivaganesh44892 жыл бұрын

    please continue on node js internals

  • @barebears289
    @barebears2892 жыл бұрын

    Is it specific to NodeJs only?

  • @hnasr

    @hnasr

    2 жыл бұрын

    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
    @onursahin79702 жыл бұрын

    On kzread.info/dash/bejne/n6ehxq-Fe5eooaw.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
    @parthokr2 жыл бұрын

    Okay okay, I will not tell anybody.

  • @guacfiend
    @guacfiend2 жыл бұрын

    What is NodeJS?

  • @vikingthedude

    @vikingthedude

    2 жыл бұрын

    True

  • @HarshKapadia

    @HarshKapadia

    2 жыл бұрын

    A JavaScript runtime environment.

  • @microspace_ufa

    @microspace_ufa

    2 жыл бұрын

    Yet Another js framework

  • @HarshKapadia

    @HarshKapadia

    2 жыл бұрын

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

  • @parasite6731

    @parasite6731

    2 жыл бұрын

    @@microspace_ufa kid go and 😴

  • @wuzahns5302
    @wuzahns53022 жыл бұрын

    why whispering?

  • @rsun2226

    @rsun2226

    2 жыл бұрын

    Better to be realistic than hiding things

  • @SophieExMachina

    @SophieExMachina

    2 жыл бұрын

    he is hiding from the creatures in the walls

  • @sneak9407

    @sneak9407

    2 жыл бұрын

    Kid was sleeping

  • @Shelly-kx2wz

    @Shelly-kx2wz

    Жыл бұрын

    24:45 he stated why he was whispering.

  • @kushal1
    @kushal12 жыл бұрын

    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
    @krazy17962 жыл бұрын

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

  • @rsun2226
    @rsun22262 жыл бұрын

    You talk v creepy

  • @TrifectShow

    @TrifectShow

    2 жыл бұрын

    Its called "whispering"

  • @javilionaire

    @javilionaire

    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 жыл бұрын

    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_childdhood2 жыл бұрын

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

  • @itsnobledean9450
    @itsnobledean94506 ай бұрын

    I ran here after watching this other video kzread.info/dash/bejne/k4iIyrqGgtvTmag.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!

Келесі