algolia-rate-limits

Featured

Handle Algolia rate limits and throttling: per-key limits, indexing queue limits, 429 responses, and backoff strategies. Trigger: "algolia rate limit", "algolia throttling", "algolia 429", "algolia retry", "algolia backoff", "algolia too many requests".

AI & Automation 2,926 stars 433 forks Updated yesterday 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

# Algolia Rate Limits ## Overview Algolia has two distinct rate limiting mechanisms: **per-API-key limits** (configurable, returns HTTP 429) and **server-side indexing limits** (protects cluster stability, returns HTTP 429 with specific messages). The `algoliasearch` v5 client has built-in retry with backoff, but you need to handle sustained rate limiting yourself. ## How Algolia Rate Limiting Works ### Per-API-Key Rate Limits | Setting | Default | Where to Change | |---------|---------|-----------------| | `maxQueriesPerIPPerHour` | 0 (unlimited) | Dashboard > API Keys > Edit | | `maxHitsPerQuery` | 1000 | Dashboard > API Keys > Edit | | Search requests | Plan-dependent | Upgrade plan | ### Server-Side Indexing Limits When the indexing queue is overloaded, Algolia returns 429 with these messages: | Message | Meaning | Action | |---------|---------|--------| | `Too many jobs` | Queue full | Reduce batch frequency | | `Job queue too large` | Too much pending work | Wait for queue to drain | | `Old jobs on the queue` | Stuck tasks | Check dashboard > Indices > Operations | | `Disk almost full` | Record quota near limit | Delete unused records or upgrade | ## Instructions ### Step 1: Configure Per-Key Rate Limits ```typescript import { algoliasearch } from 'algoliasearch'; const client = algoliasearch(process.env.ALGOLIA_APP_ID!, process.env.ALGOLIA_ADMIN_KEY!); // Create a rate-limited API key for frontend use const { key } = await client.addApiKey({ apiKey: { ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category