algolia-performance-tuning

Featured

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".

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 Performance Tuning ## Overview Algolia's edge infrastructure typically delivers search in < 50ms globally. When performance degrades, the causes are usually: oversized records, too many searchable attributes, unoptimized faceting, or missing client-side caching. This skill covers server-side and client-side optimizations. ## Performance Baselines | Metric | Good | Warning | Action Needed | |--------|------|---------|---------------| | Search latency (P50) | < 20ms | 20-100ms | > 100ms | | Search latency (P95) | < 50ms | 50-200ms | > 200ms | | Indexing time per 1K records | < 2s | 2-10s | > 10s | | Record size (avg) | < 5KB | 5-50KB | > 50KB | ## Instructions ### Step 1: Optimize Record Size ```typescript import { algoliasearch } from 'algoliasearch'; const client = algoliasearch(process.env.ALGOLIA_APP_ID!, process.env.ALGOLIA_ADMIN_KEY!); // BAD: Full record with unnecessary data const badRecord = { objectID: '1', name: 'Running Shoes', full_html_description: '<div>...5000 chars of HTML...</div>', // Too big internal_notes: 'Supplier ref: ABC-123', // Not searchable all_reviews: [/* 200 reviews */], // Huge array }; // GOOD: Lean record for search const goodRecord = { objectID: '1', name: 'Running Shoes', description: 'Lightweight running shoes with cushioned sole', // Plain text, truncated category: 'shoes', brand: 'Nike', price: 129.99, rating: 4.5, review_count: 200, ...

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-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-data-handling

Implement Algolia data handling: record transforms, PII filtering before indexing, data retention, GDPR/CCPA compliance with Algolia's deleteByQuery and Insights deletion. Trigger: "algolia data", "algolia PII", "algolia GDPR", "algolia data retention", "algolia privacy", "algolia CCPA", "algolia data sync".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-observability

Set up observability for Algolia: Prometheus metrics for search latency/errors, OpenTelemetry tracing, structured logging, and Grafana dashboards. Trigger: "algolia monitoring", "algolia metrics", "algolia observability", "monitor algolia", "algolia alerts", "algolia tracing", "algolia dashboard".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-prod-checklist

Execute Algolia production readiness checklist: index settings, key security, replica configuration, monitoring, and rollback procedures. Trigger: "algolia production", "deploy algolia", "algolia go-live", "algolia launch checklist", "algolia production ready".

2,266 Updated today
jeremylongshore