iroh icon indicating copy to clipboard operation
iroh copied to clipboard

iroh-bytes should have an upper limit for number of downloads it accepts

Open flub opened this issue 1 year ago • 4 comments

If too many downloads are already in progress new requests should fail with a loadshed response.

flub avatar Nov 24 '23 17:11 flub

This is reasonably easy to implement in the server - just a counter. But any idea what this limit should be? A server that serves a lot of slow clients might want to have a very high number.

rklaehn avatar Nov 29 '23 14:11 rklaehn

should this be handled by integrating the downloader from iroh?

dignifiedquire avatar Nov 29 '23 20:11 dignifiedquire

should this be handled by integrating the downloader from iroh?

Probably good idea.

rklaehn avatar Nov 30 '23 07:11 rklaehn

Is this still an independent issue or can it be closed as iroh-sync now handles all sorts of sophisticated downloading ways?

flub avatar Apr 23 '24 15:04 flub