Scaling patterns

From rnavarych/alpha-engineer · View interactive version

Scaling patterns is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Scaling patterns: horizontal/vertical scaling, async processing, data partitioning, connection pooling, rate limiting, backpressure. Use when scaling services.

How to use this skill

Skill file

Scaling Patterns

When to use

Core principles

  1. Measure before scaling — profile first, scale second
  2. Stateless services scale horizontally — move state to databases/caches
  3. Connection pooling is mandatory — direct connections exhaust DB limits
  4. Backpressure prevents cascading failure — reject early rather than queue forever
  5. Rate limiting protects everyone — including your own services from each other

References available

Scripts available

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.