optimize-model-compute

Assign Dataform actions to BigQuery slot reservations and on-demand pricing.

7|4|Updated Aug 26, 2024
One-click install
npx skills add https://github.com/HTTPArchive/dataform --skill optimize-model-compute
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize-model-compute
Source: https://github.com/HTTPArchive/dataform/tree/main/.agents/skills/optimize-model-compute
Command: npx skills add https://github.com/HTTPArchive/dataform --skill optimize-model-compute

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps manage and optimize BigQuery compute costs by intelligently assigning Dataform actions to either reserved slots or on-demand pricing tiers.

Core Features & Use Cases

  • Cost Optimization: Routes workloads to the most cost-effective compute option based on priority and usage patterns.
  • Resource Allocation: Assigns critical, high-priority workloads to reserved slots for guaranteed performance.
  • Flexibility: Utilizes on-demand pricing for lower-priority or ad-hoc tasks, reducing unnecessary reserved capacity usage.
  • Use Case: Ensure your core reporting pipelines always have dedicated compute resources by assigning them to a reservation, while less critical data exploration tasks run on-demand.

Quick Start

Update the reservations configuration in definitions/_reservations.js to assign the model httparchive.reports.tech_summary to the reservation tier.

Frequently Asked Questions about optimize-model-compute

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

FAQPage Schema
How do I optimize BigQuery compute costs for Dataform pipelines?

Optimize BigQuery compute costs by assigning Dataform actions to slot reservations, routing high-priority workloads to reserved slots and low-priority tasks to on-demand pricing tiers.

What is the best way to route high-priority Dataform workloads to reserved slots?

Route high-priority workloads to reserved slots by configuring reservation tiers and associating specific actions in the `definitions/_reservations.js` file to guarantee dedicated compute resources.

Can I use on-demand pricing for low-priority BigQuery tasks in Dataform?

Yes, you can assign low-priority or ad-hoc Dataform tasks to on-demand pricing tiers, reducing unnecessary reserved capacity usage and lowering overall compute expenses.

How do I configure BigQuery slot reservations for Dataform actions?

Configure slot reservations by defining reservation tiers and their associated Dataform actions within the `definitions/_reservations.js` file to manage compute resource allocation.

Do I need to define reservation tiers to manage BigQuery compute in Dataform?

Yes, defining reservation tiers in `definitions/_reservations.js` is required to map Dataform actions to reserved slots or on-demand pricing for effective compute cost management.