Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement RPM Throttling for Agents and Teams #29

Open
darielnoel opened this issue Aug 14, 2024 · 0 comments
Open

Implement RPM Throttling for Agents and Teams #29

darielnoel opened this issue Aug 14, 2024 · 0 comments
Labels
core Fundamental operations and essential features of AgenticJS feature New feature or request library Issues and enhancements directly related to the codebase of the library component of the project. performance

Comments

@darielnoel
Copy link
Contributor

Description:
Introduce Request Per Minute (RPM) throttling to manage and limit the number of requests an agent or team can make within a minute. This feature helps avoid hitting rate limits of external services and ensures fair usage of resources across the community.

Problem to Solve:
Prevent agents and teams from excessive requests that could lead to service disruptions or rate limit violations, which might affect stability and usability for the entire community.

Goals:

  1. Flexibility: Allow community members to set custom RPM limits or use default settings.
  2. Monitoring: Implement a monitoring system to track requests and enforce limits in real-time.
  3. Feedback Mechanism: Provide immediate feedback to the community if RPM limits are approached or exceeded.

Implementation Steps:

  • Design and integrate a monitoring system that tracks the number of requests per minute.
  • Develop functionality to set and modify RPM limits via the user interface.
  • Ensure that operations pause or adjust dynamically when RPM thresholds are reached.

Testing:

  • Test under various load conditions to ensure the RPM limits are enforced without disrupting user experience.
  • Ensure that all interfaces for setting RPM are user-friendly and error-proof.

Documentation:

  • Update the documentation to include guidelines on how to set and manage RPM limits.
  • Offer troubleshooting tips for common issues related to RPM throttling.

This enhancement will improve system management and help maintain smooth operation by preventing potential overload scenarios.

@darielnoel darielnoel added feature New feature or request library Issues and enhancements directly related to the codebase of the library component of the project. core Fundamental operations and essential features of AgenticJS labels Aug 14, 2024
@darielnoel darielnoel removed the status in KaibanJS Roadmap Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Fundamental operations and essential features of AgenticJS feature New feature or request library Issues and enhancements directly related to the codebase of the library component of the project. performance
Projects
None yet
Development

No branches or pull requests

1 participant