notion-load-scale
Installation
SKILL.md
Notion Load & Scale
Overview
Patterns for high-volume Notion API usage within the 3 requests/second rate limit. Covers parallel request orchestration with p-queue, worker queue architecture for background processing, full database pagination at scale (100K+ records), incremental sync using last_edited_time filters to avoid re-fetching unchanged data, and memory management for bulk operations using streaming and chunked processing.
Prerequisites
@notionhq/clientv2.x installed (npm install @notionhq/client)p-queuefor rate-limited concurrency (npm install p-queue)- Python:
notion-clientinstalled (pip install notion-client) NOTION_TOKENset (each token gets its own 3 req/s limit)- Test database in Notion (dedicated for load testing)
Instructions
Step 1: Parallel Requests Within Rate Limits
Notion enforces 3 requests/second per integration token. Use p-queue to maximize throughput without hitting 429 errors.
Related skills