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

Evaluate back-pressure implementation for sending side WebSocket messages #20

Open
mliarakos opened this issue Oct 17, 2020 · 0 comments

Comments

@mliarakos
Copy link
Owner

Currently, the lagom.js WebSocket client does not support back-pressure for sending or receiving messages over the socket. As described here, back-pressure for receiving messages is not possible under the current WebSocket standard.

However, it is possible to provide back-pressure for sent messages using WebSocket.bufferedAmount, as described here. We should evaluate if sending side back-pressure can be implemented using this approach.

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

1 participant