moby--moby/libnetwork/datastore
Madhu Venugopal 71fff44c0b replace individual endpoint_cnt read from store with 1 bulk read
getNetworksFromStore reads networks and endpoint_cnt from the kvstores.
endpoint_cnt especially is read in a for-loop for each network and that
causes a lot of stress in poorly performing KV-Stores.
This fix eases the load on the kvstore by fetching all the endpoint_cnt
in a single read and the operation is performed on it.

Signed-off-by: Madhu Venugopal <madhu@docker.com>
2017-02-02 14:45:38 -08:00
..
cache.go Remove unnecessary string formats 2016-11-22 09:29:53 +08:00
datastore.go replace individual endpoint_cnt read from store with 1 bulk read 2017-02-02 14:45:38 -08:00
datastore_test.go Remove unnecessary string formats 2016-11-22 09:29:53 +08:00
mock_store.go Datastore handles creating objects atomically. 2015-06-25 10:53:48 -07:00