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

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