The question is, can we say that for the case of one-time answers, a lengthy survey is a better choice than websockets?
. ( , ), , .
, . .
5-10 , HTTP- , , , . (- ..) http- . , . , , , .
, , , , , .
1:
- , push-.
- http- . , .
- push- .
- webSocket ( ).
2:
- http- . , , , - taskID, .
- http " " "" . , , "-" , .
3:
- webSocket.
- webSocket, .
- , .
- webSocket ( , ).
4:
- , 3, socket.io webSocket, , , .
, 3 4, , . TCP- , push, .
1, , , , , HTTP- webSocket. , . 2 , ( ), .