Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

The Framework proposed in this space (Alex Xu) is applied to propose a design : Getting started - a framework to propose...

Introduction

The benefits of using an API rate limiter :

  1. Prevent resource starvation caused by Denial of Service (DoS) attack, either intentional or unintentional, by blocking the excess calls.

  2. Reduce cost by limiting servers and allocating more resources to high priority APIs. Important when we use paid third party APIs.

  3. Prevent servers from being overloaded by filtering out excess requests.

on this page.

Table of Contents

Part 1 - Understand the problem and establish design scope

Part 2 - High level design

Part 3 - Design deep dive

Part 4 - Pros & Cons