PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/System Design/Google

Design a large-scale distributed rate limiter

Last updated: May 7, 2026

Quick Overview

This question evaluates system design competency in distributed systems, focusing on scalability, multi-tenant isolation, rate-limiting algorithms, consistency and failover trade-offs, and operational concerns such as observability and safe degradation.

  • medium
  • Google
  • System Design
  • Software Engineer

Design a large-scale distributed rate limiter

Company: Google

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

## Problem Design a **multi-tenant, large-scale distributed Rate Limiter service** used by many internal teams. The service should allow product teams to enforce request limits (e.g., per user, per API key, per IP, per tenant) at very high QPS. ## Requirements to clarify - **Who calls it?** (internal services via gateway/service mesh; optional external-facing) - **Limit types:** per-second / per-minute limits; burst handling - **Algorithms:** fixed window / sliding window / token bucket / leaky bucket - **Correctness:** strict vs best-effort; allowable over-limit error - **Scope:** single region vs **multi-region**; cross-region failover - **Isolation:** per-tenant quotas, noisy-neighbor protection, hotspot keys (large customers) - **Operational needs:** observability, config rollout, auditability, safe degradation ## Expected output Explain a concrete architecture (components + data model + API), and walk through: - request path and decision logic - storage/sharding strategy - multi-region consistency trade-offs - failure modes (store down, partitions) and **fail-open vs fail-close** - evolution plan as scale grows

Quick Answer: This question evaluates system design competency in distributed systems, focusing on scalability, multi-tenant isolation, rate-limiting algorithms, consistency and failover trade-offs, and operational concerns such as observability and safe degradation.

Related Interview Questions

  • Design a Task Scheduler for Opaque Long-Running GPU Jobs ("Design Sora") - Google (hard)
  • Design a Security Monitoring Framework - Google (medium)
  • Design an Online Coding Judge Platform - Google (medium)
  • Design Calendar Event Conflict Handling - Google (medium)
  • Design a pub-sub replay system - Google (hard)
|Home/System Design/Google

Design a large-scale distributed rate limiter

Google logo
Google
Jan 12, 2026, 12:00 AM
mediumSoftware EngineerOnsiteSystem Design
11
0
Loading...

Problem

Design a multi-tenant, large-scale distributed Rate Limiter service used by many internal teams.

The service should allow product teams to enforce request limits (e.g., per user, per API key, per IP, per tenant) at very high QPS.

Requirements to clarify

  • Who calls it? (internal services via gateway/service mesh; optional external-facing)
  • Limit types: per-second / per-minute limits; burst handling
  • Algorithms: fixed window / sliding window / token bucket / leaky bucket
  • Correctness: strict vs best-effort; allowable over-limit error
  • Scope: single region vs multi-region ; cross-region failover
  • Isolation: per-tenant quotas, noisy-neighbor protection, hotspot keys (large customers)
  • Operational needs: observability, config rollout, auditability, safe degradation

Expected output

Explain a concrete architecture (components + data model + API), and walk through:

  • request path and decision logic
  • storage/sharding strategy
  • multi-region consistency trade-offs
  • failure modes (store down, partitions) and fail-open vs fail-close
  • evolution plan as scale grows

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Google•More Software Engineer•Google Software Engineer•Google System Design•Software Engineer System Design

Your design canvas — auto-saved

PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.