RateLimiter Client Setup

video locked
Enroll to watch

11 mins

We discuss building a rate limiter client in Java that can be used by different teams in the organization that use other languages.

The API package contains a single class containing functions that expose the rate-limiting service. We walk through the different endpoints and functions required in the rate limiter client, such as:

  1. Getting the service configuration from the server

  2. Hitting the rate limiter

  3. Running an algorithm with endpoints for success and failure.

We emphasize the importance of maintaining a consistent package structure throughout the project.