batch-processing
Installation
SKILL.md
Batch Processing
30-40% throughput improvement by batching database operations with graceful fallback.
When to Use This Skill
- Processing multiple related records (invoices, orders, events)
- Network latency is significant (cloud databases)
- Writes are independent (no inter-record dependencies)
- You can implement fallback for reliability
Core Concepts
Sequential processing is slow because each item requires multiple DB round trips. The solution is to collect all data first, then execute batch operations: