Web sockets
WebSockets enable full-duplex, | real-time communication | over a single persistent connection
WebSockets cho phép giao tiếp | thời gian thực, hai chiều | qua một kết nối bền vững duy nhất
between client and server. | Unlike HTTP’s request-response cycles, | allows continuous bidirectional data exchange.
giữa máy khách và máy chủ. | Không giống như các chu kỳ request-response của HTTP, | cho phép trao đổi dữ liệu hai chiều liên tục.
Ideal for live chat, | gaming, and real-time updates | with low-latency communication.
Lý tưởng cho trò chuyện trực tiếp, | trò chơi và các cập nhật thời gian thực | với giao tiếp độ trễ thấp.
Resources
- Socket.io Library Bidirectional and Low-latency Communication for Every Platform (official)
- Introduction to WebSockets (article)
- A Beginners Guide to WebSockets (video)
- How Web Sockets Work (video)
References
- https://roadmap.sh/backend (Node: WebSockets)