The current rate limiter for $queryStats is capped at 100 queries per second, which is inadequate for high throughput workloads. A rate limiter based off a sample rate should be available instead to solve this issue.
We must ensure that collecting 1% sample of queries performs on par with the current rate limiting of 100 queries per second
See POC branch for reference: https://github.com/10gen/mongo/compare/master...evan.bergeron/percentage-sampling-weighted-stats
- related to
-
SERVER-105313 Add server parameter to configure sample based rate limiting for $queryStats
-
- Closed
-