Back to problems

Design Quota Service

System Design · Snowflake · Easy

A quota service is a backend component that monitors and governs storage consumption across multiple client applications. Imagine a user with a 100GB total storage allowance shared by Google Drive, Google Photos, and Gmail. When a request to upload a 2GB video arrives, the system must determine whether the user still has capacity. The quota service provides that answer. It does not handle file transfers or storage management; it is the sole authority on how much space…

Checking your access…