dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
845 stars 465 forks source link

Spike: Investigate rate limiting or other controls for AI APIs #27501

Open john-thomas-dotcms opened 7 months ago

john-thomas-dotcms commented 7 months ago

We need to investigate and define what it would take to add rate limiting to the dotAI APIs. There are sure to be patterns we can use for this; we need to figure out which one(s) would make the most sense.

Rate limiting could be applied in different ways:

Limits could be determined by different metrics:

Requirements:

In an ideal implementation:

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

sfreudenthaler commented 2 weeks ago

FYI @john-thomas-dotcms we're looking at rate-limiting in the context of other API endpoints. Let me know if you want to jam together