replit-load-scale

Featured

Load test and scale Replit deployments with Autoscale tuning, Reserved VM sizing, and capacity planning. Use when load testing Replit apps, optimizing Autoscale behavior, or planning capacity for production traffic. Trigger with phrases like "replit load test", "replit scale", "replit capacity", "replit performance test", "replit autoscale tuning".

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

# Replit Load & Scale ## Overview Load testing, scaling strategies, and capacity planning for Replit deployments. Covers Autoscale behavior tuning, Reserved VM right-sizing, cold start optimization, database connection scaling, and capacity benchmarking. ## Prerequisites - Replit app deployed (Autoscale or Reserved VM) - Load testing tool: k6, autocannon, or curl - Health endpoint implemented ## Replit Scaling Model | Deployment Type | Scaling Behavior | Cold Start | Best For | |-----------------|-----------------|------------|----------| | **Autoscale** | 0 to N instances based on traffic | Yes (5-30s) | Variable traffic | | **Reserved VM** | Fixed resources, always-on | No | Consistent traffic | | **Static** | CDN-backed, infinite scale | No | Frontend assets | ## Instructions ### Step 1: Baseline Benchmark ```bash # Quick benchmark with autocannon (built into Node.js ecosystem) npx autocannon -c 10 -d 30 https://your-app.replit.app/health # -c 10: 10 concurrent connections # -d 30: 30 seconds duration # Output shows: # - Requests/sec # - Latency (p50, p95, p99) # - Throughput (bytes/sec) # - Error count ``` ### Step 2: Load Test with k6 ```javascript // load-test.js — comprehensive Replit load test import http from 'k6/http'; import { check, sleep } from 'k6'; import { Rate, Trend } from 'k6/metrics'; const errorRate = new Rate('errors'); const coldStartTrend = new Trend('cold_start_duration'); export const options = { stages: [ { duration: '1m', target: 5 ...

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

replit-cost-tuning

Optimize Replit costs: deployment sizing, seat audit, egress control, and plan selection. Use when analyzing Replit billing, reducing deployment costs, or implementing usage monitoring and budget controls. Trigger with phrases like "replit cost", "replit billing", "reduce replit costs", "replit pricing", "replit expensive", "replit budget".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-performance-tuning

Optimize Replit app performance: cold start, memory, Nix caching, and deployment speed. Use when experiencing slow startup, high memory usage, deployment timeouts, or optimizing Replit container resource usage. Trigger with phrases like "replit performance", "optimize replit", "replit slow", "replit cold start", "replit memory", "replit startup time".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-deploy-integration

Deploy Replit apps with Autoscale, Reserved VM, and Static deployment types. Use when deploying to production, configuring deployment settings, setting up custom domains, or managing deployment secrets and health checks. Trigger with phrases like "deploy replit", "replit deployment", "replit autoscale", "replit reserved VM", "replit static deploy", "replit custom domain".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vercel-load-scale

Load test and scale Vercel deployments with concurrency tuning and capacity planning. Use when running performance tests, planning for traffic spikes, or optimizing serverless function scaling on Vercel. Trigger with phrases like "vercel load test", "vercel scale", "vercel performance test", "vercel capacity", "vercel benchmark".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-rate-limits

Handle Replit resource limits: KV database caps, deployment quotas, and request throttling. Use when hitting storage limits, managing deployment resources, or implementing rate limiting in your Replit-hosted app. Trigger with phrases like "replit rate limit", "replit throttling", "replit 429", "replit storage limit", "replit quota".

2,266 Updated today
jeremylongshore