bamboohr-performance-tuning

Featured

Optimize BambooHR API performance with caching, batch reports, incremental sync, and connection pooling. Use when experiencing slow API responses, implementing caching, or optimizing sync throughput. Trigger with phrases like "bamboohr performance", "optimize bamboohr", "bamboohr latency", "bamboohr caching", "bamboohr slow", "bamboohr batch".

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

# BambooHR Performance Tuning ## Overview Optimize BambooHR API performance through request reduction, caching, incremental sync, and connection pooling. The biggest wins come from eliminating N+1 query patterns using custom reports and the changed-since endpoint. ## Prerequisites - BambooHR API client configured - Redis or in-memory cache available (optional) - Performance monitoring in place ## Instructions ### Step 1: Eliminate N+1 Queries with Custom Reports The single biggest performance improvement: use `POST /reports/custom` instead of individual employee GETs. ```typescript // BAD: 501 API calls for 500 employees const dir = await client.getDirectory(); // 1 call for (const emp of dir.employees) { await client.getEmployee(emp.id, ['salary', 'hireDate']); // 500 calls } // GOOD: 1 API call for all employees with all needed fields const report = await client.customReport([ 'firstName', 'lastName', 'department', 'jobTitle', 'hireDate', 'workEmail', 'status', 'location', 'supervisor', 'employeeNumber', ]); // 1 call, returns all employees with all fields ``` **Performance impact:** 500x reduction in API calls. Custom reports return all active employees in one request. ### Step 2: Incremental Sync with Changed-Since ```typescript import { readFileSync, writeFileSync } from 'fs'; const LAST_SYNC_FILE = '.bamboohr-last-sync'; async function incrementalSync(client: BambooHRClient): Promise<string[]> { // Read last sync timestamp ...

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

bamboohr-cost-tuning

Optimize BambooHR integration costs through request reduction, caching, and usage monitoring. Use when analyzing API usage patterns, reducing unnecessary calls, or implementing request budgets. Trigger with phrases like "bamboohr cost", "bamboohr usage", "reduce bamboohr calls", "bamboohr optimization", "bamboohr budget".

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

hubspot-performance-tuning

Optimize HubSpot API performance with caching, batching, and search optimization. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for HubSpot CRM operations. Trigger with phrases like "hubspot performance", "optimize hubspot", "hubspot slow", "hubspot caching", "hubspot batch", "hubspot latency".

2,266 Updated today
jeremylongshore
AI & Automation Featured

bamboohr-core-workflow-a

Execute BambooHR primary workflows: employee CRUD, directory sync, and custom reports. Use when managing employees, syncing employee data to external systems, or building HR data pipelines with BambooHR. Trigger with phrases like "bamboohr employees", "bamboohr employee management", "sync bamboohr directory", "bamboohr custom report", "add employee bamboohr".

2,266 Updated today
jeremylongshore
AI & Automation Featured

bamboohr-rate-limits

Implement BambooHR rate limiting, backoff, and request optimization. Use when handling 429/503 rate limit errors, implementing retry logic, or optimizing API request throughput for BambooHR. Trigger with phrases like "bamboohr rate limit", "bamboohr throttling", "bamboohr 429", "bamboohr 503", "bamboohr retry", "bamboohr backoff".

2,266 Updated today
jeremylongshore