The Best Way to Send Data From Backend to Frontend: Server Sent Events

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 43

  • @codedamn
    @codedamn  2 роки тому +5

    In this video, let's discuss server-sent events, what they are in backend programming, how they are different from web sockets, and what is the need for such a system.
    Drop a comment and let us know if you've watched this video till the end!
    ⚛️ Learn Solidity & Build Smart Contracts:
    offers.codedamn.com/learn-solidity-build-smart-contract-d/
    ⚛️ Check out codedamn's full-stack learning path: cdm.sh/fullstack
    ⚛️ Get started with web3 and decentralized technologies today: cdm.sh/web3

  • @pedronunes9043
    @pedronunes9043 Рік тому +3

    Honestly, this is the best explanation I've seen so far. Your method of explanation is very enlightening. I subscribed to your channel because I am sure that I will learn a lot here.

  • @shrestha0144
    @shrestha0144 2 роки тому +9

    I got interested in SSE cause of the changelog in next js that mentioned they switched from SSE to Sockets. It is an interesting connection protocol

  • @royz_1
    @royz_1 2 роки тому +3

    Another great way would be Web Push. I recently implemented it in one of my projects and it's very interesting how it works.

  • @skohari
    @skohari Рік тому

    I watched this till the end! Very helpful

  • @RogerOnTheRight
    @RogerOnTheRight 2 роки тому +7

    So, with SSE, how does the server contact the client, unless the client has a listener, which implies some sort of port / socket? Or, is it just wrapped in some client polling thing after all?

  • @BeastBishop
    @BeastBishop Рік тому

    This was a great refresher on the differences. Thank you for such a great explanation.

  • @peterhirt991
    @peterhirt991 Рік тому

    excellent video. Good visual introduction above all!

  • @nithinbhandari3075
    @nithinbhandari3075 2 роки тому +5

    Thanks for teaching advance backend concept.
    What about your opinion about firestore ?

  • @MilindaAbeykoon
    @MilindaAbeykoon 2 роки тому

    Great Video Mehul ! 🔥🔥

  • @sandeepverma991
    @sandeepverma991 2 місяці тому

    I have implemented SSE in my project. There are two instances/node are running of notification service on server. If UI creates connection on instance1 and messages are send by instance2 then it fails to reach on UI.
    Due to this problem we need to scale down to a single instance of notification service.
    Do you have any solution for it?

  • @shubhamjapkar5950
    @shubhamjapkar5950 2 роки тому +2

    I just want to know from where you learn these concepts only Google or anything else, make video on that because that's very important topic

  • @selinjodhani2634
    @selinjodhani2634 2 роки тому

    I WATCHED THE VIDEO TILL THE END!

  • @kashmirtechtv2948
    @kashmirtechtv2948 2 місяці тому

    If we want to log the user out when we make his profile inactive.. Then what will be the best??

  • @aravindsanjeev4150
    @aravindsanjeev4150 2 роки тому

    Signed up for pro 2 days ago... Really liking it. 👌

  • @souravdas423
    @souravdas423 2 роки тому +2

    Suppose I am building a stock market application where I want to see live data. Then which one would be better websockets or sse? I am thinking sse because the data is uni directional. Am I right?

  • @chukwuemekaajima8373
    @chukwuemekaajima8373 2 роки тому

    I was here till the end😀

  • @Sandeep-zd6dq
    @Sandeep-zd6dq 2 роки тому

    Watched till the end

  • @ravi-misra
    @ravi-misra 2 роки тому +1

    Nice discussion about various options. Thanx. Please correct the spelling of "simultaneous" 6.18.

  • @td_ng
    @td_ng 2 роки тому

    watched till the end

  • @iHariPatel
    @iHariPatel 2 роки тому

    I watched this video till the end.

  • @leanprogrammer
    @leanprogrammer 2 роки тому +3

    Great stuff! Can you go into the details of the http layers and examples in real life

  • @muhamedsufail8089
    @muhamedsufail8089 2 роки тому

    I watched this video till the end

  • @lalitmetkar
    @lalitmetkar 2 роки тому

    How does youtube streaming works, and one more question, why does youtube has only one page for viewing and managing with watch?v=

  • @bennyrodrigues9539
    @bennyrodrigues9539 2 роки тому

    How webhooks are implemented ?

  • @lathavoggu2639
    @lathavoggu2639 2 роки тому

    One more new concept thank you

  • @santhoshrathnala4888
    @santhoshrathnala4888 2 роки тому

    I watched the video video till the end

  • @iHariPatel
    @iHariPatel 2 роки тому +5

    Polling == DDOS Attack

  • @HelloThere-xs8ss
    @HelloThere-xs8ss Рік тому

    I did like this. ❤

  • @jacoblockwood4034
    @jacoblockwood4034 2 роки тому

    I watched the video to the end

  • @madhav3573
    @madhav3573 2 роки тому

    Make a video about how does a IPTV works

  • @sahiljindal
    @sahiljindal 2 роки тому +1

    6:16 *simultaneous

  • @leocrawf
    @leocrawf 2 роки тому

    i watched this video to the end.

  • @emmanuelmuswalo2302
    @emmanuelmuswalo2302 2 роки тому

    Till end

  • @arnavranjan7881
    @arnavranjan7881 4 місяці тому +1

    sse consume less resource than websockets.

  • @yadneshkhode3091
    @yadneshkhode3091 2 роки тому

    thanks

  • @JagdeepSinghKalsi
    @JagdeepSinghKalsi 2 роки тому +1

    This is not 100% correct.
    Polling (long / short) is not explained correctly.
    SSE is not explained clearly.
    Use cases(examples) are not appropriate.
    Not way off, but some key things have not been addressed correctly.
    Still, good enough video for beginners.

  • @mgr1282
    @mgr1282 2 роки тому

    RPC ?!!

  • @djamsterdam007
    @djamsterdam007 5 місяців тому

    you are doing good job but I advice you to practice your pronunciation

  • @rashidshaikh9751
    @rashidshaikh9751 2 роки тому

    I watched this video till the end