Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace websockets with server sent events #1

Open
ansarizafar opened this issue Nov 30, 2021 · 2 comments
Open

Replace websockets with server sent events #1

ansarizafar opened this issue Nov 30, 2021 · 2 comments

Comments

@ansarizafar
Copy link

SSE is a lightweight alternative and this package https://github.com/WebReflection/bidi-sse make it possible to use it as websocket.

@Manwe-777
Copy link
Owner

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?

@ansarizafar
Copy link
Author

Websockets needs sticky session and SSE doesn't. https://braid.org/ is another option. You can also borrow few ideas from https://condensationdb.com/
CondensationDS/Condensation#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants