customerio-performance-tuning

Featured

Optimize Customer.io API performance for high throughput. Use when improving response times, implementing connection pooling, batching, caching, or regional routing. Trigger: "customer.io performance", "optimize customer.io", "customer.io latency", "customer.io connection pooling".

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

# Customer.io Performance Tuning ## Overview Optimize Customer.io API performance for high-volume integrations: HTTP connection pooling, identify deduplication caching, event batching with flush control, fire-and-forget async tracking, and regional routing. ## Prerequisites - Working Customer.io integration - Understanding of your traffic patterns and volume - Monitoring to measure improvement (see `customerio-observability`) ## Performance Targets | Operation | Baseline | Optimized | Technique | |-----------|----------|-----------|-----------| | Single identify | ~200ms | ~80ms | Connection pooling | | Single track | ~200ms | ~80ms | Connection pooling | | 100 events batch | ~20s serial | ~500ms | Parallel batching | | Duplicate identify | ~200ms | ~0ms | Dedup cache | | Non-critical track | Blocking | Non-blocking | Fire-and-forget | ## Instructions ### Step 1: HTTP Connection Pooling ```typescript // lib/customerio-pooled.ts import { TrackClient, RegionUS } from "customerio-node"; import https from "https"; // The customerio-node SDK creates new connections by default. // Reuse connections with a keep-alive agent. const agent = new https.Agent({ keepAlive: true, maxSockets: 25, // Max concurrent connections maxFreeSockets: 10, // Keep idle connections open timeout: 30000, // 30s socket timeout keepAliveMsecs: 15000, // TCP keep-alive probe interval }); // Apply to the SDK by creating a singleton with the agent // Note: customerio-node ...

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

customerio-cost-tuning

Optimize Customer.io costs and usage efficiency. Use when reducing profile count, cleaning inactive users, deduplicating events, or right-sizing your plan. Trigger: "customer.io cost", "reduce customer.io spend", "customer.io billing", "customer.io pricing", "customer.io cleanup".

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
AI & Automation Featured

customerio-load-scale

Implement Customer.io load testing and horizontal scaling. Use when preparing for high traffic, running load tests, or designing queue-based architectures for scale. Trigger: "customer.io load test", "customer.io scale", "customer.io high volume", "customer.io k6", "customer.io performance test".

2,266 Updated today
jeremylongshore
AI & Automation Featured

maintainx-performance-tuning

Optimize MaintainX API integration performance. Use when experiencing slow API responses, optimizing data fetching, or improving integration throughput with MaintainX. Trigger with phrases like "maintainx performance", "maintainx slow", "optimize maintainx", "maintainx caching", "maintainx faster".

2,266 Updated today
jeremylongshore
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