maintainx-performance-tuning

Featured

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

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

# MaintainX Performance Tuning ## Overview Optimize MaintainX integration performance with caching, connection pooling, efficient pagination, and request deduplication. ## Prerequisites - MaintainX integration working - Node.js 18+ - Redis (recommended for production caching) - Performance baseline measurements ## Instructions ### Step 1: Connection Pooling with Keep-Alive ```typescript // src/performance/pooled-client.ts import axios from 'axios'; import http from 'node:http'; import https from 'node:https'; // Reuse TCP connections instead of opening new ones per request const httpAgent = new http.Agent({ keepAlive: true, maxSockets: 10 }); const httpsAgent = new https.Agent({ keepAlive: true, maxSockets: 10 }); const client = axios.create({ baseURL: 'https://api.getmaintainx.com/v1', headers: { Authorization: `Bearer ${process.env.MAINTAINX_API_KEY}`, 'Content-Type': 'application/json', }, httpAgent, httpsAgent, timeout: 30_000, }); // Benefit: Eliminates TCP handshake + TLS negotiation per request // Typical improvement: 100-200ms saved per request ``` ### Step 2: Multi-Level Caching ```typescript // src/performance/cache.ts interface CacheLayer<T> { get(key: string): Promise<T | undefined>; set(key: string, value: T, ttlMs: number): Promise<void>; } // L1: In-memory (fastest, per-process) class MemoryCache<T> implements CacheLayer<T> { private store = new Map<string, { value: T; expiresAt: number }>(); async get(key: string) { ...

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

maintainx-cost-tuning

Optimize MaintainX API usage for cost efficiency. Use when managing API costs, optimizing request volume, or implementing cost-effective integration patterns with MaintainX. Trigger with phrases like "maintainx cost", "maintainx billing", "reduce maintainx usage", "maintainx api costs", "maintainx optimization".

2,266 Updated today
jeremylongshore
AI & Automation Featured

maintainx-rate-limits

Implement MaintainX API rate limiting, pagination, and backoff patterns. Use when handling rate limit errors, implementing retry logic, or optimizing API request throughput for MaintainX. Trigger with phrases like "maintainx rate limit", "maintainx throttling", "maintainx 429", "maintainx retry", "maintainx backoff", "maintainx 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
AI & Automation Featured

maintainx-sdk-patterns

Learn MaintainX REST API patterns, pagination, filtering, and client architecture. Use when building robust API integrations, implementing pagination, or creating reusable SDK patterns for MaintainX. Trigger with phrases like "maintainx sdk", "maintainx api patterns", "maintainx pagination", "maintainx filtering", "maintainx client design".

2,266 Updated today
jeremylongshore
AI & Automation Featured

maintainx-data-handling

Data synchronization, ETL patterns, and data management for MaintainX. Use when syncing data between MaintainX and other systems, building ETL pipelines, or managing data consistency. Trigger with phrases like "maintainx data sync", "maintainx etl", "maintainx export", "maintainx data migration", "maintainx data pipeline".

2,266 Updated today
jeremylongshore