PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|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 an Online Coding Judge Platform - Google (medium)
  • Design a pub-sub replay system - Google (hard)
  • How to host many domains on one IP? - Google (medium)
  • Design street-view image ingestion and storage system - Google (hard)
  • Design a global real-time notification system - Google (medium)
Google logo
Google
Jan 12, 2026, 12:00 AM
Software Engineer
Onsite
System Design
7
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

Solution

Show

Comments (0)

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
PracHub

Master your tech interviews with 7,500+ 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
  • Compare Platforms
  • Discord Community

Support

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

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.