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

server: add an unblocking lane #61

Open
titoBouzout opened this issue Mar 23, 2022 · 0 comments
Open

server: add an unblocking lane #61

titoBouzout opened this issue Mar 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@titoBouzout
Copy link
Owner

titoBouzout commented Mar 23, 2022

if the socket connection is busy uploading or downloading too much data, then that will block small messages
solutions could be

  • open two socket connections
    • wasteful but allows easy two-way communication
  • use regular request for vast amount of data
    • hard to sync but doable, server pushes to clients by instructing the client to download from an url, client pushes to server by just posting data
  • split the big messages
    • as the messages are big, you cannot send or receive data meanwhile you sending these big chunks, so maybe we can split it in smaller chunks and always giving priority to whatever is in queue
@titoBouzout titoBouzout added the enhancement New feature or request label Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant