HTTP Request vs HTTP Long-Polling vs WebSocket vs Server-Sent Events

preview_player
Показать описание
In this video, we are going to learn the HTTP Request vs Http Long-Polling vs WebSocket vs Server-Sent Events(SSE).

#systemdesign

Hi, I am Amit Shekhar, I have mentored many developers, and their efforts landed them high-paying tech jobs, helped many tech companies in solving their unique problems, and created many open-source libraries being used by top companies. I am passionate about sharing knowledge through open-source, blogs, and videos.

You can connect with me on:

Рекомендации по теме
Комментарии
Автор

Keep Learning, Keep Growing, and Keep Sharing.

amitshekhar
Автор

Hi Amit, as always, clean and simple explanation.

While we understand that websocket is the preferred one for real time content push from server, what are implications of using that in the android client against http.
1. Battery usage.
2. Cost
3. How does whatsApp send data to android client if process is not alive. (How long does whatsApp keep the connection active)

kumarvelu
Автор

What is suitable for ERP system where same clients are online and also offline.

doctin
Автор

I want to build a real-time, private, 1-to-1, chat applications like Whatsapp. Do I have to use Websockets or is there any better solution than websockets ?

ygjyfyz
Автор

Bro why most of the system design teacher are teaching Backend System design and not Android(mobile) system design?

himanshukandwal
Автор

is not it that server close the connection and then again open the connection at the time of sending response?

soumyadevporiya