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

Sdílet
Vložit
  • čas přidán 21. 11. 2023
  • Links to buy Cohort 2.0 - harkirat.classx.co.in/
    In this video, Harkirat takes you through some advanced Backend concepts.
    Specifically, he dives deep into the Websocket protocol and how it is used in real time communication

Komentáře • 120

  • @yourlinuxguy
    @yourlinuxguy Před 6 měsíci +3

    Well, what a coincidence, I today made a socket related program in python and I was reading about it and your video came up. NICE!

  • @prasanjit.bhanja
    @prasanjit.bhanja Před 6 měsíci +63

    You really teach me to get out of the tutorial hell and how to Stop comparing yourself with others and everything that a person needs to become a humble and kind person thanks harkirat to play an important role in changing my mind set❤❤

  • @devaciustheoneaboveall1389
    @devaciustheoneaboveall1389 Před 6 měsíci +9

    That "i apologize for white screen" was personal.😂😂

  • @Dhruba3277
    @Dhruba3277 Před 6 měsíci +17

    Everytime I am watching new videos, you are increasing my confidence and also increasing my interest towards you and cohort 2..
    Egarly waiting for the first class....

  • @bharathimohan
    @bharathimohan Před 6 měsíci +1

    Brother, you're amazing,, keep teaching❤ thank you🙏

  • @animeboys6044
    @animeboys6044 Před 6 měsíci

    I bought the course
    Nd so pumped up

  • @understanding-why
    @understanding-why Před 6 měsíci +4

    Harkirat, Server-Sent Events (SSE) is not an inferior or obsolete technology; in fact, we actively utilize it in our project. The key distinction between SSE and WebSockets lies in their communication nature. While WebSockets enable bidirectional communication, allowing data to flow both ways between the client and server, SSE operates unidirectionally. In SSE, only the server can push data to the client.
    Additionally, there's an important aspect of WebRTC that you didn't cover. In WebRTC, we can establish a server just to facilitate connections among clients. Once this initial setup is complete, the server's role can be diminished, and clients can continue communicating directly. This means that after the WebRTC server has fulfilled its purpose, it can be removed from the communication path while clients maintain seamless interaction. This highlights the flexibility and efficiency of WebRTC, allowing for direct Peer-2-Peer communication without the need for intermediation. We use it extensively in our IOT projects.

  • @ManishKumar-ou6fp
    @ManishKumar-ou6fp Před 6 měsíci +4

    Just purchased the 0-100 cohort, was speculating a lot but did the right thing ig. Hope to be there, attending meetings from office throughout the world!

  • @saicharangarapati2517
    @saicharangarapati2517 Před 6 měsíci +3

    Sir, as you said that classes will be 2 days a week (i.e) 24 days in 3 months for 0-1 course, is this number of days is enough to teach or you will also upload offline videos(recorded videos other that live recording)...?

  • @BUY_YOUTUB_VIEWS.986
    @BUY_YOUTUB_VIEWS.986 Před 6 měsíci +1

    This video was so eye-opening, thank you for sharing.

  • @putwind
    @putwind Před 6 měsíci

    Hi Harkirat,
    as you have shared the roadmap to full stack , can you share the same for the AI as well?

  • @mohammedavez7505
    @mohammedavez7505 Před 6 měsíci +1

    Hello Harkirat, is it okay to authenticate the user with each message, or is it sufficient to do so when the socket connection is initially established in a chat application?

  • @soothingmusic9783
    @soothingmusic9783 Před 6 měsíci

    Nice

  • @KEVALMEHTA-qe1ic
    @KEVALMEHTA-qe1ic Před 6 měsíci +1

    Hey Harkirat Sir/ Daa, i bought your Cohort 2.0, 0-100XDevs . If Its possible to give early access of cohort 1.0 bcz of early preparation and not going to face of Overwhelming!!
    It's just my suggestion!!
    I'm waiting to see you Live in the cohort 2.0 !🎉

  • @rahulpanda123
    @rahulpanda123 Před 6 měsíci

    Pls complete cohert 2 in specified time , many of us has time constraint..

  • @tanyacse6577
    @tanyacse6577 Před 6 měsíci +2

    Hi Harkirat I want to learn advanced concept as I just started worked as a Backend developer in my company and due to this I have to deal with kafka redis and devops which is new to me
    so I thought to learn ,so I can be a good backend dev. but I am really concern about something that many utuber or course just touch that topic for example devops they don't go deep into that
    I want to know from you how ur course differ from other
    it means alot if u tell me about that

  • @shreybgoel1568
    @shreybgoel1568 Před 6 měsíci

    When you course going to be start???
    I buyed your 0-100 level course yesterday, completely new to this....
    I have 2 questions...
    1. When it will going to start? Kindly make a video how to take full benifit of the course...like how study...
    2. Before going to watch that course's first video or lecture is there any series of videos I need to watch? Kindly share the links as well

  • @arnav9874
    @arnav9874 Před 6 měsíci

    Harkirat can you please consider telling me how crypto wallets sign a transaction with the help of private key so that the user's private key is not compromised and how can i implement the same logic in my web3 application.

  • @pratikgaikwad1105
    @pratikgaikwad1105 Před 6 měsíci

    i have one question do you teach how to write the code or else you just your own code to clearify the concepts

  • @Munnu-hs6rk
    @Munnu-hs6rk Před 6 měsíci

    i have a question can i buy this course later like when i will have money or time like a year lates will the videos will be avaialaible?

  • @gowthamsurya4763
    @gowthamsurya4763 Před 6 měsíci

    Bro , I have bought the 0 to 100 cohort , when does it start and discord link be given??

  • @redwan_10110
    @redwan_10110 Před 6 měsíci

    Can I join the cohort after February, or do I have to join before December?

  • @Dr.HackDying
    @Dr.HackDying Před 6 měsíci +1

    hii big brother can you please tell me what should I do I am currently in 12th grader CBSE and love with coding but average student in other subject, I just few week ago I stared learning Java 🙏🙏

  • @user-bv6il2nk4t
    @user-bv6il2nk4t Před 6 měsíci

    we need calls if not assurance , work on getting us calls atleast for gap age etc

  • @financialknowledg
    @financialknowledg Před 6 měsíci

    We will get certificate of the course

  • @shreybgoel1568
    @shreybgoel1568 Před 6 měsíci +1

    Hi I just buyed your 0-100 level course
    Can you tell me how much package can one get who complete this course....

  • @pranjalbarnwal4557
    @pranjalbarnwal4557 Před 6 měsíci +2

    Is this video from cohort 1 which is completed?

  • @aelfricsyrax266
    @aelfricsyrax266 Před 6 měsíci

    Will we get a certificate after completion of this cohort?

  • @bhanusingh4351
    @bhanusingh4351 Před 6 měsíci

    by when is the cohort 0-1 expected to end?

  • @smsarmad8479
    @smsarmad8479 Před 5 měsíci

    When cohort 3.0 will launched

  • @Hellnawwh
    @Hellnawwh Před 6 měsíci

    Hey I was planning to buy the 0 -100 cohort but im confused as to how the lectures would commence because you seem to have given three options and you cannot teach live simultaneously. So can someone please help explain how the classes will take place and at what time?

    • @dwaipayansom
      @dwaipayansom Před 6 měsíci

      Dude just look at the timings... 0-1 will be for the first 3 months and 1-100 for the next two months

  • @rahulpanda123
    @rahulpanda123 Před 6 měsíci

    Is two day a week enough to master the techno..?

  • @undefined8102
    @undefined8102 Před 6 měsíci

    Please keep course price discount for 3-4 days more. My payment got stuck in process which will be refunded in 2-3 days

  • @cinemaantepichi5480
    @cinemaantepichi5480 Před 3 měsíci

    5:20 that is not long polling, it is just polling with an interval of 1 second.

  • @kushshah1926
    @kushshah1926 Před 6 měsíci +1

    Bhaiya what will be the duration of the full course 0-100? Please answer🙏🏻

  • @sumanthsavai4811
    @sumanthsavai4811 Před 6 měsíci +1

    is Next.js included in the projects, or are they built using React?

    • @shivanshraghav538
      @shivanshraghav538 Před 6 měsíci

      you can see the syllabus for the course , next is included

  • @harshsharma9322
    @harshsharma9322 Před 6 měsíci

    GG

  • @arkodeepchatterjee
    @arkodeepchatterjee Před 6 měsíci

    how are you connecting to localhost through postwoman in the browser??

    • @gauravbathla8666
      @gauravbathla8666 Před 6 měsíci

      You can connect simply, he paas the localhost url on browser,
      But I don't know why he use ws library instead of the socket io

    • @arkodeepchatterjee
      @arkodeepchatterjee Před 6 měsíci

      @@gauravbathla8666 how can a server on the internet access my computer's localhost??

  • @Lucifer-xt7un
    @Lucifer-xt7un Před 6 měsíci

    Cant buy the recorded version of 1st cohort?????

  • @novaorionis
    @novaorionis Před 6 měsíci +4

    Hi, Harikat... I'm doing my graduation online on Data science. I'm in my first year and literally have zero idea on programming. I've taken the 0-100 devs course. Can i expect looking for part time jobs or freelancing if i manage to consistently learn and finish your course?

    • @itzme1398
      @itzme1398 Před 6 měsíci

      How is the course?

    • @novaorionis
      @novaorionis Před 6 měsíci

      @@itzme1398 Hasn't started yet

    • @shuaibushehu6205
      @shuaibushehu6205 Před 6 měsíci

      ​@@novaorionis where are these videos coming from? I though they are part of the course

    • @arpanpaul6910
      @arpanpaul6910 Před 6 měsíci

      @@shuaibushehu6205 No. These videos are from previous cohort.

    • @arunray2986
      @arunray2986 Před 6 měsíci

      The cohort course is useless.
      Atleast that's my point of view.

  • @prakharsinha6915
    @prakharsinha6915 Před 6 měsíci +4

    Arey Bhaiya, are you going to upload the entire season 1 gradually?... 2-3 videos were enough for the preview I guess!

    • @hellotrading3245
      @hellotrading3245 Před 6 měsíci +8

      Jealous if he uploads everything?

    • @SwatejTech
      @SwatejTech Před 6 měsíci +3

      Bruh, this is just the 3rd video of the preview!

    • @webergaming655
      @webergaming655 Před 6 měsíci

      ​@@extremeweirdness1528send me the link bro

    • @rohanpandey9957
      @rohanpandey9957 Před 6 měsíci +9

      ​@@hellotrading3245no sh*t he paid for it?

    • @proofhundred986
      @proofhundred986 Před 6 měsíci

      @@extremeweirdness1528 Where tf, Can u share, it be great help for me since i cannot afford it

  • @itzme1398
    @itzme1398 Před 6 měsíci +1

    2nd

  • @Sachin-qn1wf
    @Sachin-qn1wf Před 6 měsíci

    What if some hacker keep sending large number of dummy packets to my webSocket, due to which some client's packets amy keep dropping due to queue size? how this thing is checked!?

    • @farjulmallik4135
      @farjulmallik4135 Před 6 měsíci

      @harkirat1 ???

    • @yashsolanki3665
      @yashsolanki3665 Před 3 měsíci

      What a dumb question, first of all websocket uses tcp connection so no packets will be dropped and second thing every websocket connection is independent of each other so you can check if any connection is sending too many packets

    • @Sachin-qn1wf
      @Sachin-qn1wf Před 2 měsíci

      i didnt knew that time that web sockets uses tcp protocol over network.@@yashsolanki3665

  • @rizulbhardwaj2675
    @rizulbhardwaj2675 Před 6 měsíci

    Are the classes live for cohort 2 ?
    I want to be a part of it but I thought classes start from 2nd dec ?
    Is this from cohort 1?

    • @harkirat1
      @harkirat1  Před 6 měsíci +1

      This is from cohort 1
      Cohort 2 will be live

    • @coder_venture
      @coder_venture Před 6 měsíci

      @@harkirat1 can't wait. please do start it.

    • @tushardesai9690
      @tushardesai9690 Před 6 měsíci

      what will be the timing for the live classes when it starts ?

    • @rizulbhardwaj2675
      @rizulbhardwaj2675 Před 6 měsíci

      @@tushardesai9690 I am not sure but I think it is 7PM to 9PM each Sat and Sundat

  • @prajwalgulhane5675
    @prajwalgulhane5675 Před 6 měsíci

    Pls provide coupon code for ur 0-100mern stack course

  • @raghavgupta6534
    @raghavgupta6534 Před 6 měsíci

    I had purchased the 1-100 course but now I realize I should have purchased 0-100. Is there a way I can upgrade to 0-100

    • @abc-ym4zs
      @abc-ym4zs Před 6 měsíci

      bro can u explain what is this cohort 1-100 course and 0 to 100 course

    • @anirbandas2054
      @anirbandas2054 Před 6 měsíci

      He has two cohort courses, one is 0-1 which is for beginners completing the basics of web technologies and the 1-100 which goes from intermediate to advanced. 0-100 combines both of them@@abc-ym4zs

  • @vargos498
    @vargos498 Před 6 měsíci

    Bhaiya i had purchase your cohort course but now im not able to login in i even tried changing my password and everything still it shows invalid password or Id I have the receipt with me what to do bhaiya please bhaiya im panicking over here..........................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 🙏🙏🙏🙏🙏🙏🙏🙏 there is no option to contact you as well on the website.

    • @harkirat1
      @harkirat1  Před 6 měsíci

      Please mail at 100xdevs@gmail.com
      They will add you

  • @Football4Life_158
    @Football4Life_158 Před 6 měsíci

    You have the same name as me and last name

  • @chillpill610
    @chillpill610 Před 6 měsíci

    @harkirat sir pls decrease the price to 4999/-

  • @codeforandroid
    @codeforandroid Před 6 měsíci

    Hey @harkirat1 , I purchased your cohort course from above link, but there is no content available after that and there is no link to get refund or even message your team or anyone to get support?

  • @idrisahmed2659
    @idrisahmed2659 Před 6 měsíci

    In the description its mentioned its an advance concept so how is this video a preview for the upcoming cohort ?? Is this preview for 0-1 or 1-100 joinees ???

    • @quinx9444
      @quinx9444 Před 6 měsíci

      i think he said week 19 so 1-100 wala hoga

    • @naveen9882
      @naveen9882 Před 6 měsíci

      websockets is a topic for 0-1 i guess

  • @mahammadkaif7393
    @mahammadkaif7393 Před 6 měsíci

    Last time Discount please 0-100 Cohort

  • @shuaibushehu6205
    @shuaibushehu6205 Před 6 měsíci

    😂

  • @firesparks428
    @firesparks428 Před 6 měsíci

    Bro you looks very handsome.please change your linkedIn profile picture

  • @Support-Phalestine
    @Support-Phalestine Před 6 měsíci +4

    Harkirat bhaiya, the cost of 3700 is too high for me to afford for the 1-100 cohort. Can you please consider lowering the price

    • @newman6492
      @newman6492 Před 6 měsíci +13

      Palestine ka flag hata fir milega

    • @arpitbansal4911
      @arpitbansal4911 Před 6 měsíci

      ​@@newman6492😂😂

    • @quinx9444
      @quinx9444 Před 6 měsíci

      @@newman6492 lmao

    • @iamparitosh
      @iamparitosh Před 6 měsíci

      ​@@newman6492😂😂

    • @athul5041
      @athul5041 Před 6 měsíci

      If you already know 0-1 then you should know that it's considerably less. 0-1 is enough to land a job. Then you might be able to afford the rest.

  • @PratikshyaSharma432
    @PratikshyaSharma432 Před 6 měsíci +1

    first comment

  • @bhaskarpurohit7556
    @bhaskarpurohit7556 Před 6 měsíci

    First comment❤

  • @gg.cip0t
    @gg.cip0t Před 6 měsíci

    how to join from Nepal...?

    • @harveyspecter0902
      @harveyspecter0902 Před 6 měsíci

      You can join from anywhere, the purchase link is given in the description.

    • @amjup2356
      @amjup2356 Před 6 měsíci +1

      You have to send an http request to harkirats bank account and deposit money there

  • @Puneet120291
    @Puneet120291 Před 6 měsíci

    Lol this is so 2018

  • @Dr.HackDying
    @Dr.HackDying Před 6 měsíci

    hii big brother can you please tell me what should I do I am currently in 12th grader CBSE and love with coding but average student in other subject, I just few week ago I stared learning Java 🙏🙏