-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Rate Limiter:
- A rate limiter is a mechanism that helps to limit the number of requests that can be sent to a server in a given time period.
- The rate limiter should allow you to specify a maximum number of requests that can be sent within a certain time period, such as 10 requests per minute.
- When the rate limit is reached, any further requests should be queued and sent when the rate limit allows.
- The rate limiter should also provide feedback to the user when a request is being queued or rejected due to exceeding the rate limit.
Retry Mechanism:
- A retry mechanism is a mechanism that helps to retry a request in case of failure, such as a network error or a server error.
- The retry mechanism should allow you to specify a maximum number of retries and a retry interval, such as retrying up to 3 times with a 5-second interval between retries.
- The retry mechanism should also allow you to specify the status codes that should trigger a retry, such as 500 Internal Server Error.
- The retry mechanism should provide feedback to the user when a retry is being attempted, and when retries have been exhausted.
Metadata
Metadata
Assignees
Labels
No labels