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

From my understanding of httptp, will we run out of memory if using indelay? #8

Open
unisqu opened this issue Nov 27, 2018 · 1 comment
Labels

Comments

@unisqu
Copy link

unisqu commented Nov 27, 2018

  1. If the data sent is a lot, will it run out of memory if using indelay with a large value? e.g. 5 seconds

  2. are the data sent in sequence or randomly batched?

@valyala
Copy link
Owner

valyala commented Nov 27, 2018

  1. No. There is a fixed-size buffer per each connection, which prevents from memory overflow. The buffer is flushed before the delay timeout if it becomes full.
  2. Requests are sent in sequence. teleport protocol allows receiving responses in arbitrary order. http protocol receives responses in requests' order.

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

No branches or pull requests

2 participants