apteryxxyz/next-ws

Persistence and multi instance setup

Closed this issue · 1 comments

gsogol commented

Thank you for your work.

  1. looks like this doesn't work with the latest nextjs version. Not sure what the issue is :(
  2. how are messages persisted? For example socket.io can persist in redis or postgres. what happens when a client reconnects and connects to a new instance (assuming multiple backend instances are running)?

🙏

  1. As far as I can tell it still works
    image

  2. The purpose of this package is to just expose a way to receive WebSocket connections in the app router using the NPM package ws, anything else is out of scope for this package.