|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Configuration for scale-up triggers. More...
#include <autoscaling_policy.h>

Public Attributes | |
| double | queue_depth_threshold = 100.0 |
| Jobs per worker threshold (scale up when exceeded) | |
| double | utilization_threshold = 0.8 |
| Worker utilization threshold (0.0 - 1.0, scale up when exceeded) | |
| double | latency_threshold_ms = 50.0 |
| P95 latency threshold in milliseconds (scale up when exceeded) | |
| std::size_t | pending_jobs_threshold = 1000 |
| Absolute pending jobs threshold (scale up when exceeded) | |
Configuration for scale-up triggers.
Scale-up is triggered when ANY of these thresholds are exceeded.
Definition at line 68 of file autoscaling_policy.h.
| double kcenon::thread::autoscaling_policy::scale_up_config::latency_threshold_ms = 50.0 |
P95 latency threshold in milliseconds (scale up when exceeded)
Definition at line 77 of file autoscaling_policy.h.
| std::size_t kcenon::thread::autoscaling_policy::scale_up_config::pending_jobs_threshold = 1000 |
Absolute pending jobs threshold (scale up when exceeded)
Definition at line 80 of file autoscaling_policy.h.
| double kcenon::thread::autoscaling_policy::scale_up_config::queue_depth_threshold = 100.0 |
Jobs per worker threshold (scale up when exceeded)
Definition at line 71 of file autoscaling_policy.h.
| double kcenon::thread::autoscaling_policy::scale_up_config::utilization_threshold = 0.8 |
Worker utilization threshold (0.0 - 1.0, scale up when exceeded)
Definition at line 74 of file autoscaling_policy.h.
Referenced by kcenon::thread::autoscaling_policy::is_valid().