<commit_before># Doorman: Global Distributed Client-Side Rate Limiting

Authors: <NAME> <<EMAIL>>, <NAME> <<EMAIL>>

**Note**: This is the original Doorman design doc with references to internal Google products and services removed.

## Introduction

_In which I introduce the problem I want to solve.._.

Here is the problem I want to solve:

A set of distributed clients (some of which are more important than others) are using a shared resource with limited capacity. The clients need to share this capacity between them such that:

+  The clients get a rate limit from the system which they are then responsible for upholding.
+  Their combined traffic does not exceed capacity.
+  No capacity is left unused.<commit_msg>Update note.<commit_after># Doorman: Global Distributed Client-Side Rate Limiting

Authors: <NAME> <<EMAIL>>, <NAME> <<EMAIL>>

**Note**: This is the original Doorman design doc with references to internal Google products and services removed. Some protobuf definitions may be out of date, but the general ideas have not changed.

## Introduction

_In which I introduce the problem I want to solve.._.

Here is the problem I want to solve:

A set of distributed clients (some of which are more important than others) are using a shared resource with limited capacity. The clients need to share this capacity between them such that:

+  The clients get a rate limit from the system which they are then responsible for upholding.
+  Their combined traffic does not exceed capacity.
+  No capacity is left unused.
{'fraction_non_alphanumeric': 0.05667752442996743, 'fraction_numerical': 0.0, 'mean_word_length': 4.505376344086022, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7409291', 'n_tokens_mistral': 373, 'n_tokens_neox': 362, 'n_words': 231}