[RHIDP-13061] Add Rate Limiting for Lightspeed Plugin#3531
Conversation
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Changed Packages
|
599e82e to
b137cdb
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #3531 +/- ##
==========================================
+ Coverage 53.74% 53.77% +0.02%
==========================================
Files 2274 2275 +1
Lines 86858 86897 +39
Branches 24272 24284 +12
==========================================
+ Hits 46683 46727 +44
+ Misses 39974 39969 -5
Partials 201 201
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
PR Summary by QodoAdd per-user rate limiting to Lightspeed backend (incl. Notebooks) Description
Diagram
High-Level Assessment
Files changed (12)
|
Code Review by Qodo
Context used✅ Tickets:
RHIDP-13061 1.
|
The architecture of Lightspeed should be revisited in the future to look into implementing non-memory only solutions for rate limiting. Currently it is assumed RHDH/Lightspeed is running in a single instance, but extending it to allow for a configurable redis store would be nice to have. |
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
… rate limit -> permission check ordering to reduce redundant permission checks Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
4154c15 to
b039138
Compare
|



Hey, I just made a Pull Request!
Fixes https://redhat.atlassian.net/browse/RHIDP-13061
✔️ Checklist