Тёмный

WebSocket - The Easiest and Detailed Explanation 

Coding with Yalco
Подписаться 6 тыс.
Просмотров 6 тыс.
50% 1

#websocket #api #programming
= = =
The topic of this video is WebSocket. Traditional computer communication methods, such as HTTP, involve the client sending a request and the server responding, creating one-way communication. This model has limitations, especially in real-time applications like chat apps, where the server cannot notify the client of new messages without a client request.
Polling and long polling are methods to address this, but they have drawbacks like delays and increased server load. WebSocket, however, allows bidirectional communication, similar to a phone call, enabling both the client and server to send messages freely and efficiently.
WebSocket starts with an HTTP handshake, then switches to the WebSocket protocol for ongoing communication, reducing overhead compared to HTTP. It is more resource-efficient and suitable for real-time updates, unlike HTTP/2, which is not designed for long-term bidirectional communication. WebSocket uses TCP, ensuring data order and reliability, making it ideal for applications needing real-time communication, like online games and stock apps.
However, WebSocket implementation can be complex, especially with load balancing, and message size limitations can be a concern. Security is also a consideration, requiring SSL/TLS for encryption. While WebSocket is less burdensome than polling, it still demands resources, and high user numbers can strain servers.
The video concludes by hinting at exploring alternatives to WebSocket in future videos.

Опубликовано:

 

17 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@coding-with-yalco
@coding-with-yalco Месяц назад
Videos related to API yalco.notion.site/Videos-related-to-API-a3c5cf9577db408a930509f0c9ff2a90?pvs=4
@kamertonaudiophileplayer847
@kamertonaudiophileplayer847 22 дня назад
I wrote websocket support in Java 10 years ago. It still works strong.
@bakerkawesa
@bakerkawesa 29 дней назад
Awesome explanation. You have a knack for this.
@coding-with-yalco
@coding-with-yalco 28 дней назад
Thank you!!
@LePhenixGD
@LePhenixGD 27 дней назад
agreed
@srinivasaguptamaram9335
@srinivasaguptamaram9335 27 дней назад
Nice videos, hoping going to get async communications JMS and Kafka videos
@sai_00983
@sai_00983 24 дня назад
Nicely explained. Used websocket without knowing its purpose before but now I know the difference. Thank you. Keep doing these videos. The idea creating another character to ask questions from listener point of view is very good.
@coding-with-yalco
@coding-with-yalco 24 дня назад
I'm so glad to hear that it was helpful to you! Thank you!
@souptiksaha5
@souptiksaha5 29 дней назад
Your videos are awesome! We want more of such videos + some use cases implementations of these concepts as well !
@coding-with-yalco
@coding-with-yalco 29 дней назад
Thank you!!
@Aucacoyan
@Aucacoyan 23 дня назад
Thank you! Your videos are very very clear and educational!
@karansmittal
@karansmittal 22 дня назад
Really amazing content @coding-with-yalco. The understanding and assumptions taken are really easy to understand. Looking for more content from you.
@coding-with-yalco
@coding-with-yalco 21 день назад
Thank you!!
@saideepesh6036
@saideepesh6036 22 дня назад
Amazing video, subscribed, please continue making content videos like this, Thanks
@coding-with-yalco
@coding-with-yalco 22 дня назад
Thank you!!
@weybansky
@weybansky 24 дня назад
Nice illustrations. Earned a subscriber
@coding-with-yalco
@coding-with-yalco 24 дня назад
Thank you!!
@mahmoudkhaled3961
@mahmoudkhaled3961 24 дня назад
You are so good with the explanation. Please keep up the good work
@coding-with-yalco
@coding-with-yalco 24 дня назад
Thank you!!
@VigneshBhaskar
@VigneshBhaskar 24 дня назад
Very informative. Thank you.
@coding-with-yalco
@coding-with-yalco 23 дня назад
Thank you!!
@user-sq1zq7rr3q
@user-sq1zq7rr3q 19 дней назад
extra ordinary explanation
@coding-with-yalco
@coding-with-yalco 19 дней назад
Thank you!
@manishshaw2393
@manishshaw2393 27 дней назад
great video , plz keep making videos.
@coding-with-yalco
@coding-with-yalco 26 дней назад
Thank you!
@indianmuskofficial9278
@indianmuskofficial9278 26 дней назад
please keep making
@vsnthdev
@vsnthdev Месяц назад
Just remember that one day your channel is going to be at the top 🙌 Absolutely amazing videos, I have been sharing across my friends 🚀 Is there any way I can contact you?
@coding-with-yalco
@coding-with-yalco 29 дней назад
Thank you! I subscribed your channel too! You can contact me at yalco@yalco.kr
Далее