Worked prompts
Four prompts from Senior to Principal: an API rate limiter, a multi-tenant LLM gateway, enterprise document Q&A and a monolith migration strategy.
Lessons
- 01Worked prompt: a rate limiter for a public APIA Senior-level classic, answered with Staff-level trade-offs: algorithm choice, distributed counting and failure behaviour.
- 02Worked prompt: a multi-tenant LLM gatewayA Staff-level, AI-era design: routing, quotas, streaming, cost attribution, safety hooks and provider failure in one service.
- 03Worked prompt: enterprise document Q&ARetrieval-augmented generation at enterprise scale, where permissions, freshness and evaluation are harder than the model call.
- 04Worked prompt: a Principal-level migration strategyMove a revenue-critical monolith to a target architecture across many teams without a freeze: the design is the plan.