shopify-load-scale

Featured

Load test Shopify integrations respecting API rate limits, plan capacity with k6, and scale for Shopify Plus burst events (flash sales, BFCM). Trigger with phrases like "shopify load test", "shopify scale", "shopify BFCM", "shopify flash sale", "shopify capacity", "shopify k6 test".

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

# Shopify Load & Scale ## Overview Load test Shopify app integrations while respecting API rate limits. Plan capacity for high-traffic events like Black Friday / Cyber Monday (BFCM). ## Prerequisites - k6 load testing tool installed (`brew install k6`) - Test store with API access (never load test production) - Understanding of Shopify rate limits per plan ## Instructions ### Step 1: Understand Capacity Constraints Your app's throughput is bounded by Shopify's rate limits, not your infrastructure: | Plan | GraphQL Points | Restore Rate | Max Sustained QPS | Burst Capacity | |------|---------------|-------------|-------------------|----------------| | Standard | 1,000 | 50/sec | ~10 queries/sec | 1,000 points burst | | Shopify Plus | 2,000 | 100/sec | ~20 queries/sec | 2,000 points burst | A typical product query costs 10-50 points. At 50 points/query, Standard supports ~1 query/second sustained. ### Step 2: k6 Load Test Script ```javascript // shopify-load-test.js import http from "k6/http"; import { check, sleep } from "k6"; import { Rate, Counter, Trend } from "k6/metrics"; // Custom metrics const shopifyErrors = new Rate("shopify_errors"); const throttledRequests = new Counter("shopify_throttled"); const queryCost = new Trend("shopify_query_cost"); export const options = { stages: [ { duration: "1m", target: 2 }, // Warm up — 2 VUs { duration: "3m", target: 5 }, // Normal load { duration: "2m", target: 10 }, // Peak load { duration: "...

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