salesloft-performance-tuning

Featured

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

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

# SalesLoft Performance Tuning ## Overview Optimize SalesLoft REST API v2 performance. Key bottlenecks: deep pagination (cost multiplier), no batch endpoints, and per-minute rate limits. Solutions: caching, incremental sync, and pagination-aware request planning. ## Latency Benchmarks | Operation | Typical | With Caching | |-----------|---------|-------------| | GET /me.json | 80ms | N/A (auth) | | GET /people.json (page 1) | 120ms | 1ms (cached) | | POST /people.json | 200ms | N/A (write) | | GET /activities/emails.json | 150ms | 1ms (cached) | | Full sync (10k people) | ~20min | ~5min (incremental) | ## Instructions ### Step 1: Response Caching ```typescript import { LRUCache } from 'lru-cache'; const cache = new LRUCache<string, any>({ max: 5000, ttl: 60_000 }); async function cachedGet<T>(endpoint: string, params?: Record<string, any>): Promise<T> { const key = `${endpoint}:${JSON.stringify(params || {})}`; const hit = cache.get(key); if (hit) return hit as T; const { data } = await api.get(endpoint, { params }); cache.set(key, data); return data; } // Cache people lookups (frequent during cadence enrollment) const person = await cachedGet('/people.json', { email_addresses: ['alex@co.com'] }); ``` ### Step 2: Incremental Sync with updated_at ```typescript // Only fetch records changed since last sync async function incrementalSync(lastSyncTime: string) { const updated: any[] = []; let page = 1; while (true) { const { data } = await api....

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

salesloft-cost-tuning

Optimize SalesLoft API costs by reducing request volume and deep pagination. Use when analyzing API usage, reducing rate limit consumption, or planning capacity for bulk operations. Trigger: "salesloft cost", "salesloft billing", "reduce salesloft API usage".

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

salesforce-performance-tuning

Optimize Salesforce API performance with SOQL tuning, Composite API batching, and caching. Use when experiencing slow API responses, optimizing SOQL queries, or reducing API call count for Salesforce integrations. Trigger with phrases like "salesforce performance", "optimize salesforce", "salesforce latency", "salesforce caching", "salesforce slow", "SOQL optimization".

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

attio-performance-tuning

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

2,266 Updated today
jeremylongshore