databricks-rate-limits

Featured

Implement Databricks API rate limiting, backoff, and idempotency patterns. Use when handling rate limit errors, implementing retry logic, or optimizing API request throughput for Databricks. Trigger with phrases like "databricks rate limit", "databricks throttling", "databricks 429", "databricks retry", "databricks backoff".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Databricks Rate Limits ## Overview Handle Databricks API rate limits with exponential backoff, token-bucket queuing, and idempotent job submissions. The API returns HTTP 429 with a `Retry-After` header when limits are exceeded. The SDK has built-in retries for transient errors, but custom logic is needed for bulk operations. ## Prerequisites - `databricks-sdk` installed - Understanding of async patterns for batch operations ## Instructions ### Step 1: Understand Rate Limit Tiers Databricks enforces per-endpoint, per-workspace rate limits. | API Category | Approx. Limit | Notes | |-------------|---------------|-------| | Jobs API (create/run) | ~10 req/sec | Per workspace | | Jobs API (list/get) | ~30 req/sec | Read endpoints more generous | | Clusters API | ~10 req/sec | Create/start are expensive | | DBFS / Files API | ~10 req/sec | Uploads have 1MB/5MB size limits | | SQL Statement API | ~10 concurrent | Concurrent execution limit | | Unity Catalog | ~100 req/min | Permission checks add up fast | | Model Serving | Varies | ITPM/OTPM/QPH limits per endpoint | ```python from databricks.sdk.errors import TooManyRequests, ResourceConflict w = WorkspaceClient() try: w.jobs.run_now(job_id=123) except TooManyRequests as e: print(f"Rate limited. Retry after: {e.retry_after_secs}s") except ResourceConflict as e: print(f"Conflict (409): {e.message}") # Job already running ``` ### Step 2: Exponential Backoff with Jitter ```python import time import random from f...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

bamboohr-rate-limits

Implement BambooHR rate limiting, backoff, and request optimization. Use when handling 429/503 rate limit errors, implementing retry logic, or optimizing API request throughput for BambooHR. Trigger with phrases like "bamboohr rate limit", "bamboohr throttling", "bamboohr 429", "bamboohr 503", "bamboohr retry", "bamboohr backoff".

2,266 Updated today
jeremylongshore
AI & Automation Featured

apify-rate-limits

Handle Apify API rate limits with proper backoff and request queuing. Use when hitting 429 errors, optimizing API request throughput, or implementing rate-aware client wrappers. Trigger: "apify rate limit", "apify throttling", "apify 429", "apify retry", "apify backoff", "too many requests apify".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klingai-rate-limits

Handle Kling AI API rate limits with backoff and queuing strategies. Use when hitting 429 errors or planning high-volume workflows. Trigger with phrases like 'klingai rate limit', 'kling ai 429', 'klingai throttle', 'kling api limits'.

2,266 Updated today
jeremylongshore
AI & Automation Featured

customerio-rate-limits

Implement Customer.io rate limiting and backoff. Use when handling high-volume API calls, implementing retry logic, or hitting 429 errors. Trigger: "customer.io rate limit", "customer.io throttle", "customer.io 429", "customer.io backoff", "customer.io too many requests".

2,266 Updated today
jeremylongshore
AI & Automation Featured

instantly-rate-limits

Implement Instantly.ai rate limiting, backoff, and request throttling patterns. Use when handling 429 errors, implementing retry logic, or building high-throughput Instantly integrations. Trigger with phrases like "instantly rate limit", "instantly 429", "instantly throttle", "instantly backoff", "instantly retry".

2,266 Updated today
jeremylongshore