trino-resource-group-governance
CommunityIsolate Trino workloads with fair governance
Software Engineering#trino#resource groups#multi-tenant isolation#workload governance#scheduling policies#cpu quota#jmx monitoring
Authorivanshamaev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves uncontrolled Trino resource contention by defining workload governance for concurrent queries across users, sources, and query types.
Core Features & Use Cases
- Hierarchical resource groups: Build group trees (tiers) to enforce memory, concurrency, queue limits, and CPU quotas for each workload class (e.g., admin, pipeline, adhoc, batch, reporting).
- Selector-based routing and multi-tenant isolation: Assign queries to groups using selectors (user, source regex, queryType, clientTags, queryText regex) with a catch-all fallback to prevent routing failures.
- Scheduling policy control: Apply policies like
fair,weighted,weighted_fair, orquery_priorityto match SLA tiers and prioritize critical workloads. - Monitoring via JMX: Enable JMX export selectively and use JMX endpoints to inspect running/queued utilization and query-to-group assignment.
Quick Start
Use the trino-resource-group-governance skill to generate a resource-groups.json that routes admin, pipeline, adhoc, and batch workloads into separate hierarchical groups with per-group concurrency, memory, and CPU quota limits.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: trino-resource-group-governance Download link: https://github.com/ivanshamaev/de-agent-skills/archive/main.zip#trino-resource-group-governance Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.