distribution/registry/proxy
Tony Holdstock-Brown 33c448f147 Implement regulator in filesystem driver
This commit refactors base.regulator into the 2.4 interfaces and adds a
filesystem configuration option `maxthreads` to configure the regulator.

By default `maxthreads` is set to 100. This means the FS driver is
limited to 100 concurrent blocking file operations. Any subsequent
operations will block in Go until previous filesystem operations
complete.

This ensures that the registry can never open thousands of simultaneous
threads from os filesystem operations.

Note that `maxthreads` can never be less than 25.

Add test case covering parsable string maxthreads

Signed-off-by: Tony Holdstock-Brown <tony@docker.com>
2016-05-03 09:33:22 -07:00
..
scheduler Fix some typos in comments and strings 2016-02-23 22:33:38 +01:00
proxyauth.go Fetch token by credentials and refresh token 2016-03-04 00:34:17 -08:00
proxyblobstore.go Enable proxying registries to downgrade fetched manifests to Schema 1. 2016-02-22 17:56:48 -08:00
proxyblobstore_test.go Implement regulator in filesystem driver 2016-05-03 09:33:22 -07:00
proxymanifeststore.go Implements garbage collection subcommand 2016-02-29 14:15:21 -08:00
proxymanifeststore_test.go Fix some typos in comments and strings 2016-02-23 22:33:38 +01:00
proxymetrics.go Add pull through cache functionality to the Registry which can be configured 2015-08-04 16:09:55 -07:00
proxyregistry.go Merge pull request #1502 from RichardScothern/auth-url-endpoints 2016-03-14 16:28:24 -07:00
proxytagservice.go To avoid any network use unless necessary, delay establishing authorization 2016-02-16 11:53:42 -08:00
proxytagservice_test.go To avoid any network use unless necessary, delay establishing authorization 2016-02-16 11:53:42 -08:00