With webSockets you have a stateful request /response system, how can we store websocket connection reference in the server such that we can have stateless system ?
For further actions, you may consider blocking this person and/or reporting abuse
With webSockets you have a stateful request /response system, how can we store websocket connection reference in the server such that we can have stateless system ?
For further actions, you may consider blocking this person and/or reporting abuse
Shubham -
OpenSource -
Daniel -
Jasper -
Top comments (2)
You might need a reverse proxy like
fanout / pushpin
Reverse proxy for realtime web services
Pushpin
Website: pushpin.org/
Mailing List: lists.fanout.io/mailman/listinfo/f...
Chat Room:
Pushpin is a reverse proxy server written in C++ that makes it easy to implement WebSocket, HTTP streaming, and HTTP long-polling services. The project is unique among realtime push solutions in that it is designed to address the needs of API creators. Pushpin is transparent to clients and integrates easily into an API stack.
How it works
Pushpin is placed in the network path between the backend and any clients:
Pushpin communicates with backend web applications using regular, short-lived HTTP requests. This allows backend applications to be written in any language and use any webserver. There are two main integration points:
or you could use HTTP/2 to do bidirectional communication and skip WebSockets.
Thanks 😀