processing-api-batches

Featured

Optimize bulk API requests with batching, throttling, and parallel execution. Use when processing bulk API operations efficiently. Trigger with phrases like "process bulk requests", "batch API calls", or "handle batch operations".

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

# Processing API Batches ## Overview Optimize bulk API operations with batch request endpoints, parallel execution with concurrency control, partial failure handling, and progress tracking. Implement batch processing patterns that accept arrays of operations in a single request, execute them efficiently with database bulk operations, and return per-item results with individual success/failure status. ## Prerequisites - Web framework capable of handling large request bodies (configure body size limits: 10MB+ for batch payloads) - Database with bulk operation support (bulk insert, bulk update, transactions) - Queue system for async batch processing: Bull/BullMQ (Node.js), Celery (Python), or SQS - Progress tracking store (Redis) for long-running batch status polling - Rate limiting aware of batch operations (count individual operations, not just requests) ## Instructions 1. Examine existing API endpoints using Read and Grep to identify operations frequently called in loops by consumers, which are candidates for batch equivalents. 2. Design the batch request format: accept an array of operations in the request body, each with an optional client-provided `id` for result correlation, e.g., `POST /batch` with `{operations: [{method: "POST", path: "/users", body: {...}, id: "op1"}]}`. 3. Implement synchronous batch processing for small batches (< 100 items): validate all items, execute in a database transaction, and return per-item results with `{id, status, result|error}` for...

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

clade-webhooks-events

Use Anthropic Message Batches for async bulk processing and event handling. Use when working with webhooks-events patterns. Trigger with "anthropic batches", "claude batch api", "anthropic async", "bulk claude processing", "anthropic webhook".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-performance-tuning

Optimize HubSpot API performance with caching, batching, and search optimization. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for HubSpot CRM operations. Trigger with phrases like "hubspot performance", "optimize hubspot", "hubspot slow", "hubspot caching", "hubspot batch", "hubspot latency".

2,266 Updated today
jeremylongshore
AI & Automation Listed

ai-batch-processing

Build batch processing systems for AI workloads. TRIGGERS - Use when user needs help with ai-batch-processing related tasks.

3 Updated 1 months ago
Winbda
AI & Automation Listed

ai-batch-processing

Build batch processing systems for AI workloads. TRIGGERS - Use when user needs help with ai-batch-processing related tasks.

9 Updated 3 months ago
lionelsimai
AI & Automation Solid

batch-request-handler

Manage batch request handler operations. Auto-activating skill for API Integration. Triggers on: batch request handler, batch request handler Part of the API Integration skill category. Use when working with batch request handler functionality. Trigger with phrases like "batch request handler", "batch handler", "batch".

2,266 Updated today
jeremylongshore