scale-benchmarks
यह क्या करती है
यह tool किसी application के लिए ज़रूरी capacity का अनुमान लगाने में मदद करता है, जैसे वह कितने users संभाल सकता है और उसे कितनी storage और network traffic चाहिए। यह अलग-अलग audience sizes के लिए formulas और उदाहरण देता है।
कब इस्तेमाल करें
- ✓नए application के infrastructure की योजना बनाते समय।
- ✓website या service की hosting cost का अनुमान लगाते समय।
- ✓application को ज़्यादा users के लिए scale करते समय।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/monopoly/scale-benchmarks/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“100,000 daily active users वाले app को कितना traffic और storage चाहिए होगा?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह tool users की संख्या, data के आकार और इस्तेमाल की आवृत्ति (frequency) के आधार पर formulas लगाकर requests per second, disk space और bandwidth जैसे आंकड़े निकालता है। यह आम technologies की तुलना भी करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
MONOPOLY — Scale Benchmarks & Estimation Formulas
When to Use
- Use this skill when the task matches this description: Reference document for monopoly scale-benchmarks.
Quick Estimation Formulas
User → RPS Conversion
Requests per second (avg) = DAU × avg_requests_per_user_per_day / 86400
Requests per second (peak) = avg_RPS × peak_multiplier
Peak multipliers by app type:
Social media: 5–10×
E-commerce: 3–5× (higher during sales)
News / media: 10–20× (breaking news spike)
B2B SaaS: 2–3× (business hours spike)
Gaming: 5–15× (event-driven)
Storage Estimation
Storage per day = requests_per_day × avg_payload_size
Storage per year = storage_per_day × 365
With replication = storage_per_year × replication_factor (3× typical)
With CDN/cache = reduce by cache_hit_ratio (80% hit = 20% origin load)
Common payload sizes:
Tweet / short text: 500B
Social post with text: 2KB
Profile data: 5KB
Image (compressed): 200KB–2MB
Video (per minute): 50MB (720p), 150MB (1080p)
API JSON response: 1–20KB
Bandwidth Estimation
Inbound bandwidth = avg_request_size × RPS
Outbound bandwidth = avg_response_size × RPS
Convert: 1 Gbps = 125 MB/s
10 Gbps = 1.25 GB/s
Known Scale Limits of Common Technologies
Databases
| Technology | Single Node Writes | Reads (with replicas) | Recommended Shard/Cluster Trigger |
|---|---|---|---|
| PostgreSQL | ~5K–20K writes/s | ~50K–200K reads/s | >5TB data or >20K writes/s |
| MySQL | ~10K–25K writes/s | ~60K–250K reads/s | >5TB or >25K writes/s |
| MongoDB | ~20K–50K writes/s | ~50K–100K reads/s | >100GB or >50K writes/s |
| Cassandra | ~200K–1M writes/s | ~200K–500K reads/s | Almost never needs explicit sharding |
| DynamoDB | Unlimited (managed) | Unlimited (managed) | Use provisioned capacity mode |
| Redis | ~500K–1M ops/s | Same | >50GB data or cluster needed |
| Elasticsearch | ~10K–50K docs/s | ~1K–10K queries/s | >100M documents per index |
Queues / Streams
| Technology | Max Throughput | Max Consumers | Retention |
|---|---|---|---|
| Kafka | 1M+ msgs/s per cluster | Unlimited consumer groups | Configurable (days–forever) |
| RabbitMQ | ~50K–100K msgs/s | Limited by connections | Until consumed |
| SQS Standard | Unlimited (AWS-managed) | Unlimited | 14 days |
| SQS FIFO | 3K msgs/s per queue | Per group | 14 days |
| Redis Pub/Sub | ~1M msgs/s | Limited by subscribers | None (fire-and-forget) |
Caching
| Technology | Max Memory (single) | Max Throughput | Latency |
|---|---|---|---|
| Redis | ~1TB RAM | ~1M ops/s | <1ms |
| Memcached | ~64GB RAM | ~1M ops/s | <1ms |
| In-process (Caffeine/Guava) | JVM heap | Unlimited (local) | <0.1ms |
Capacity Planning by User Scale
1K DAU
Avg RPS: ~1–5 RPS
Peak RPS: ~10–50 RPS
DB size/year: ~10–50GB
Infra needed: Single server, managed DB (RDS t3.medium), basic CDN
Monthly cost: $50–200
10K DAU
Avg RPS: ~10–50 RPS
Peak RPS: ~100–500 RPS
DB size/year: ~100–500GB
Infra needed: 2–4 app servers, RDS r5.large, Redis t3.medium, CDN
Monthly cost: $300–800
100K DAU
Avg RPS: ~100–500 RPS
Peak RPS: ~1K–5K RPS
DB size/year: ~1–5TB
Infra needed: ASG (5–10 app servers), RDS r5.xlarge + 2 replicas, Redis cluster, CDN, ALB
Monthly cost: $2K–8K
1M DAU
Avg RPS: ~1K–5K RPS
Peak RPS: ~10K–50K RPS
DB size/year: ~10–50TB
Infra needed: ASG (20–50 servers), DB sharding or Aurora, Redis cluster, Kafka, CDN, WAF
Monthly cost: $20K–80K
10M DAU
Avg RPS: ~10K–50K RPS
Peak RPS: ~100K–500K RPS
DB size/year: ~100–500TB
Infra needed: Multi-region, microservices, distributed DB (Cassandra/CockroachDB), full CDN, dedicated SRE
Monthly cost: $200K–2M+
Common SLO Targets
| Tier | Availability | Monthly Downtime Allowed |
|---|---|---|
| 99% | Basic | 7.2 hours/month |
| 99.9% (three nines) | Standard production | 43.8 minutes/month |
| 99.95% | Important services | 21.9 minutes/month |
| 99.99% (four nines) | Critical services | 4.38 minutes/month |
| 99.999% (five nines) | Telecom / payments | 26 seconds/month |
…
अक्सर पूछे जाने वाले सवाल
'DAU' और 'RPS' का क्या मतलब है?
'DAU' का मतलब है 'Daily Active Users', और 'RPS' का मतलब है 'Requests Per Second'।
payload size storage को कैसे प्रभावित करता है?
बड़े payload का मतलब है हर request में ज़्यादा जगह लगना, जिससे खासकर बहुत सारे users होने पर समय के साथ storage की ज़रूरत तेज़ी से बढ़ती है।
'99.9% availability' का क्या मतलब है?
इसका मतलब है कि service 99.9% समय चालू रहनी चाहिए, जिसमें हर महीने लगभग 43 मिनट का downtime मान्य है।
जानकारी
लेखक का मूल विवरण
Reference document for monopoly scale-benchmarks.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5234
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
blucli
394kयह आपके एजेंट को blu कमांड से Bluesound और NAD स्पीकर खोजने, चलाने, रोकने, समूह बनाने और वॉल्यूम बदलने में मदद करती है।
camsnap
394kयह आपके एजेंट को नेटवर्क कैमरों और लोकल webcam से स्नैपशॉट, छोटी क्लिप या मोशन इवेंट लेने में मदद करती है, जो आपने सेट किए हों।
eightctl
394kयह आपके एजेंट को Eight Sleep pod की जांच और नियंत्रण करने में मदद करती है, जिसमें तापमान, अलार्म और नींद की समय-सारणी शामिल हैं।