1
0
mirror of https://github.com/distribution/distribution synced 2025-02-23 06:49:36 +01:00
distribution/registry/storage/driver/filesystem
Josh Hawn e4dd3359cc Regulate filesystem driver to max of 100 calls
It's easily possible for a flood of requests to trigger thousands of
concurrent file accesses on the storage driver. Each file I/O call creates
a new OS thread that is not reaped by the Golang runtime. By limiting it
to only 100 at a time we can effectively bound the number of OS threads
in use by the storage driver.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)

Signed-off-by: Tony Holdstock-Brown <tony@docker.com>
2016-04-26 14:44:13 -07:00
..
driver_test.go Remove half-baked Storage Driver IPC support 2015-06-29 16:52:12 -07:00
driver.go Regulate filesystem driver to max of 100 calls 2016-04-26 14:44:13 -07:00