Skip to content

fix(rate limiter) Add table rate limiter to every relevant table#2053

Merged
fpacifici merged 1 commit into
masterfrom
fix/add_rate_limiter_everywhere
Aug 12, 2021
Merged

fix(rate limiter) Add table rate limiter to every relevant table#2053
fpacifici merged 1 commit into
masterfrom
fix/add_rate_limiter_everywhere

Conversation

@fpacifici

Copy link
Copy Markdown
Contributor

This is still not ideal as it is per table but there are multiple tables per cluster.
Though better than relying on the global rate limit.

The next step will be to actually make it parametric so different storages can use the same cluster

@fpacifici fpacifici requested a review from a team August 12, 2021 17:32
@codecov-commenter

codecov-commenter commented Aug 12, 2021

Copy link
Copy Markdown

Codecov Report

Merging #2053 (9f3d137) into master (4f9b3fb) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2053   +/-   ##
=======================================
  Coverage   91.25%   91.25%           
=======================================
  Files         506      506           
  Lines       22001    22004    +3     
=======================================
+ Hits        20076    20079    +3     
  Misses       1925     1925           
Impacted Files Coverage Δ
snuba/datasets/storages/outcomes.py 100.00% <100.00%> (ø)
snuba/datasets/storages/sessions.py 100.00% <100.00%> (ø)
snuba/datasets/storages/transactions.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f9b3fb...9f3d137. Read the comment docs.

@fpacifici fpacifici merged commit dfc004d into master Aug 12, 2021
@fpacifici fpacifici deleted the fix/add_rate_limiter_everywhere branch August 12, 2021 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants