What is WebSocket? Why is it used & how is it different from HTTP?

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 413

  • @dhaval.doubledotts
    @dhaval.doubledotts 11 месяцев назад +66

    00:01 WebSocket allows peer-to-peer connection for real-time data transfer
    01:40 WebSockets allow for real-time bidirectional communication, supporting efficient data exchange.
    04:14 WebSocket allows for full-duplex communication with the server.
    05:59 WebSocket is a persistent, bi-directional full-duplex connection
    07:43 WebSocket is different from HTTP and allows for bidirectional communication.
    09:30 Using Node.js, we can leverage NPM packages to quickly implement a WebSocket server and client.
    12:08 WebSocket allows real-time data communication and two-way interaction between client and server.
    14:01 WebSocket allows for a persistent connection and exchange of data between client and server.

    • @shubhamkun079
      @shubhamkun079 11 месяцев назад +2

      thanks

    • @technical_unmask
      @technical_unmask 11 месяцев назад

      ruclips.net/video/4XVQ7lkEyrA/видео.htmlsi=8RR1kMrlcATzQLqS

    • @kuppuraj1416
      @kuppuraj1416 10 месяцев назад +1

      Keep repeating 😂😂😂😂

    • @AAKSHAS
      @AAKSHAS 5 месяцев назад

      10:00 building server

  • @yourlinuxguy
    @yourlinuxguy 11 месяцев назад +65

    This is the kind of video, I always expect but didn't get, Now you're delivering it. Thanks, Nice presentation as usual.

  • @jameelsikandar
    @jameelsikandar 15 дней назад +1

    First time got to know about web sockets. And I know I am never gonna forget this. Maam your words are stapled in my brain.

  • @pratyushgoel3241
    @pratyushgoel3241 11 месяцев назад +18

    Learnt so much from this single video!
    Amazing!!!
    Generally developers just use setInterval inside useEffect as they are unaware of websockets.
    Please add it in the content bucket to make videos on core technological aspects of web development.
    Such videos help understand the right technologies to use for a given scenario.

  • @ZaimxX0
    @ZaimxX0 7 месяцев назад +5

    This is the best way, clear and to the point. Kudos to your deliveries.

  • @ranjanrockz1
    @ranjanrockz1 8 месяцев назад +4

    This 16 minutes of video is so much of informative :) Keep that coming !

  • @itxxsaiff
    @itxxsaiff 10 месяцев назад +9

    Today after 3 years in my journey of development i have watched your video for the first time and it's really amazing and helpful
    thanks for this concept..

  • @liveautomationexperts
    @liveautomationexperts 5 дней назад

    Crystal Clear and great pace. Thanks for getting basic understanding of websockets. Worth watching your videos by college students. subscribers must be very high for this channel i hope

  • @ismailshaik6829
    @ismailshaik6829 10 месяцев назад +3

    Thats a good example. But remember, it blocks a connection on server. if traffic get increases, for every request a connection assigned from connection pool which could have limited connections.
    Once all connections are engaged then new request has to wait.

  • @AnilVerma-jc2vq
    @AnilVerma-jc2vq 7 месяцев назад +2

    Kuchh dino se mujhe 5+ minutes ke videos dekhne ka mann nahin karta hai, qki log bahot slow video banate hai,
    but apka explanation and speed bahot achha hai.
    thoda sa v dhyan idhar udhar nahin gya.🙏
    your knowledge and teaching skill is next level.

  • @vk8692
    @vk8692 11 месяцев назад +67

    Shraddha didi is best❤

  • @aparnaiyer1199
    @aparnaiyer1199 9 месяцев назад +2

    Very clearly explained!

  • @varungaur6946
    @varungaur6946 11 месяцев назад +10

    Most loving coding platform 😍 😅

    • @technical_unmask
      @technical_unmask 11 месяцев назад

      ruclips.net/video/4XVQ7lkEyrA/видео.htmlsi=8RR1kMrlcATzQLqS

  • @Shaidul85
    @Shaidul85 11 месяцев назад +1

    wow today I learn webshcket within few minutes. thanks

  • @RakeshBitling
    @RakeshBitling 6 месяцев назад

    Excellent Shraddha.. As a experienced guy in nodejs full stack domain.. even i was also finding difficult to learn web-socket. this video made my day.

  • @nri_raj
    @nri_raj 11 месяцев назад +5

    This is your first tech video I watched, you explained so well, love from London, keep going, god bless you

  • @rusty-coder
    @rusty-coder 9 месяцев назад

    What an explanation! So clear, so understandable. Thanks a lot for this.

  • @huntercrick4292
    @huntercrick4292 11 месяцев назад +1

    You are best teacher 👩‍🏫‍

  • @Toqeershah2685
    @Toqeershah2685 9 месяцев назад +1

    Highly recommended, very useful.

  • @dawarlatif3832
    @dawarlatif3832 7 месяцев назад +1

    Exceptional teaching skills, mam

  • @humashayan5174
    @humashayan5174 8 дней назад

    really informative and clear! great job

  • @muneebtahir
    @muneebtahir 3 месяца назад

    Although Apna College is one of the channels jinke bagair we could not have passed many subjects at college but this video..
    I opened it with curiosity that how much is Shradha di gonna tell about webSockets in just 15 minutes and wow!!! 😨😳
    She explained history, usage, base and also created a simple socket connection WTH!!
    More support for @apnaCollege !

  • @anvayparanjape7967
    @anvayparanjape7967 5 месяцев назад

    Such a simple and clear explanation of web sockets !

  • @shrestabiswas3631
    @shrestabiswas3631 7 месяцев назад

    I think it's a great content for learning web socket basics. Keep it up.

  • @AbhishekSingh-xg3zj
    @AbhishekSingh-xg3zj 10 месяцев назад

    Superb explanation Shraddha di 👌✨

  • @JustViewIt28
    @JustViewIt28 22 дня назад

    ❤great explanation,thanks for your video

  • @awaiskhan4638
    @awaiskhan4638 11 месяцев назад

    Very well explained learned alot thanks and lots of love from Pakistan ❤

  • @RaviShankarTTL
    @RaviShankarTTL 7 месяцев назад

    One of the best tech video.🎉

  • @rahuljamba5846
    @rahuljamba5846 5 месяцев назад

    Thanks a lot Shradha for sharing your knowledge !! Keep it up

  • @santoshbansode697
    @santoshbansode697 10 месяцев назад

    Nice to see you again ``````and first thanks to you for helping me for finding a right course`````now i am something because of you ```````again thanks from bottom of my heart ```````````with lot of ❤️ ❤️❤️❤️❤️❤️❤️❤️❤️❤️

  • @Niraj_Singh7
    @Niraj_Singh7 11 месяцев назад +1

    Thanks for makings these type of videos

  • @KamranHossainTopu
    @KamranHossainTopu 11 месяцев назад

    Best coding channel ever🎉🎉🎉

  • @cricfunzone999
    @cricfunzone999 7 месяцев назад

    need more contents like this. helped a lot. thanks ❤❤

  • @entity5678
    @entity5678 11 месяцев назад

    Lot of info in one video and very well explained..

  • @rajkumararora7366
    @rajkumararora7366 10 месяцев назад

    Great tutorial. Thnx for sharing!
    A good idea is to create a playlist and add more likely content!

  • @edupulseacademy
    @edupulseacademy 11 месяцев назад +1

    Amazing Very Helpful me
    🤩☺

  • @pujondas5478
    @pujondas5478 8 месяцев назад

    Awesome!! Didi!!
    It's amazing learned ws with in 15 min. It's really awesome.

  • @sagarparyani1328
    @sagarparyani1328 Месяц назад

    Can we not use a messaging broker in an event based architecture with pub-sub capability? Instead of web socket?

  • @minhajkhan504
    @minhajkhan504 11 месяцев назад

    Thanks for the video. I wish to see such in-depth video's on Cloud Computing someday :)

  • @ImranKhan-br5dv
    @ImranKhan-br5dv 11 месяцев назад

    best time video need this to understand webSocket. thanks mam

  • @haribolanil
    @haribolanil 11 месяцев назад

    Awesome and informative, I am from Network background, but I got this concept clear. Thanks

  • @gauravgupta5148
    @gauravgupta5148 11 месяцев назад

    Helpful.....need more related things... thanks apna college

  • @amysoftec8205
    @amysoftec8205 7 месяцев назад

    You are so brilliant...💯

  • @artfull-logic
    @artfull-logic 11 месяцев назад +5

    Hi mam , i wanna say please bring a playlist on React js...i want to learn it from you❤

  • @Krishnasap-e7l
    @Krishnasap-e7l 11 месяцев назад

    thanks for the content, was searching for this from long time

  • @hassanriaz4274
    @hassanriaz4274 9 месяцев назад

    Great Explanation😀😀

  • @navz04
    @navz04 3 месяца назад +1

    Can you please do a video on software design patterns?

  • @tanveerali9496
    @tanveerali9496 11 месяцев назад +1

    I am earning due to you. Thanku so much didi❤

    • @amanpratapsingh5820
      @amanpratapsingh5820 11 месяцев назад +1

      Bhai kaise earn kr rh

    • @tanveerali9496
      @tanveerali9496 11 месяцев назад +1

      @@amanpratapsingh5820
      Bahi face book ma ana Sara proof Dunga
      Tanveer Ali Raees 🙏

  • @jasminekaur2080
    @jasminekaur2080 11 месяцев назад +1

    Thanks for making such informative videos. Really appreciate your efforts. Please keep making informative videos on different topics in tech.

  • @broflashers7985
    @broflashers7985 11 месяцев назад

    I am huge fan of you 💘

  • @rajeshmahadevan9683
    @rajeshmahadevan9683 4 месяца назад

    Crystal clear explanation

  • @ambikakutnavoin9392
    @ambikakutnavoin9392 11 месяцев назад

    Didi u r the best in this whole youtube platform ❤

  • @dcsalim4384
    @dcsalim4384 11 месяцев назад +1

    Thank you Shraddha mam ❤️🙏

  • @doctorDevZ
    @doctorDevZ 9 месяцев назад

    God Bless you sharda apa keep it up

  • @HSKhan-lc5pk
    @HSKhan-lc5pk 11 месяцев назад +1

    One short React js tutorial by shraddha mam

  • @muhammadharoon4680
    @muhammadharoon4680 11 месяцев назад

    Didi you are great, I love ❤ the way you are explaning very easy, clear and to the point, thank you.

  • @Om-pant02
    @Om-pant02 11 месяцев назад +1

    Please make a video on RTC also ...

  • @kedukhanvilkar5390
    @kedukhanvilkar5390 7 месяцев назад

    Spot on...!!! Thanks a lot for this video

  • @anhilator82
    @anhilator82 7 месяцев назад

    really understood websockets. thank you.

  • @ramlaaal
    @ramlaaal 11 месяцев назад +1

    Explaination is awesome 😎.
    But VS code setup could have been more beautiful with
    "Aesthetic VS code theme"

    • @technical_unmask
      @technical_unmask 11 месяцев назад

      ruclips.net/video/4XVQ7lkEyrA/видео.htmlsi=8RR1kMrlcATzQLqS

  • @Thepoinofficial
    @Thepoinofficial 10 месяцев назад

    I don't know anything still I am watching till the end because I am very interested which is beyond my think.

  • @rokckerzzzz6080
    @rokckerzzzz6080 11 месяцев назад

    Thanks Didi for WS overview.

  • @NANDANKAUSHIK
    @NANDANKAUSHIK 10 месяцев назад

    AFAIK, http is based on tcp which goes through different technical states in connection lifecycle . So http being stateless is probably pointing to no aplllication level states .

  • @aounabbas4641
    @aounabbas4641 10 месяцев назад

    Really Great Mam !

  • @SuperAppmaker
    @SuperAppmaker 11 месяцев назад

    Very well explained. Thank you!

  • @JatinGupta-ze6nc
    @JatinGupta-ze6nc 10 месяцев назад

    Thanks web socket k lia bhot confusion tha

  • @huxaifaxheikh7919
    @huxaifaxheikh7919 11 месяцев назад

    Respect From Pakistan Mam...

  • @t_series2444
    @t_series2444 11 месяцев назад

    Best coding channel

  • @Prince_Kaneriya
    @Prince_Kaneriya 11 месяцев назад +1

    Aws cloud playlist prepare please or give right knowledge to learning about AWS playlist. I mean which is th best way to learn basic to advanced this course!!

  • @poonampatil3995
    @poonampatil3995 5 месяцев назад

    Helpful! please create videos on webRTC also

  • @crazyreel_official
    @crazyreel_official 11 месяцев назад +1

    Mam, 🙏 Ek asi video chaiye jis me hum 2024 ke liye best laptop buy kare for cording purpose with minimum cost .
    Please mam.......

  • @artyCrafty4564
    @artyCrafty4564 11 месяцев назад +4

    Great video ❤
    Mam when will delta 4.0 come ? I am waiting for it eagerly

    • @ansuprasad6445
      @ansuprasad6445 11 месяцев назад +1

      Hey I am also waiting for the same

    • @अगस्त्य-स3फ
      @अगस्त्य-स3फ 11 месяцев назад +1

      Same

    • @artyCrafty4564
      @artyCrafty4564 11 месяцев назад

      @@ansuprasad6445 ya broo let's make this comment visible to didi. i have been commenting this since last 1 month

    • @artyCrafty4564
      @artyCrafty4564 11 месяцев назад

      @@अगस्त्य-स3फ ya broo let's make this comment visible to didi. i have been commenting this since last 1 month

    • @ansuprasad6445
      @ansuprasad6445 11 месяцев назад +1

      @@artyCrafty4564 sure

  • @apraksh
    @apraksh 11 месяцев назад

    Very nice video. Thank you for sharing.

  • @Faisal1504
    @Faisal1504 11 месяцев назад

    Very well explained thank you.

  • @visheshgupta4990
    @visheshgupta4990 11 месяцев назад

    Thank you so much it is really very helpful and very well explained I understand this topic very easily , Thanks alott Shraddha Didi ❤️

  • @unknown__shayar
    @unknown__shayar 11 месяцев назад +1

    It is best college apna college

  • @SciencySnapshots
    @SciencySnapshots 11 месяцев назад

    Define a class to input city names and their capitals in two Single Dimensional Arrays. The input should continue till the user wants. Then sort and print the names of these cities in alphabetical order using the Bubble Sort technique. Print the cities and their capitals in the given format: City Capital(in java)

  • @Sofdcast
    @Sofdcast 11 месяцев назад

    Thank you so much for providing clarity

  • @mayappapujari9259
    @mayappapujari9259 11 месяцев назад

    helpful for backend development thanks didi 🙏🙏

  • @ayushgoyal423
    @ayushgoyal423 4 месяца назад

    8:46 HTTP is not unidirection. I think you confused half-duplex with unidirectional. HTTP allows sending data in BOTH the directions, just that server cannot initiate the data transfer on it's own. A request has to made by the client.
    Something like an SSE can be called a unidirectional connection.
    Also, would have been great if you could've also demonstrated the first HTTP request sent for handshake by the client. I am confused why do we send our very first message with the ws protocol identifier. Is the connection already established by Hoppscotch under the hood?

  • @ManjotSingh-te7gt
    @ManjotSingh-te7gt 11 месяцев назад +1

    Mam python related series bhi upload kijiye

  • @rahul-java-dev
    @rahul-java-dev 11 месяцев назад

    Wow amazing... Thank you so much. Are we going to get the next part of it where client implementation will be there?? Plz we need it.

  • @muhmmadsameer6127
    @muhmmadsameer6127 11 месяцев назад +2

    Best coding channel ❤

  • @dinit_official
    @dinit_official 11 месяцев назад

    This is what I was looking for.

  • @VishalKumar-mi6ed
    @VishalKumar-mi6ed 10 месяцев назад

    Thanks for sharing❤

  • @maheshsinha7668
    @maheshsinha7668 7 месяцев назад

    Awesome 👍

  • @NITISHKUMAR-kf9jy
    @NITISHKUMAR-kf9jy 11 месяцев назад

    Thanks Mam ❤, you explain in amazing way

  • @ajithmkerala1234
    @ajithmkerala1234 10 месяцев назад

    Very good👍

  • @JavaScriptcsshtml
    @JavaScriptcsshtml 4 месяца назад

    Good Explanation

  • @FirstNameLastName-fv4eu
    @FirstNameLastName-fv4eu 11 месяцев назад

    This kid is just amazing

  • @lalittripathi561
    @lalittripathi561 11 месяцев назад

    Splendid video

  • @tejasdeore8340
    @tejasdeore8340 11 месяцев назад

    I have a question for how long connection will remain open in web socket . Dont you think it wont be cost effective if it will remain open until we close it . And also wont be threat resistant since it’s going to be remained open.

    • @ApnaCollegeOfficial
      @ApnaCollegeOfficial  11 месяцев назад

      Theoretically, yes. The connection will remain open until either the client or the server closes it. Web socket is built to work like that. It is generally more lightweight because the overhead is less compared to http.

  • @vimlendrasahu7927
    @vimlendrasahu7927 10 месяцев назад +1

    Ma'am u deleted git playlist?

  • @truptiramteke6050
    @truptiramteke6050 11 месяцев назад

    Shradha mam,Salesforce as a career kaisa rahega?Is it a good choice?❓❓❓❓❓

  • @pruthiraajpanda
    @pruthiraajpanda 10 месяцев назад

    please make a details video on this topic along with project

  • @012EDITS
    @012EDITS 11 месяцев назад

    Thank you for nice information ☺️

  • @cricketshorts9710
    @cricketshorts9710 11 месяцев назад +5

    Shardha mam ke liye respect button ✅✅✅✅✅

  • @MdJaved-f4m
    @MdJaved-f4m 11 месяцев назад

    Please make a video on How to do research work and create a research paper in IT field.

  • @MuhammadBilal-hq3xn
    @MuhammadBilal-hq3xn 3 месяца назад

    Mam you are best.

  • @Kaushik-RoyChowdhury
    @Kaushik-RoyChowdhury 7 месяцев назад

    Well explained!