Resourcio
Gemini AI Engineering Suite

Interactive AI Mock Interview Simulator

Practice real-world technical and behavioral interview prompts with live timers, instant Gemini AI evaluation scoring, and rubric feedback.

Select Challenge Prompt

System Design • Hard

Design a Global Rate Limiter with Redis & Sliding Window

10:00
Design a distributed rate limiter capable of handling 500,000 requests per second across multiple regional data centers. Explain how you would prevent race conditions using Redis sorted sets (ZSET) or Lua scripts, and how to handle client clock skews.
Evaluation Criteria Lookouts:
Mentions Redis Sorted Sets or Token Bucket algorithm
Addresses distributed concurrency using atomic Lua scripting
Considers multi-region latency and asynchronous sync
Outlines HTTP 429 Retry-After header standards
Powered by Google Gemini 1.5 Pro