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:
Getting the service configuration from the server
Hitting the rate limiter
Running an algorithm with endpoints for success and failure.
We emphasize the importance of maintaining a consistent package structure throughout the project.