[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FARXJ2SGGV19J4A1AV6ZQN":3,"skill-same:01M7FARXJ2SGGV19J4A1AV6ZQN":50},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7FARXJ2SGGV19J4A1AV6ZQN","scale-benchmarks",null,"Reference document for monopoly scale-benchmarks.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmonopoly\u002Fscale-benchmarks\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: scale-benchmarks\ndescription: Reference document for monopoly scale-benchmarks.\nsource: community\ndate_added: \"2026-09-04\"\nrisk: safe\nreports-to: monopoly\n---\n\n# MONOPOLY — Scale Benchmarks & Estimation Formulas\n\n## When to Use\n- Use this skill when the task matches this description: Reference document for monopoly scale-benchmarks.\n\n## Quick Estimation Formulas\n\n### User → RPS Conversion\n```\nRequests per second (avg) = DAU × avg_requests_per_user_per_day \u002F 86400\nRequests per second (peak) = avg_RPS × peak_multiplier\n\nPeak multipliers by app type:\n  Social media:      5–10×\n  E-commerce:        3–5× (higher during sales)\n  News \u002F media:      10–20× (breaking news spike)\n  B2B SaaS:          2–3× (business hours spike)\n  Gaming:            5–15× (event-driven)\n```\n\n### Storage Estimation\n```\nStorage per day    = requests_per_day × avg_payload_size\nStorage per year   = storage_per_day × 365\nWith replication   = storage_per_year × replication_factor (3× typical)\nWith CDN\u002Fcache     = reduce by cache_hit_ratio (80% hit = 20% origin load)\n\nCommon payload sizes:\n  Tweet \u002F short text:    500B\n  Social post with text: 2KB\n  Profile data:          5KB\n  Image (compressed):    200KB–2MB\n  Video (per minute):    50MB (720p), 150MB (1080p)\n  API JSON response:     1–20KB\n```\n\n### Bandwidth Estimation\n```\nInbound bandwidth  = avg_request_size × RPS\nOutbound bandwidth = avg_response_size × RPS\n\nConvert: 1 Gbps = 125 MB\u002Fs\n         10 Gbps = 1.25 GB\u002Fs\n```\n\n---\n\n## Known Scale Limits of Common Technologies\n\n### Databases\n\n| Technology | Single Node Writes | Reads (with replicas) | Recommended Shard\u002FCluster Trigger |\n|------------|-------------------|----------------------|----------------------------------|\n| PostgreSQL | ~5K–20K writes\u002Fs | ~50K–200K reads\u002Fs | >5TB data or >20K writes\u002Fs |\n| MySQL | ~10K–25K writes\u002Fs | ~60K–250K reads\u002Fs | >5TB or >25K writes\u002Fs |\n| MongoDB | ~20K–50K writes\u002Fs | ~50K–100K reads\u002Fs | >100GB or >50K writes\u002Fs |\n| Cassandra | ~200K–1M writes\u002Fs | ~200K–500K reads\u002Fs | Almost never needs explicit sharding |\n| DynamoDB | Unlimited (managed) | Unlimited (managed) | Use provisioned capacity mode |\n| Redis | ~500K–1M ops\u002Fs | Same | >50GB data or cluster needed |\n| Elasticsearch | ~10K–50K docs\u002Fs | ~1K–10K queries\u002Fs | >100M documents per index |\n\n### Queues \u002F Streams\n\n| Technology | Max Throughput | Max Consumers | Retention |\n|------------|----------------|---------------|-----------|\n| Kafka | 1M+ msgs\u002Fs per cluster | Unlimited consumer groups | Configurable (days–forever) |\n| RabbitMQ | ~50K–100K msgs\u002Fs | Limited by connections | Until consumed |\n| SQS Standard | Unlimited (AWS-managed) | Unlimited | 14 days |\n| SQS FIFO | 3K msgs\u002Fs per queue | Per group | 14 days |\n| Redis Pub\u002FSub | ~1M msgs\u002Fs | Limited by subscribers | None (fire-and-forget) |\n\n### Caching\n\n| Technology | Max Memory (single) | Max Throughput | Latency |\n|------------|--------------------|--------------|----|\n| Redis | ~1TB RAM | ~1M ops\u002Fs | \u003C1ms |\n| Memcached | ~64GB RAM | ~1M ops\u002Fs | \u003C1ms |\n| In-process (Caffeine\u002FGuava) | JVM heap | Unlimited (local) | \u003C0.1ms |\n\n---\n\n## Capacity Planning by User Scale\n\n### 1K DAU\n```\nAvg RPS:       ~1–5 RPS\nPeak RPS:      ~10–50 RPS\nDB size\u002Fyear:  ~10–50GB\nInfra needed:  Single server, managed DB (RDS t3.medium), basic CDN\nMonthly cost:  $50–200\n```\n\n### 10K DAU\n```\nAvg RPS:       ~10–50 RPS\nPeak RPS:      ~100–500 RPS\nDB size\u002Fyear:  ~100–500GB\nInfra needed:  2–4 app servers, RDS r5.large, Redis t3.medium, CDN\nMonthly cost:  $300–800\n```\n\n### 100K DAU\n```\nAvg RPS:       ~100–500 RPS\nPeak RPS:      ~1K–5K RPS\nDB size\u002Fyear:  ~1–5TB\nInfra needed:  ASG (5–10 app servers), RDS r5.xlarge + 2 replicas, Redis cluster, CDN, ALB\nMonthly cost:  $2K–8K\n```\n\n### 1M DAU\n```\nAvg RPS:       ~1K–5K RPS\nPeak RPS:      ~10K–50K RPS\nDB size\u002Fyear:  ~10–50TB\nInfra needed:  ASG (20–50 servers), DB sharding or Aurora, Redis cluster, Kafka, CDN, WAF\nMonthly cost:  $20K–80K\n```\n\n### 10M DAU\n```\nAvg RPS:       ~10K–50K RPS\nPeak RPS:      ~100K–500K RPS\nDB size\u002Fyear:  ~100–500TB\nInfra needed:  Multi-region, microservices, distributed DB (Cassandra\u002FCockroachDB), full CDN, dedicated SRE\nMonthly cost:  $200K–2M+\n```\n\n---\n\n## Common SLO Targets\n\n| Tier | Availability | Monthly Downtime Allowed |\n|------|-------------|--------------------------|\n| 99% | Basic | 7.2 hours\u002Fmonth |\n| 99.9% (three nines) | Standard production | 43.8 minutes\u002Fmonth |\n| 99.95% | Important services | 21.9 minutes\u002Fmonth |\n| 99.99% (four nines) | Critical services | 4.38 minutes\u002Fmonth |\n| 99.999% (five nines) | Telecom \u002F payments | 26 seconds\u002Fmonth |\n\n**Achieving four nines requires:** Multi-AZ deployment, automated failover, zero-downtime deploys, chaos engineering, 24\u002F7 on-call.\n\n---\n\n## Latency Budget Guidelines\n\n```\nUser perceived latency targets:\n  \u003C 100ms  → Feels instant\n  100–300ms → Acceptable for most interactions\n  300ms–1s → Noticeable; optimize if possible\n  > 1s     → Frustrating; unacceptable for critical paths\n\nNetwork latency by distance (approximate):\n  Same datacenter:    0.5ms\n  Same region (AZ):   1–2ms\n  Cross-region US:    30–60ms\n  US to Europe:       80–120ms\n  US to Asia:         150–250ms\n\nDatabase query targets:\n  Simple key-value:   \u003C 1ms (cache)\n  Simple DB query:    \u003C 5ms\n  Complex query:      \u003C 50ms\n  Reporting query:    \u003C 500ms (async if > 1s)\n```\n\n\n## Limitations\n- This is a reference document and may not cover all edge cases. Always verify architectures before production.\n","# MONOPOLY — Scale Benchmarks & Estimation Formulas\n\n## When to Use\n- Use this skill when the task matches this description: Reference document for monopoly scale-benchmarks.\n\n## Quick Estimation Formulas\n\n### User → RPS Conversion\n```\nRequests per second (avg) = DAU × avg_requests_per_user_per_day \u002F 86400\nRequests per second (peak) = avg_RPS × peak_multiplier\n\nPeak multipliers by app type:\n  Social media:      5–10×\n  E-commerce:        3–5× (higher during sales)\n  News \u002F media:      10–20× (breaking news spike)\n  B2B SaaS:          2–3× (business hours spike)\n  Gaming:            5–15× (event-driven)\n```\n\n### Storage Estimation\n```\nStorage per day    = requests_per_day × avg_payload_size\nStorage per year   = storage_per_day × 365\nWith replication   = storage_per_year × replication_factor (3× typical)\nWith CDN\u002Fcache     = reduce by cache_hit_ratio (80% hit = 20% origin load)\n\nCommon payload sizes:\n  Tweet \u002F short text:    500B\n  Social post with text: 2KB\n  Profile data:          5KB\n  Image (compressed):    200KB–2MB\n  Video (per minute):    50MB (720p), 150MB (1080p)\n  API JSON response:     1–20KB\n```\n\n### Bandwidth Estimation\n```\nInbound bandwidth  = avg_request_size × RPS\nOutbound bandwidth = avg_response_size × RPS\n\nConvert: 1 Gbps = 125 MB\u002Fs\n         10 Gbps = 1.25 GB\u002Fs\n```\n\n---\n\n## Known Scale Limits of Common Technologies\n\n### Databases\n\n| Technology | Single Node Writes | Reads (with replicas) | Recommended Shard\u002FCluster Trigger |\n|------------|-------------------|----------------------|----------------------------------|\n| PostgreSQL | ~5K–20K writes\u002Fs | ~50K–200K reads\u002Fs | >5TB data or >20K writes\u002Fs |\n| MySQL | ~10K–25K writes\u002Fs | ~60K–250K reads\u002Fs | >5TB or >25K writes\u002Fs |\n| MongoDB | ~20K–50K writes\u002Fs | ~50K–100K reads\u002Fs | >100GB or >50K writes\u002Fs |\n| Cassandra | ~200K–1M writes\u002Fs | ~200K–500K reads\u002Fs | Almost never needs explicit sharding |\n| DynamoDB | Unlimited (managed) | Unlimited (managed) | Use provisioned capacity mode |\n| Redis | ~500K–1M ops\u002Fs | Same | >50GB data or cluster needed |\n| Elasticsearch | ~10K–50K docs\u002Fs | ~1K–10K queries\u002Fs | >100M documents per index |\n\n### Queues \u002F Streams\n\n| Technology | Max Throughput | Max Consumers | Retention |\n|------------|----------------|---------------|-----------|\n| Kafka | 1M+ msgs\u002Fs per cluster | Unlimited consumer groups | Configurable (days–forever) |\n| RabbitMQ | ~50K–100K msgs\u002Fs | Limited by connections | Until consumed |\n| SQS Standard | Unlimited (AWS-managed) | Unlimited | 14 days |\n| SQS FIFO | 3K msgs\u002Fs per queue | Per group | 14 days |\n| Redis Pub\u002FSub | ~1M msgs\u002Fs | Limited by subscribers | None (fire-and-forget) |\n\n### Caching\n\n| Technology | Max Memory (single) | Max Throughput | Latency |\n|------------|--------------------|--------------|----|\n| Redis | ~1TB RAM | ~1M ops\u002Fs | \u003C1ms |\n| Memcached | ~64GB RAM | ~1M ops\u002Fs | \u003C1ms |\n| In-process (Caffeine\u002FGuava) | JVM heap | Unlimited (local) | \u003C0.1ms |\n\n---\n\n## Capacity Planning by User Scale\n\n### 1K DAU\n```\nAvg RPS:       ~1–5 RPS\nPeak RPS:      ~10–50 RPS\nDB size\u002Fyear:  ~10–50GB\nInfra needed:  Single server, managed DB (RDS t3.medium), basic CDN\nMonthly cost:  $50–200\n```\n\n### 10K DAU\n```\nAvg RPS:       ~10–50 RPS\nPeak RPS:      ~100–500 RPS\nDB size\u002Fyear:  ~100–500GB\nInfra needed:  2–4 app servers, RDS r5.large, Redis t3.medium, CDN\nMonthly cost:  $300–800\n```\n\n### 100K DAU\n```\nAvg RPS:       ~100–500 RPS\nPeak RPS:      ~1K–5K RPS\nDB size\u002Fyear:  ~1–5TB\nInfra needed:  ASG (5–10 app servers), RDS r5.xlarge + 2 replicas, Redis cluster, CDN, ALB\nMonthly cost:  $2K–8K\n```\n\n### 1M DAU\n```\nAvg RPS:       ~1K–5K RPS\nPeak RPS:      ~10K–50K RPS\nDB size\u002Fyear:  ~10–50TB\nInfra needed:  ASG (20–50 servers), DB sharding or Aurora, Redis cluster, Kafka, CDN, WAF\nMonthly cost:  $20K–80K\n```\n\n### 10M DAU\n```\nAvg RPS:       ~10K–50K RPS\nPeak RPS:      ~100K–500K RPS\nDB size\u002Fyear:  ~100–500TB\nInfra needed:  Multi-region, microservices, distributed DB (Cassandra\u002FCockroachDB), full CDN, dedicated SRE\nMonthly cost:  $200K–2M+\n```\n\n---\n\n## Common SLO Targets\n\n| Tier | Availability | Monthly Downtime Allowed |\n|------|-------------|--------------------------|\n| 99% | Basic | 7.2 hours\u002Fmonth |\n| 99.9% (three nines) | Standard production | 43.8 minutes\u002Fmonth |\n| 99.95% | Important services | 21.9 minutes\u002Fmonth |\n| 99.99% (four nines) | Critical services | 4.38 minutes\u002Fmonth |\n| 99.999% (five nines) | Telecom \u002F payments | 26 seconds\u002Fmonth |\n\n**Achieving four nines requires:** Multi-AZ deployment, automated failover, zero-downtime deploys, chaos engineering, 24\u002F7 on-call.\n\n---\n\n## Latency Budget Guidelines\n\n```\nUser perceived latency targets:\n  \u003C 100ms  → Feels instant\n  100–300ms → Acceptable for most interactions\n  300ms–1s → Noticeable; optimize if possible\n  > 1s     → Frustrating; unacceptable for critical paths\n\nNetwork latency by distance (approximate):\n  Same datacenter:    0.5ms\n  Same region (AZ):   1–2ms\n  Cross-region US:    30–60ms\n  US to Europe:       80–120ms\n  US to Asia:         150–250ms\n\nDatabase query targets:\n  Simple key-value:   \u003C 1ms (cache)\n  Simple DB query:    \u003C 5ms\n  Complex query:      \u003C 50ms\n  Reporting query:    \u003C 500ms (async if > 1s)\n```\n\n\n## Limitations\n- This is a reference document and may not cover all edge cases. Always verify architectures before production.\n",{"name":5,"risk":24,"source":25,"date_added":26,"reports-to":27,"description":7},"safe","community","2026-09-04","monopoly","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fmonopoly\u002Fscale-benchmarks",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill scale-benchmarks",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill scale-benchmarks",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill scale-benchmarks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fmonopoly\u002Fscale-benchmarks\u002FSKILL.md",true,[],[51,58,63,70,77,84],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":59,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]