/architectGlobal Multi-Region Sliding-Window Rate Limiter
Designs a low-latency edge rate limiter handling 250K RPS using Redis Lua scripts, local token-bucket L1 caching, and graceful degradation.
Ready-to-Run Prompt Template
Mode: deep-thinkThink step by step and design a production multi-region distributed rate limiter capable of handling 250,000 requests/second with sub-2ms p99 overhead. Include an ASCII architecture topology diagram, atomic Redis Lua script, TypeScript SDK implementation with local L1 fallback, and runnable test assertions.
Recommended Fusta Skills for This Prompt
Designs distributed systems with clear topology diagrams, capacity estimates, SLA failover strategies, and storage trade-offs.
Follows a Plan -> Implement -> Edge-Case Test workflow and produces complete runnable modules with zero stubs.
Audits code for race conditions, off-by-one errors, XSS/injection flaws, and runs an agentic post-generation review on complex code.
More Ready-to-Run Templates
Double-Entry Financial Ledger & Webhook Outbox
Zero-data-loss transactional outbox pattern with idempotency keys, optimistic concurrency control, and PostgreSQL serializable isolation.
System ArchitectureProduction Hybrid RAG & Reranking Architecture
End-to-end blueprint combining dense HNSW vector search, BM25 lexical fusion (RRF), cross-encoder reranking, and citation verification.
Live Canvas UIInteractive Pomodoro & Sprint Focus Studio
Builds a single-file dark Pomodoro focus studio with customizable intervals, priority task queue, session stats, and SVG progress rings.