3 ms·
You could look in peer to peer interactions for some actions on the board and websockets for keeping state of the board in sync for everyone.
by lavishlibra0810 4y ago
You could look in peer to peer interactions for some actions on the board and websockets for keeping state of the board in sync for everyone.
- tsp 4y agoAre there any peer to peer protocols in particular that you can recommend for this use-case?
- bilekas 4y agoPersonally I would try Server Sent Events if its just a hobby. https://html.spec.whatwg.org/#server-sent-events https://html.spec.whatwg.org/#server-sent-events Supports compression easier, less issues with proxies, multiplexing etc. And have found that they're much more simple to play with!
- tsp 4y agoInteresting! I never used SSE, because I read that it is more complicated than websockets.