pangea-poker icon indicating copy to clipboard operation
pangea-poker copied to clipboard

Websocket Setup Architecture

Open piggydoughnut opened this issue 4 years ago • 0 comments

The following package is used to support websockets. https://www.npmjs.com/package/react-use-websocket

This issue is a mental note to myself to check how everything works and answer the following questions:

  • Should users reuse websockets?
  • Handling errors? onError
  • Handling socket closure? onClose
  • Socket reconnect?
  • How many users can we support / how many websockets the server can keep open simultaneously?

piggydoughnut avatar Jun 05 '20 05:06 piggydoughnut