The OSI Model by Example - The Backend Engineering Show with Hussein Nasser

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2024
  • In this episode of the Backend Engineering Show, I’ll explain the OSI Model with an example. I start with the physical layer which is often ignored moved up to the application layer, presentation layer, session layer, transport layer, IP layer, and data link layer. I believe every software engineer should understand the OSI Model as it helps cement the fundamental understanding of networking applications.
    Intro 0:00
    Layer 1 Physical 4:00
    Layer 7 Application 9:45
    Layer 6 Presentation 11:30
    Layer 5 Session 14:20
    Layer 4 Transport 15:00
    Layer 3 IP 18:00
    Layer 2 Data Link 20:00
    Summary 28:00
    Support my work on PayPal
    bit.ly/33ENps4
    Become a Member on TH-cam
    / @hnasr
    🧑‍🏫 Courses I Teach
    husseinnasser.com/courses
    🏭 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...
    🎙️ Mic Gear
    Shure SM7B Cardioid Dynamic Microphone
    amzn.to/3o1NiBi
    Cloudlifter
    amzn.to/2RAeyLo
    XLR cables
    amzn.to/3tvMJRu
    Focusrite Audio Interface
    amzn.to/3f2vjGY
    📷 Camera Gear
    Canon M50 Mark II
    amzn.to/3o2ed0c
    Micro HDMI to HDMI
    amzn.to/3uwCxK3
    Video capture card
    amzn.to/3f34pyD
    AC Wall for constant power
    amzn.to/3eueoxP
    Stay Awesome,
    Hussein
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Learn the fundamentals of the backend, scaling and load balancing with my Introduction to NGINX udemy course
    Grab a discount coupon here
    nginx.husseinnasser.com

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

      Just bought the course. Didn't know about the new course. Thanks for mentioning in the pin comment.

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

    I hope "The Backend Engineering Show" becomes a regular thing.

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

    I only knew the text book explanation of the OSI model but then one day i landed on your channel and you showed how quality engineering content can be delivered compared to those content like "Top 10 languages for 2021"

  • @Mal-nf2sp
    @Mal-nf2sp 3 ปีที่แล้ว +21

    No one:
    Hussein: Beautiful post request.

  • @chandeeparora.7165
    @chandeeparora.7165 3 ปีที่แล้ว +13

    You got me cracking on: We call it IP Packet because we like to confuse people :D

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

    I was studying it for a week and then you came. I wanted something like this from the heart.

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

    Searched all over the internet but no1 cud really make it this beautiful. Satisfied and damn happy after able to understand this stuff . Thank you so much 🙏. Ur hardworking really helps us alot❤️

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

    Your channel is one of my favorite ; I have learned and learning a lot. Thank you so much for sharing you knowledge .

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

    Good morning and thanks again for the life changing content!!!

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

      Good morning ☀️ thanks Tony have a great day

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

    I've studied quantum mechanics before and I can answer your question : the light is a wave and material thing at the same time (photons which is a material thing acts like a wave in its movement)

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

    Thank you Hussain for the beautiful content. I recently joined a new company and whatever i learnt from you helped me in the interviews.
    Everyday I'm learning something new from you. Thank you for the knowledge you are sharing. 🙂

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

    so nice to hear from someone who knows how this stuff works...
    as you must have felt... most professors just taste this reading from the menu... never touching the food...
    should reinforce address levels are only L2/L3... LAN/WAN purpouses...
    discuss a bit of MTU, packet sizes and frame sizes...
    how ports are implemented in memory is also interesting.. (64K of them)
    PS: ARP won't help you receiving a packet from the Gateway... ;-)
    how about the same example (L1..L7) but with a SMB or a NFS packet...
    * (I'm reusing comments... remember DRY ;-)

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

    I like how Hussein talks. He talks in a good funny way. :) thank you for sharing the knowledge.

  • @thanirmalai
    @thanirmalai 9 หลายเดือนก่อน +1

    What an amazing podcast episode, you just summarized my networking course

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

    this shows we should learn how things work and not just how to code

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

    شكرا جزيلا على المحتوى الرائع الذي تقدمه ❤️❤️

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

    This show should be on Netflix. Superb content

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

    Just wow
    7. Application Layer
    6. Presentation Layer
    5. Session Layer
    4. Transport Layer ( Port -> Application and TCP/UDP ) ( Segment )
    3. Network Layer ( Packet -> IP )
    2. Data Link Layer ( Frame -> MAC )
    1. Physical Layer ( 0-1 )
    Level wise load balancing , router is layer 4 device can sneak at layer 3..1 if needed , Switch is layer 2 Device ( its real sense )

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

    Woooow The starting point was really exciting

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

    i was really obsessed with that 70's show

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

    I believe deep inside the HTTP spec somewhere it is actually noted that a GET request does support body, and I have used this not long ago kind of randomly. I'm loving these videos by the way, networking has been one of my weaker areas for a while and you are making this very digestible.

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

    This is so interesting and informative, helped me wrap my head around this topic perfectly!
    Your videos never disappoint, please keep up the good work!

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

    You are the best always...great explanation ...These topics and Tips and tricks are very important and essential for every backend developer....continue plz

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

    How beautiful and understandable you explained Thanks a milioooooooooon

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

    finally an example with terms n language I'm familiar with. Thanks

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

    I just recently found your channel and I’m hooked!! Very good content!! Keep it up buddy!

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

    Grateful for the existence of The Backend Engineering Show 😄

  • @MuhammadAli-sx1qv
    @MuhammadAli-sx1qv ปีที่แล้ว +2

    Brilliant Hussein , God bless you.

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

    Routers and switches nowadays often do look into layer 4 for deciding which path to use for a particular packet for hashing purposes, if there are multiple equally good paths available (equal cost multipath/ECMP).

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

    Good and nuanced explanation!

  • @hazem.elakbawy
    @hazem.elakbawy 2 หลายเดือนก่อน

    I feel lucky knowing this channel during my learning journey!!🥰
    Nice explanation 👏

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

    Beautiful explanation!

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

    Big Hi from Morocco ❤️ you are a great mentor

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

    This is what we need ❤️💥

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

    asslam o alikum bro, your helping me ALOOOOOOT, may allah grant you jannah.

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

    Woh didn't know about your podcast. This is gonna be the best thing for me.

  • @stunning-computer-99
    @stunning-computer-99 ปีที่แล้ว +1

    Damn the kind of mentor i need in almost everything

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

    This is GOLD!

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

    Thank you. Great explanation

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

    Well done Hussein!

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

    exceptionally explained, but I would go from layer 1 to layer 7, as it is building upon previous ideas to solve certain problems, so it's more natural way to follow.

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

    Great stuff as always

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

    Thank you!

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

    Great content!

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

    Nice game collection in the background!

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

    Fantastic!😄

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

    Awesome information, I follow your youtube channel and podcast as well , Please make videos on cloud topics as well like GCP or AWS or just fundamentals of cloud

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

    So good content. Your speaking style is like the Heath Ledger "Joker" !! :D So interesting.

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

    Day 3 🔥
    Amazing content 🎉

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

    Thank you

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

    great content

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

    Thanks @hussein for the best informal discussion on OSI model. Had a concern at 26:37 you mention that routers have to do nat translation and they have to go to layer 4. However, nat happens at layer 3. Can you confirm this ? Since layer 4 is concerned with port and layer 3 is concerned with IP address, why even go to layer 4 when we know it's a private IP .

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

    Superb

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

    Hey HUSSEIN, accept love from Pakistan 💌

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

    The Backend Engineering Show Intro with jingles & dance girls would be nice

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

    "honey, you're not the only one using this computer" made me laugh

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

    Hi Hussain can you please suggest books, sites to learn more into networking related topics. Thanks

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

    thx

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

    is there any book or other material on the evolution of OSI model ?

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

    Browser like chrome create 6 tcp connections to a host, how are these 6 tcp connections differentiated? I used to think that session layer does this work of differentiating them but after seeing your video, i think i have incorrect understanding.
    Is it that each tcp connection from the same application has a different source port which differentiates them?

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

      each connection get a different random source port

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

    Nice

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

    great video! really enjoy the talk about the low level stuff
    "Layer 3 is called the IP protocol"
    hmm, little redundancy here ;)? internet protocol protocol haha

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

    Amazing content, but out of curiosity.. What's up with your camera?

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

    Liked this video better than previous (2019) video. I think you should remove that :)

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

    This is how reading books makes you see things and express them

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

    Let's always do alot of good

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

    13:49 lol and throughout though it looks like you are watching a comedy show good job @Hussein Nasser

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

    9:52 ha, that's what you think ! ;-)
    They are many definitions of layers above it, layer 8, layer 9 and layer 10.
    For example: Layer 8, The individual person. Layer 9, The organization, Layer 10: Government or legal compliance
    Or: Layer 8: Budget, Layer 9: Politics, Layer 10:Religion
    :-)
    20:40 0hh, you sweet innocent man. Their are definitely duplicate MAC addresses out there ! It's lots of 'fun'. Also Ethernet is obviously not the only data link protocol, but I assume you know that. WiFi uses Ethernet frames too. But for example dialup modems use SLIP/PPP. And DSL uses ATM. I'm not sure about satellites.
    26:35 these days everything has a firewall, so it will check ports if it needs to know. And usually the firewall has connection tracking, (NAT is a subset of that) so it will check the ports (or ICMP types of course).
    30:33 remember how you mentioned cloud networking, that's protocols like VXLAN that encapsulate layer 2 frames inside of layer 4 packet.
    PS Seems this video has a lower video quality ?

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

      Great comment as usual
      I am experimenting with editing, Didnt work .. will stick to my defaults

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

    Show us how a day in the life of software engineer look like

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

    Hussein can you please provide a coupon for your udemy course ☺

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

    I mean technically radio waves == light :D It's just a different wavelength

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

    @1:28 Someone's trying to open a portal into your room m8.
    Check the lowest shelf on his left.

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

    Should change title to “ OSI and TCP model”

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

    Felt strange that port number is added before the ip address.

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

      I am a strange man

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

      @@hnasr Haha
      Keep up this strangeness.

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

    even 1.5x seems slow

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

    7 layer taco.

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

    I apologize but the graphic that Hussein is using on the top left of this opening scene is triggering me, along with millions of other viewers. The white tile, in the stack, needs to be on top of the purple tile. Is it me? Can someone else chime in here to support me on this? It is driving me insane; so much so that I am taking it personally. Maybe my eyes are messing with me. I really want to watch this but how can I with all this visual confusion?
    Thanks man. Love the content.

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

    Ya but No!!

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

    I could feel a little bit of anger in your face🙃, is it really due to the fact that we don't know OSI!

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

    says "ancient", hears "asian"

  • @sui-chan.wa.kyou.mo.chiisai
    @sui-chan.wa.kyou.mo.chiisai 3 ปีที่แล้ว +1

    I think your voice is not that clear, especially the low frequency

  • @dark-mp1mw
    @dark-mp1mw 3 ปีที่แล้ว +1

    Bro can u speak little bit louder

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

      Bro can you turn your volume up? It is loud enough

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

    ancient sounds like asian, too offended xD

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

    talking interesting subjects, but making it sooo boring. Couldn't listen for 5 min