httpteleport icon indicating copy to clipboard operation
httpteleport copied to clipboard

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

Open unisqu opened this issue 7 years ago • 1 comments

  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?

unisqu avatar Nov 27 '18 18:11 unisqu

  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.

valyala avatar Nov 27 '18 21:11 valyala