open navigation menu
AiFolder
Tools for a smarter you
Discover
Tools
AI
Games
Interviews
Blog
More
Search AiFolder
Toggle theme
Toggle theme
Sign in
Exit
00:00
Submit test
WebSockets · Advanced
10 questions · Question 1 of 10
10%
Multiple Choice
Senior
Can you suggest how to load balance Web Sockets?
A
WebSocket is the communication Protocol which provides bidirectional communication between the Client and the Server over a TCP connection, WebSocket remains open all the time so they allow the real time data transfer.
B
Advantages of SSE over Websockets: Transported over simple HTTP instead of a custom protocol Can be poly filled with javascript to "backport" SSE to browsers that do not support it yet.
C
Put a L3 load balancer that distributes IP packets based on source IP port hash to your WebSocket server farm.
D
Websocket is not a stream based protocol like TCP, it's message based.
Previous
Next