npx skills add https://github.com/aaaaqwq/claude-code-skills --skill 'Scale Game'在极端规模下测试你的方法,找出哪些会崩溃,哪些能出人意料地存活下来。
核心原则: 极端情况能揭示在正常规模下隐藏的基本真相。
| 规模维度 | 极端测试 | 揭示内容 |
|---|---|---|
| 数据量 | 1 项 vs 10 亿项 | 算法复杂度限制 |
| 速度 | 瞬时 vs 1 年 | 异步需求、缓存需求 |
| 用户数 | 1 用户 vs 10 亿用户 | 并发问题、资源限制 |
| 持续时间 | 毫秒 vs 年 | 内存泄漏、状态增长 |
| 故障率 | 从不故障 vs 总是故障 | 错误处理充分性 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
正常规模: "发生错误时处理错误" 工作良好 在 10 亿规模下: 错误量压垮日志记录,导致系统崩溃 揭示: 需要使错误不可能发生(类型系统)或预期其发生(混沌工程)
正常规模: 直接函数调用有效 在全球规模下: 网络延迟使同步调用无法使用 揭示: 异步/消息传递成为生存需求,而非优化
正常持续时间: 工作数小时/天 在数年时间下: 内存无限增长,最终崩溃 揭示: 需要持久化或定期清理,不能依赖内存
每周安装量
0
代码仓库
GitHub 星标数
11
首次出现时间
1970年1月1日
安全审计
Test your approach at extreme scales to find what breaks and what surprisingly survives.
Core principle: Extremes expose fundamental truths hidden at normal scales.
| Scale Dimension | Test At Extremes | What It Reveals |
|---|---|---|
| Volume | 1 item vs 1B items | Algorithmic complexity limits |
| Speed | Instant vs 1 year | Async requirements, caching needs |
| Users | 1 user vs 1B users | Concurrency issues, resource limits |
| Duration | Milliseconds vs years | Memory leaks, state growth |
| Failure rate | Never fails vs always fails | Error handling adequacy |
Normal scale: "Handle errors when they occur" works fine At 1B scale: Error volume overwhelms logging, crashes system Reveals: Need to make errors impossible (type systems) or expect them (chaos engineering)
Normal scale: Direct function calls work At global scale: Network latency makes synchronous calls unusable Reveals: Async/messaging becomes survival requirement, not optimization
Normal duration: Works for hours/days At years: Memory grows unbounded, eventual crash Reveals: Need persistence or periodic cleanup, can't rely on memory
Weekly Installs
0
Repository
GitHub Stars
11
First Seen
Jan 1, 1970
Security Audits
浏览器自动化专家指南:Playwright、Puppeteer、Selenium 最佳实践与反模式
2,800 周安装