vmpooler/spec/unit
Mahima Singh 7b657edd0d Add Phase 2 optimizations: status API caching and improved Redis pipelining
- Add in-memory cache for /status endpoint with 30s TTL
- Cache keyed by view parameters to handle different query patterns
- Add cache clearing for tests to prevent interference
- Optimize get_queue_metrics to use single pipeline for all Redis calls
  - Previously made 7+ separate pipeline calls
  - Now combines all queue metrics into one pipeline (7n+2 operations)
  - Reduces Redis round trips and improves API response time
- Update unit tests to match new pipelining behavior
- All 866 tests passing
2025-12-24 13:55:24 +05:30
..
api Add Phase 2 optimizations: status API caching and improved Redis pipelining 2025-12-24 13:55:24 +05:30
dns Get zone from config and add dns/base_spec 2023-03-27 21:27:30 -04:00
providers Move vsphere provider to its own gem 2021-12-03 09:41:29 -05:00
util Added spec tests for Vmpooler::Dns 2023-03-27 21:27:40 -04:00
collector_middleware_spec.rb Fix regex for ondemand instances 2021-02-02 11:11:17 -05:00
dns_spec.rb Added spec tests for Vmpooler::Dns 2023-03-27 21:27:40 -04:00
env_config.rb Fix tests based on new dns config 2023-03-27 21:27:41 -04:00
generic_connection_pool_spec.rb (POOLER-184) Pool manager retry and exit on failure 2020-09-02 11:38:40 -05:00
pool_manager_spec.rb Fixed spec tests 2025-12-04 16:19:34 +05:30
promstats_spec.rb Add operation label to user metric and move from manager to api 2021-08-13 11:23:10 -04:00
providers_spec.rb Move vsphere provider to its own gem 2021-12-03 09:41:29 -05:00
vmpooler_spec.rb exit application if domain setting is used 2023-03-27 21:27:45 -04:00