mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Before this change looping over many pools would query the redis backend for each pool, leading in slow response from the backend for configurations with many pools (60+) Changed the requests to use redis pipelines https://redis.io/topics/pipelining This is supported since the beginning, so will not force any redis update for users. The pipeline method runs the queries in batches and we need to loop over the result and reduces the number of requests to redis by N=number of pools in the configuration. |
||
|---|---|---|
| .. | ||
| api | ||
| providers | ||
| env_config.rb | ||
| generic_connection_pool_spec.rb | ||
| pool_manager_spec.rb | ||
| providers_spec.rb | ||
| vmpooler_spec.rb | ||