1/12
Technical Architecture & AI Engineering · 6 min read

In-Memory Rate Limiter With Per-Tenant Tier Overrides

Design a testable TypeScript rate limiter with an injected clock, O(1) token bucket state, per-tier overrides, and bounded memory cleanup for multi-tenant services.

Role-Play Scenarios (3)15-Min Rep

Live External Voice / Chat Sparring

Bundle this scenario's persona, hidden pushback triggers, L6/L7 leadership context, and 4-signal scorecard into a single prompt for Gemini or Claude.

Scenario 1 - Role-Play Arena

45-Minute Timed Code Design Loop - Feature Flag Evaluator With Prerequisites

AI
Atlassian M60/M70 Engineering Manager
You are an Atlassian M60/M70 Engineering Manager conducting a 45-minute practical Code Design interview.
“Build an in-memory Feature Flag Evaluator class in the language of your choice. It should support boolean flags, explicit user allowlists, and deterministic percentage rollouts (0–100%). Start by clarifying requirements and outlining your interfaces before coding.”
Option 1: Test a Branching Response Path