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,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

# 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
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

algolia-common-errors

Diagnose and fix the top Algolia API errors: 400, 403, 404, 429, ApiError, RetryError, and indexing failures. Trigger: "algolia error", "fix algolia", "algolia not working", "debug algolia", "algolia 429", "algolia 403".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-cost-tuning

Optimize Algolia costs: understand search request vs record pricing, reduce operations with batching and caching, monitor usage via Analytics API. Trigger: "algolia cost", "algolia billing", "reduce algolia costs", "algolia pricing", "algolia expensive", "algolia budget".

2,266 Updated today
jeremylongshore
AI & Automation Listed

algolia-cost-tuning

Optimize Algolia costs: understand search request vs record pricing, reduce operations with batching and caching, monitor usage via Analytics API. Trigger: "algolia cost", "algolia billing", "reduce algolia costs", "algolia pricing", "algolia expensive", "algolia budget".

45 Updated 6 days ago
ComeOnOliver
AI & Automation Featured

algolia-security-basics

Apply Algolia security best practices: API key scoping, secured API keys, frontend vs backend key separation, and key rotation. Trigger: "algolia security", "algolia API key security", "secure algolia", "algolia secrets", "algolia key rotation", "algolia secured key".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-performance-tuning

Optimize Algolia search performance: record size, searchable attributes, replica strategy, response caching, and query-time parameter tuning. Trigger: "algolia performance", "optimize algolia", "algolia latency", "algolia slow", "algolia caching", "algolia response time".

2,266 Updated today
jeremylongshore