attio-performance-tuning

Featured

Optimize Attio API performance -- caching, batch queries, pagination strategies, connection pooling, and latency reduction. Trigger: "attio performance", "optimize attio", "attio slow", "attio latency", "attio caching", "attio batch 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

# Attio Performance Tuning ## Overview Attio's REST API returns JSON over HTTPS. Performance optimization focuses on reducing request count (batching, caching), maximizing throughput (connection reuse, pagination), and minimizing latency (selective field fetching, parallel queries). ## Key Performance Facts | Factor | Detail | |--------|--------| | Rate limit | Sliding 10-second window, shared across all tokens | | Pagination default | `limit: 500` (max per page) | | API base | `https://api.attio.com/v2` | | Auth overhead | Bearer token in header (minimal) | | Response format | JSON only (no binary/protobuf) | ## Instructions ### Strategy 1: Response Caching with LRU Cache read-heavy data (object schemas, attribute definitions) that rarely change: ```typescript import { LRUCache } from "lru-cache"; const cache = new LRUCache<string, unknown>({ max: 500, // Max entries ttl: 5 * 60 * 1000, // 5 minutes for schema data }); async function cachedGet<T>( client: AttioClient, path: string, ttlMs?: number ): Promise<T> { const cached = cache.get(path) as T | undefined; if (cached) return cached; const result = await client.get<T>(path); cache.set(path, result, { ttl: ttlMs }); return result; } // Schema data: cache for 30 minutes (rarely changes) const objects = await cachedGet(client, "/objects", 30 * 60 * 1000); const attrs = await cachedGet(client, "/objects/people/attributes", 30 * 60 * 1000); // Record data: cache for 1-5 minutes (...

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

apollo-performance-tuning

Optimize Apollo.io API performance. Use when improving API response times, reducing latency, or optimizing bulk operations. Trigger with phrases like "apollo performance", "optimize apollo", "apollo slow", "apollo latency", "speed up apollo".

2,266 Updated today
jeremylongshore
AI & Automation Featured

attio-cost-tuning

Optimize Attio API usage costs -- reduce request volume, select the right plan, monitor usage, and implement budget alerts. Trigger: "attio cost", "attio billing", "reduce attio costs", "attio pricing", "attio expensive", "attio budget", "attio usage".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clickup-performance-tuning

Optimize ClickUp API v2 performance with caching, pagination, connection pooling, and request batching patterns. Trigger: "clickup performance", "optimize clickup", "clickup latency", "clickup caching", "clickup slow", "clickup batch requests", "clickup pagination".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-performance-tuning

Optimize Klaviyo API performance with caching, batching, and pagination tuning. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Klaviyo integrations. Trigger with phrases like "klaviyo performance", "optimize klaviyo", "klaviyo latency", "klaviyo caching", "klaviyo slow", "klaviyo batch".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-performance-tuning

Optimize SalesLoft API performance with caching, pagination strategies, and connection pooling. Use when experiencing slow API responses, reducing latency for bulk operations, or optimizing cadence sync throughput. Trigger: "salesloft performance", "optimize salesloft", "salesloft slow", "salesloft caching".

2,266 Updated today
jeremylongshore