tool-db
tool-db copied to clipboard
Replace websockets with server sent events
SSE is a lightweight alternative and this package https://github.com/WebReflection/bidi-sse make it possible to use it as websocket.
I think I see your point, and this could enable the db to be used on any transport layer like webrtc or even setup some communication tests right?
Websockets needs sticky session and SSE doesn't. https://braid.org/ is another option. You can also borrow few ideas from https://condensationdb.com/
https://github.com/CondensationDB/Condensation/issues/6