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
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.
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?
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?
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.