piby
07/01/2026, 5:42 AMSET workloadName = USERNAME_workload; at the top of every query.
Is this the right approach and is it scalable? (let's say we have 1000 users)
Thanks!Praveen Kumar Chaganlal
07/05/2026, 12:17 AMbatch, high_priority, low_priority, or tenant/table-level groups. Managing 1000 per-user configs means more config churn, and harder budget tuning, especially because CPU/memory budgets are absolute per enforcement window rather than a simple “queries per user” quota.
A more scalable pattern would be to group users into workload tiers and inject the workload name based on tier, Then use application-level QPS/concurrency quotas for true per-user limits. The proxy can still use the authenticated username to enforce those quotas, while this features protects Pinot from noisy-neighbor workload classes.