PartyKit vs WebSocket server with WebSocket Hibernation
Totally new to setting up a websocket server / client and have a general architecture question.
Wondering how to best implement a web socket server and if it should still be behind my API gateway.
The gateway is built using Kono.
https://link.excalidraw.com/readonly/rMHltKc25dPL0AQFvkGf
Wondering how to best implement a web socket server and if it should still be behind my API gateway.
The gateway is built using Kono.
- Is it possible to proxy the initial call so that it does the 101 Upgrade for websockets in the gateway and then calls the downstream websocket server using RPC?
- I am using partykit with currently with just the generic
import { WebSocket } from "partysocket";this works fine directly to a Websocket server direct on the worker but I have issues pushing this through the gateway to do the upgrade and everything.
https://link.excalidraw.com/readonly/rMHltKc25dPL0AQFvkGf
