high-concurrency

Diagnose high-QPS StarRocks throughput bottlenecks and latency spikes.

73|12|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/StarRocks/starrocks-debug-skills --skill high-concurrency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: high-concurrency
Source: https://github.com/StarRocks/starrocks-debug-skills/tree/main/high-concurrency
Command: npx skills add https://github.com/StarRocks/starrocks-debug-skills --skill high-concurrency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps diagnose and tune StarRocks systems that struggle under high-QPS workloads, where throughput plateaus, latency spikes, or memory volatility appear as concurrency rises.

Core Features & Use Cases

  • Throughput Bottleneck Analysis: Distinguishes whether the limiting factor is connection exhaustion, FE planning CPU saturation, pipeline parallelism overhead, query cache ineffectiveness, or hidden session-level timeout overrides.
  • Targeted Tuning Guidance: Recommends concrete actions such as connection pooling, prepared statement plan caching, pipeline_dop adjustment, short-circuit scan enablement, and resource-group governance.
  • Production Troubleshooting: Uses metrics, audit logs, and current-query state to explain real-world failures like dashboard storms, burst traffic, query backlogs, and BE memory instability.

Quick Start

Ask this skill to analyze a StarRocks high-concurrency slowdown, identify the dominant bottleneck from metrics and logs, and recommend the correct tuning or governance fix.

Frequently Asked Questions about high-concurrency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose StarRocks throughput bottlenecks and latency spikes under high-QPS workloads?

To diagnose StarRocks throughput bottlenecks, inspect connection counts, current query states, audit logs, cache hit ratios, and cluster settings to distinguish whether the limiting factor is connection exhaustion, FE planning CPU saturation, or pipeline parallelism overhead.

Why does StarRocks latency spike when concurrent dashboard traffic increases?

StarRocks latency spikes during traffic bursts often stem from FE planning overload or query cache ineffectiveness. Analyzing audit logs and current query states helps identify the governing root cause and apply targeted tuning like prepared statement plan caching.

What is the best way to tune pipeline_dop for StarRocks high-concurrency workloads?

Tuning pipeline_dop for StarRocks high-concurrency involves adjusting pipeline parallelism to reduce overhead. Inspect cluster settings and BE memory stability metrics to determine the correct parallelism configuration that prevents memory volatility under high QPS.

How do I validate query cache effectiveness to stabilize high-QPS StarRocks systems?

Validating query cache effectiveness requires checking cache hit ratios and session-level timeout overrides. If the cache is ineffective under high QPS, apply targeted tuning such as short-circuit scan enablement to stabilize throughput.

Does StarRocks high-concurrency tuning require connection pooling to prevent connection exhaustion?

Yes, connection pooling is recommended to prevent connection exhaustion in high-QPS StarRocks workloads. Inspecting connection counts helps identify this throughput bottleneck, and applying pooling stabilizes bursty client traffic.

What are the limitations of relying on session-level timeout overrides during StarRocks query backlogs?

Session-level timeout overrides can cause hidden governance issues during StarRocks query backlogs. Resource-group governance is recommended instead to manage FE planning overload and stabilize BE memory volatility under high concurrency.