# Configure global rate limit

## Configure Global Rate Limit

The Global Rate Limit feature in Akto allows you to control the number of API tests executed per minute. This helps in managing the load on your API endpoints during testing and prevents overwhelming your systems.

{% @arcade/embed url="<https://app.arcade.software/share/1QaTKUMxKMQbDgzpmfih>" flowId="1QaTKUMxKMQbDgzpmfih" %}

### Understanding the Rate Limit

* The rate limit defines the maximum number of API tests Akto will perform per minute.
* "No limit" means Akto will test APIs as fast as possible, without any rate restriction.
* Choose a limit that balances between thorough testing and the capacity of your API infrastructure.

### Use Cases

1. **Load Management**: Prevent overloading your API servers during testing phases.
2. **Realistic Testing**: Simulate real-world API usage patterns by limiting the test rate.
3. **Resource Optimization**: Manage resource allocation between testing and production environments.

### Best Practices

1. Start with a lower limit and gradually increase it to find the optimal testing speed for your environment.
2. Consider your API's normal traffic patterns when setting the limit.
3. Adjust the limit based on the time of day or your application's peak/off-peak hours.
4. For critical or high-load systems, maintain a conservative rate limit to ensure stability.

### Troubleshooting

* If you encounter timeouts or errors during testing, consider lowering the rate limit.
* For faster test completion, increase the rate limit, but monitor your API's performance closely.

Remember, the ideal rate limit depends on your specific API infrastructure and testing requirements. Regularly review and adjust this setting as your API ecosystem evolves.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akto.io/api-security-testing/how-to/configure-global-rate-limit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
