vmpooler/spec/unit
Samuel Beaulieu 8eb15f8d10 (maint) Optimize the status api using redis pipeline
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.
2019-04-18 13:24:40 -05:00
..
api (maint) Optimize the status api using redis pipeline 2019-04-18 13:24:40 -05:00
providers Remove debug statements. Return when get_vm returns nil 2018-09-12 12:28:12 -07:00
env_config.rb (POOLER-137) Support integer environment variables 2019-01-22 15:02:07 -08:00
generic_connection_pool_spec.rb (POOLER-52) Add recovery to vSphere connections 2017-05-17 13:52:28 -07:00
pool_manager_spec.rb Ensure nodes are consistent for usage stats 2018-12-19 12:45:50 -08:00
providers_spec.rb Update providers_spec to match array contents 2018-12-07 17:08:08 -08:00
vmpooler_spec.rb Allow user to specify a configuration file in VMPOOLER_CONFIG_FILE 2018-01-23 15:51:10 -08:00