[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F9E77T05DX2Y5631M6DECA":3,"skill-same:01M6F9E77T05DX2Y5631M6DECA":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6F9E77T05DX2Y5631M6DECA","customerio-load-scale",null,"Implement Customer.io load testing and horizontal scaling.\nUse when preparing for high traffic, running load tests,\nor designing queue-based architectures for scale.\nTrigger: \"customer.io load test\", \"customer.io scale\",\n\"customer.io high volume\", \"customer.io k6\", \"customer.io performance test\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcustomerio-load-scale\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"customerio load scale","scale","read","customer-io","architectures","io","scaling","volume","edit","write","testing","Bash","load-testing","k6","kubectl","code","load testing","customer","performance","openclaw","2026-11-10 10:12:30",false,"---\nname: customerio-load-scale\ndescription: |\n  Implement Customer.io load testing and horizontal scaling.\n  Use when preparing for high traffic, running load tests,\n  or designing queue-based architectures for scale.\n  Trigger: \"customer.io load test\", \"customer.io scale\",\n  \"customer.io high volume\", \"customer.io k6\", \"customer.io performance test\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Bash(npx:*), Bash(kubectl:*), Glob, Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, customer-io, load-testing, scaling, performance]\n\n---\n# Customer.io Load & Scale\n\n## Overview\n\nLoad testing and scaling strategies for high-volume Customer.io integrations: k6 load test scripts, scaling architecture selection based on volume tier, Kubernetes HPA autoscaling, message queue buffering, and rate-limit-aware batch processing.\n\n## Scaling Architecture by Volume\n\n| Daily Events | Architecture | Key Components |\n|-------------|--------------|----------------|\n| \u003C 100K | Direct API | Singleton client, retry, connection pooling |\n| 100K - 1M | Batched API | Event queue, batch processor, rate limiter |\n| 1M - 10M | Queue-backed | Redis\u002FKafka queue, worker pool, backpressure |\n| > 10M | Distributed | Multiple workspaces, sharded queues, regional routing |\n\nCustomer.io rate limit is ~100 req\u002Fsec per workspace. Plan your architecture around this.\n\n## Instructions\n\n### Step 1: k6 Load Test Script\n\n```javascript\n\u002F\u002F load-tests\u002Fcustomerio.js\n\u002F\u002F Run: k6 run --vus 10 --duration 60s load-tests\u002Fcustomerio.js\nimport http from \"k6\u002Fhttp\";\nimport { check, sleep } from \"k6\";\nimport { Counter, Trend } from \"k6\u002Fmetrics\";\n\nconst SITE_ID = __ENV.CUSTOMERIO_SITE_ID;\nconst API_KEY = __ENV.CUSTOMERIO_TRACK_API_KEY;\nconst BASE_URL = \"https:\u002F\u002Ftrack.customer.io\u002Fapi\u002Fv1\";\nconst AUTH = `${SITE_ID}:${API_KEY}`;\n\nconst identifyLatency = new Trend(\"cio_identify_latency\");\nconst trackLatency = new Trend(\"cio_track_latency\");\nconst errors = new Counter(\"cio_errors\");\n\nexport const options = {\n  scenarios: {\n    identify_load: {\n      executor: \"ramping-arrival-rate\",\n      startRate: 10,\n      timeUnit: \"1s\",\n      preAllocatedVUs: 20,\n      maxVUs: 50,\n      stages: [\n        { duration: \"30s\", target: 50 },   \u002F\u002F Ramp to 50\u002Fsec\n        { duration: \"60s\", target: 80 },   \u002F\u002F Hold at 80\u002Fsec (near limit)\n        { duration: \"30s\", target: 10 },   \u002F\u002F Cool down\n      ],\n    },\n  },\n  thresholds: {\n    cio_identify_latency: [\"p(95)\u003C500\", \"p(99)\u003C2000\"],\n    cio_track_latency: [\"p(95)\u003C500\", \"p(99)\u003C2000\"],\n    cio_errors: [\"count\u003C50\"],\n  },\n};\n\nexport default function () {\n  const userId = `k6-load-${__VU}-${__ITER}`;\n  const headers = {\n    \"Content-Type\": \"application\u002Fjson\",\n    Authorization: `Basic ${encoding.b64encode(AUTH)}`,\n  };\n\n  \u002F\u002F Identify\n  const identifyRes = http.put(\n    `${BASE_URL}\u002Fcustomers\u002F${userId}`,\n    JSON.stringify({\n      email: `${userId}@loadtest.example.com`,\n      _load_test: true,\n      created_at: Math.floor(Date.now() \u002F 1000),\n    }),\n    { headers }\n  );\n\n  identifyLatency.add(identifyRes.timings.duration);\n  check(identifyRes, { \"identify 200\": (r) => r.status === 200 }) || errors.add(1);\n\n  \u002F\u002F Track event\n  const trackRes = http.post(\n    `${BASE_URL}\u002Fcustomers\u002F${userId}\u002Fevents`,\n    JSON.stringify({\n      name: \"load_test_event\",\n      data: { iteration: __ITER, vu: __VU },\n    }),\n    { headers }\n  );\n\n  trackLatency.add(trackRes.timings.duration);\n  check(trackRes, { \"track 200\": (r) => r.status === 200 }) || errors.add(1);\n\n  sleep(0.1); \u002F\u002F Small delay between iterations\n}\n\n\u002F\u002F Cleanup function — suppress test users after test\nexport function teardown() {\n  console.log(\"Load test complete. Clean up k6-load-* users in CIO dashboard.\");\n}\n```\n\nRun:\n```bash\nk6 run --env CUSTOMERIO_SITE_ID=\"$CUSTOMERIO_SITE_ID\" \\\n       --env CUSTOMERIO_TRACK_API_KEY=\"$CUSTOMERIO_TRACK_API_KEY\" \\\n       load-tests\u002Fcustomerio.js\n```\n\n### Step 2: Queue-Based Architecture\n\n```typescript\n\u002F\u002F services\u002Fcio-queue-worker.ts\nimport { Queue, Worker, QueueEvents } from \"bullmq\";\nimport { TrackClient, RegionUS } from \"customerio-node\";\nimport Bottleneck from \"bottleneck\";\n\nconst REDIS_URL = process.env.REDIS_URL ?? \"redis:\u002F\u002Flocalhost:6379\";\n\n\u002F\u002F Rate limiter: 80 requests per second (leave headroom under 100\u002Fsec limit)\nconst limiter = new Bottleneck({\n  maxConcurrent: 15,\n  reservoir: 80,\n  reservoirRefreshAmount: 80,\n  reservoirRefreshInterval: 1000,\n});\n\nconst eventQueue = new Queue(\"cio:events\", {\n  connection: { url: REDIS_URL },\n  defaultJobOptions: {\n    attempts: 5,\n    backoff: { type: \"exponential\", delay: 2000 },\n    removeOnComplete: { count: 10000 },\n    removeOnFail: { count: 50000 },\n  },\n});\n\n\u002F\u002F Producer — your application enqueues events here\nexport async function enqueueEvent(\n  type: \"identify\" | \"track\",\n  userId: string,\n  data: Record\u003Cstring, any>\n): Promise\u003Cvoid> {\n  await eventQueue.add(type, { userId, data, enqueuedAt: Date.now() });\n}\n\n\u002F\u002F Consumer — workers process events with rate limiting\nexport function startEventWorkers(concurrency = 10): void {\n  const cio = new TrackClient(\n    process.env.CUSTOMERIO_SITE_ID!,\n    process.env.CUSTOMERIO_TRACK_API_KEY!,\n    { region: RegionUS }\n  );\n\n  const worker = new Worker(\n    \"cio:events\",\n    async (job) => {\n      await limiter.schedule(async () => {\n        if (job.name === \"identify\") {\n          await cio.identify(job.data.userId, job.data.data);\n        } else {\n          await cio.track(job.data.userId, job.data.data);\n        }\n      });\n    },\n    {\n      connection: { url: REDIS_URL },\n      concurrency,\n    }\n  );\n\n  worker.on(\"failed\", (job, err) => {\n    console.error(`CIO event failed: ${job?.id} — ${err.message}`);\n  });\n\n  \u002F\u002F Monitor queue health\n  const events = new QueueEvents(\"cio:events\", {\n    connection: { url: REDIS_URL },\n  });\n\n  setInterval(async () => {\n    const counts = await eventQueue.getJobCounts();\n    console.log(\n      `CIO queue: waiting=${counts.waiting} active=${counts.active} ` +\n      `failed=${counts.failed} completed=${counts.completed}`\n    );\n  }, 30000);\n}\n```\n\n### Step 3: Kubernetes HPA Autoscaling\n\n```yaml\n# k8s\u002Fhpa.yaml\napiVersion: autoscaling\u002Fv2\nkind: HorizontalPodAutoscaler\nmetadata:\n  name: cio-worker-hpa\nspec:\n  scaleTargetRef:\n    apiVersion: apps\u002Fv1\n    kind: Deployment\n    name: cio-event-worker\n  minReplicas: 2\n  maxReplicas: 20\n  metrics:\n    - type: Resource\n      resource:\n        name: cpu\n        target:\n          type: Utilization\n          averageUtilization: 70\n    - type: Pods\n      pods:\n        metric:\n          name: cio_queue_depth\n        target:\n          type: AverageValue\n          averageValue: \"500\"\n  behavior:\n    scaleUp:\n      stabilizationWindowSeconds: 60\n      policies:\n        - type: Pods\n          value: 4\n          periodSeconds: 60\n    scaleDown:\n      stabilizationWindowSeconds: 300\n      policies:\n        - type: Pods\n          value: 2\n          periodSeconds: 120\n```\n\n### Step 4: Batch Sender for Bulk Operations\n\n```typescript\n\u002F\u002F lib\u002Fcio-batch-sender.ts\nimport { TrackClient, RegionUS } from \"customerio-node\";\nimport Bottleneck from \"bottleneck\";\n\nexport async function batchSend(\n  operations: Array\u003C{\n    type: \"identify\" | \"track\";\n    userId: string;\n    data: Record\u003Cstring, any>;\n  }>,\n  ratePerSec = 80\n): Promise\u003C{ succeeded: number; failed: number }> {\n  const cio = new TrackClient(\n    process.env.CUSTOMERIO_SITE_ID!,\n    process.env.CUSTOMERIO_TRACK_API_KEY!,\n    { region: RegionUS }\n  );\n\n  const limiter = new Bottleneck({\n    maxConcurrent: 15,\n    reservoir: ratePerSec,\n    reservoirRefreshAmount: ratePerSec,\n    reservoirRefreshInterval: 1000,\n  });\n\n  let succeeded = 0;\n  let failed = 0;\n\n  const promises = operations.map((op, i) =>\n    limiter.schedule(async () => {\n      try {\n        if (op.type === \"identify\") {\n          await cio.identify(op.userId, op.data);\n        } else {\n          await cio.track(op.userId, op.data);\n        }\n        succeeded++;\n      } catch {\n        failed++;\n      }\n      if ((succeeded + failed) % 1000 === 0) {\n        console.log(`Progress: ${succeeded + failed}\u002F${operations.length}`);\n      }\n    })\n  );\n\n  await Promise.all(promises);\n  return { succeeded, failed };\n}\n```\n\nInstall: `npm install bottleneck bullmq`\n\n## Load Test Checklist\n\n- [ ] Test against staging workspace (NEVER production)\n- [ ] Start at 10% of target rate, ramp up gradually\n- [ ] Monitor 429 error rate during test\n- [ ] Check Customer.io dashboard for processing lag\n- [ ] Verify cleanup of test users after load test\n- [ ] Document baseline latency and throughput numbers\n- [ ] Set up alerts before running at production scale\n\n## Error Handling\n\n| Issue | Solution |\n|-------|----------|\n| 429 during load test | Reduce rate, check limiter config |\n| Queue backlog growing | Scale workers, increase concurrency |\n| Memory pressure | Limit batch and queue sizes, enable GC |\n| k6 VU exhaustion | Increase `preAllocatedVUs` and `maxVUs` |\n\n## Resources\n\n- [k6 Documentation](https:\u002F\u002Fk6.io\u002Fdocs\u002F)\n- [Bottleneck npm](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fbottleneck)\n- [BullMQ Documentation](https:\u002F\u002Fbullmq.io\u002F)\n- [Kubernetes HPA](https:\u002F\u002Fkubernetes.io\u002Fdocs\u002Ftasks\u002Frun-application\u002Fhorizontal-pod-autoscale\u002F)\n\n## Next Steps\n\nAfter load testing, proceed to `customerio-known-pitfalls` for anti-patterns to avoid.\n\n","# Customer.io Load & Scale\n\n## Overview\n\nLoad testing and scaling strategies for high-volume Customer.io integrations: k6 load test scripts, scaling architecture selection based on volume tier, Kubernetes HPA autoscaling, message queue buffering, and rate-limit-aware batch processing.\n\n## Scaling Architecture by Volume\n\n| Daily Events | Architecture | Key Components |\n|-------------|--------------|----------------|\n| \u003C 100K | Direct API | Singleton client, retry, connection pooling |\n| 100K - 1M | Batched API | Event queue, batch processor, rate limiter |\n| 1M - 10M | Queue-backed | Redis\u002FKafka queue, worker pool, backpressure |\n| > 10M | Distributed | Multiple workspaces, sharded queues, regional routing |\n\nCustomer.io rate limit is ~100 req\u002Fsec per workspace. Plan your architecture around this.\n\n## Instructions\n\n### Step 1: k6 Load Test Script\n\n```javascript\n\u002F\u002F load-tests\u002Fcustomerio.js\n\u002F\u002F Run: k6 run --vus 10 --duration 60s load-tests\u002Fcustomerio.js\nimport http from \"k6\u002Fhttp\";\nimport { check, sleep } from \"k6\";\nimport { Counter, Trend } from \"k6\u002Fmetrics\";\n\nconst SITE_ID = __ENV.CUSTOMERIO_SITE_ID;\nconst API_KEY = __ENV.CUSTOMERIO_TRACK_API_KEY;\nconst BASE_URL = \"https:\u002F\u002Ftrack.customer.io\u002Fapi\u002Fv1\";\nconst AUTH = `${SITE_ID}:${API_KEY}`;\n\nconst identifyLatency = new Trend(\"cio_identify_latency\");\nconst trackLatency = new Trend(\"cio_track_latency\");\nconst errors = new Counter(\"cio_errors\");\n\nexport const options = {\n  scenarios: {\n    identify_load: {\n      executor: \"ramping-arrival-rate\",\n      startRate: 10,\n      timeUnit: \"1s\",\n      preAllocatedVUs: 20,\n      maxVUs: 50,\n      stages: [\n        { duration: \"30s\", target: 50 },   \u002F\u002F Ramp to 50\u002Fsec\n        { duration: \"60s\", target: 80 },   \u002F\u002F Hold at 80\u002Fsec (near limit)\n        { duration: \"30s\", target: 10 },   \u002F\u002F Cool down\n      ],\n    },\n  },\n  thresholds: {\n    cio_identify_latency: [\"p(95)\u003C500\", \"p(99)\u003C2000\"],\n    cio_track_latency: [\"p(95)\u003C500\", \"p(99)\u003C2000\"],\n    cio_errors: [\"count\u003C50\"],\n  },\n};\n\nexport default function () {\n  const userId = `k6-load-${__VU}-${__ITER}`;\n  const headers = {\n    \"Content-Type\": \"application\u002Fjson\",\n    Authorization: `Basic ${encoding.b64encode(AUTH)}`,\n  };\n\n  \u002F\u002F Identify\n  const identifyRes = http.put(\n    `${BASE_URL}\u002Fcustomers\u002F${userId}`,\n    JSON.stringify({\n      email: `${userId}@loadtest.example.com`,\n      _load_test: true,\n      created_at: Math.floor(Date.now() \u002F 1000),\n    }),\n    { headers }\n  );\n\n  identifyLatency.add(identifyRes.timings.duration);\n  check(identifyRes, { \"identify 200\": (r) => r.status === 200 }) || errors.add(1);\n\n  \u002F\u002F Track event\n  const trackRes = http.post(\n    `${BASE_URL}\u002Fcustomers\u002F${userId}\u002Fevents`,\n    JSON.stringify({\n      name: \"load_test_event\",\n      data: { iteration: __ITER, vu: __VU },\n    }),\n    { headers }\n  );\n\n  trackLatency.add(trackRes.timings.duration);\n  check(trackRes, { \"track 200\": (r) => r.status === 200 }) || errors.add(1);\n\n  sleep(0.1); \u002F\u002F Small delay between iterations\n}\n\n\u002F\u002F Cleanup function — suppress test users after test\nexport function teardown() {\n  console.log(\"Load test complete. Clean up k6-load-* users in CIO dashboard.\");\n}\n```\n\nRun:\n```bash\nk6 run --env CUSTOMERIO_SITE_ID=\"$CUSTOMERIO_SITE_ID\" \\\n       --env CUSTOMERIO_TRACK_API_KEY=\"$CUSTOMERIO_TRACK_API_KEY\" \\\n       load-tests\u002Fcustomerio.js\n```\n\n### Step 2: Queue-Based Architecture\n\n```typescript\n\u002F\u002F services\u002Fcio-queue-worker.ts\nimport { Queue, Worker, QueueEvents } from \"bullmq\";\nimport { TrackClient, RegionUS } from \"customerio-node\";\nimport Bottleneck from \"bottleneck\";\n\nconst REDIS_URL = process.env.REDIS_URL ?? \"redis:\u002F\u002Flocalhost:6379\";\n\n\u002F\u002F Rate limiter: 80 requests per second (leave headroom under 100\u002Fsec limit)\nconst limiter = new Bottleneck({\n  maxConcurrent: 15,\n  reservoir: 80,\n  reservoirRefreshAmount: 80,\n  reservoirRefreshInterval: 1000,\n});\n\nconst eventQueue = new Queue(\"cio:events\", {\n  connection: { url: REDIS_URL },\n  defaultJobOptions: {\n    attempts: 5,\n    backoff: { type: \"exponential\", delay: 2000 },\n    removeOnComplete: { count: 10000 },\n    removeOnFail: { count: 50000 },\n  },\n});\n\n\u002F\u002F Producer — your application enqueues events here\nexport async function enqueueEvent(\n  type: \"identify\" | \"track\",\n  userId: string,\n  data: Record\u003Cstring, any>\n): Promise\u003Cvoid> {\n  await eventQueue.add(type, { userId, data, enqueuedAt: Date.now() });\n}\n\n\u002F\u002F Consumer — workers process events with rate limiting\nexport function startEventWorkers(concurrency = 10): void {\n  const cio = new TrackClient(\n    process.env.CUSTOMERIO_SITE_ID!,\n    process.env.CUSTOMERIO_TRACK_API_KEY!,\n    { region: RegionUS }\n  );\n\n  const worker = new Worker(\n    \"cio:events\",\n    async (job) => {\n      await limiter.schedule(async () => {\n        if (job.name === \"identify\") {\n          await cio.identify(job.data.userId, job.data.data);\n        } else {\n          await cio.track(job.data.userId, job.data.data);\n        }\n      });\n    },\n    {\n      connection: { url: REDIS_URL },\n      concurrency,\n    }\n  );\n\n  worker.on(\"failed\", (job, err) => {\n    console.error(`CIO event failed: ${job?.id} — ${err.message}`);\n  });\n\n  \u002F\u002F Monitor queue health\n  const events = new QueueEvents(\"cio:events\", {\n    connection: { url: REDIS_URL },\n  });\n\n  setInterval(async () => {\n    const counts = await eventQueue.getJobCounts();\n    console.log(\n      `CIO queue: waiting=${counts.waiting} active=${counts.active} ` +\n      `failed=${counts.failed} completed=${counts.completed}`\n    );\n  }, 30000);\n}\n```\n\n### Step 3: Kubernetes HPA Autoscaling\n\n```yaml\n# k8s\u002Fhpa.yaml\napiVersion: autoscaling\u002Fv2\nkind: HorizontalPodAutoscaler\nmetadata:\n  name: cio-worker-hpa\nspec:\n  scaleTargetRef:\n    apiVersion: apps\u002Fv1\n    kind: Deployment\n    name: cio-event-worker\n  minReplicas: 2\n  maxReplicas: 20\n  metrics:\n    - type: Resource\n      resource:\n        name: cpu\n        target:\n          type: Utilization\n          averageUtilization: 70\n    - type: Pods\n      pods:\n        metric:\n          name: cio_queue_depth\n        target:\n          type: AverageValue\n          averageValue: \"500\"\n  behavior:\n    scaleUp:\n      stabilizationWindowSeconds: 60\n      policies:\n        - type: Pods\n          value: 4\n          periodSeconds: 60\n    scaleDown:\n      stabilizationWindowSeconds: 300\n      policies:\n        - type: Pods\n          value: 2\n          periodSeconds: 120\n```\n\n### Step 4: Batch Sender for Bulk Operations\n\n```typescript\n\u002F\u002F lib\u002Fcio-batch-sender.ts\nimport { TrackClient, RegionUS } from \"customerio-node\";\nimport Bottleneck from \"bottleneck\";\n\nexport async function batchSend(\n  operations: Array\u003C{\n    type: \"identify\" | \"track\";\n    userId: string;\n    data: Record\u003Cstring, any>;\n  }>,\n  ratePerSec = 80\n): Promise\u003C{ succeeded: number; failed: number }> {\n  const cio = new TrackClient(\n    process.env.CUSTOMERIO_SITE_ID!,\n    process.env.CUSTOMERIO_TRACK_API_KEY!,\n    { region: RegionUS }\n  );\n\n  const limiter = new Bottleneck({\n    maxConcurrent: 15,\n    reservoir: ratePerSec,\n    reservoirRefreshAmount: ratePerSec,\n    reservoirRefreshInterval: 1000,\n  });\n\n  let succeeded = 0;\n  let failed = 0;\n\n  const promises = operations.map((op, i) =>\n    limiter.schedule(async () => {\n      try {\n        if (op.type === \"identify\") {\n          await cio.identify(op.userId, op.data);\n        } else {\n          await cio.track(op.userId, op.data);\n        }\n        succeeded++;\n      } catch {\n        failed++;\n      }\n      if ((succeeded + failed) % 1000 === 0) {\n        console.log(`Progress: ${succeeded + failed}\u002F${operations.length}`);\n      }\n    })\n  );\n\n  await Promise.all(promises);\n  return { succeeded, failed };\n}\n```\n\nInstall: `npm install bottleneck bullmq`\n\n## Load Test Checklist\n\n- [ ] Test against staging workspace (NEVER production)\n- [ ] Start at 10% of target rate, ramp up gradually\n- [ ] Monitor 429 error rate during test\n- [ ] Check Customer.io dashboard for processing lag\n- [ ] Verify cleanup of test users after load test\n- [ ] Document baseline latency and throughput numbers\n- [ ] Set up alerts before running at production scale\n\n## Error Handling\n\n| Issue | Solution |\n|-------|----------|\n| 429 during load test | Reduce rate, check limiter config |\n| Queue backlog growing | Scale workers, increase concurrency |\n| Memory pressure | Limit batch and queue sizes, enable GC |\n| k6 VU exhaustion | Increase `preAllocatedVUs` and `maxVUs` |\n\n## Resources\n\n- [k6 Documentation](https:\u002F\u002Fk6.io\u002Fdocs\u002F)\n- [Bottleneck npm](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fbottleneck)\n- [BullMQ Documentation](https:\u002F\u002Fbullmq.io\u002F)\n- [Kubernetes HPA](https:\u002F\u002Fkubernetes.io\u002Fdocs\u002Ftasks\u002Frun-application\u002Fhorizontal-pod-autoscale\u002F)\n\n## Next Steps\n\nAfter load testing, proceed to `customerio-known-pitfalls` for anti-patterns to avoid.\n\n",{"name":5,"tags":44,"author":46,"license":15,"version":47,"description":48,"allowed-tools":49,"compatible-with":50},[45,22,31,25,37],"saas","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement Customer.io load testing and horizontal scaling.\nUse when preparing for high traffic, running load tests,\nor designing queue-based architectures for scale.\nTrigger: \"customer.io load test\", \"customer.io scale\",\n\"customer.io high volume\", \"customer.io k6\", \"customer.io performance test\".\n","Read, Write, Edit, Bash(npm:*), Bash(npx:*), Bash(kubectl:*), Glob, Grep","claude-code, codex, openclaw","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcustomerio-load-scale",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill customerio-load-scale",{"tool":66,"command":67},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill customerio-load-scale",{"tool":69,"command":70},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill customerio-load-scale","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fcustomerio-load-scale\u002FSKILL.md",true,[],[75,84,93,102,108,114],{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[81,82,83],"model","model hierarchy","model hierarchy skill",{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[90,91,92],"MCP","zoom","zoom mcp",{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[99,100,101,91],"sdk","zoom apps sdk","apps",{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[104],{"skillNo":109,"name":110,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[110],{"skillNo":115,"name":116,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[116]]