Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Go to file
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
libnetwork replace individual endpoint_cnt read from store with 1 bulk read 2017-02-02 14:45:38 -08:00