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

Add basic application rate limits to appview #1902

Merged
merged 41 commits into from
Dec 5, 2023
Merged

Conversation

dholms
Copy link
Collaborator

@dholms dholms commented Nov 29, 2023

Now that we have redis in the mix, this adds two basic global rate limits to the appview:

  • 3000 unauthed reqs/5 min per IP
  • 3000 authed reqs/5 min per DID

Note: we need to ensure we don't rate limit the CDN

Base automatically changed from revamped-label-cache to main December 5, 2023 19:53
@dholms dholms merged commit af3e33a into main Dec 5, 2023
10 checks passed
@dholms dholms deleted the appview-rate-limiting branch December 5, 2023 22:33
estrattonbailey added a commit that referenced this pull request Dec 8, 2023
…hould-show-own-threads

* origin:
  Version packages (#1945)
  Strip trailing colons from link detection, add test (#1944)
  Add labels to actor search typeahead results (#1940)
  Version packages (#1938)
  Bump api package for no-unauthenticated PR (#1937)
  Add !no-unauthenticated imperative label (#1926)
  Fail open on did cache (#1934)
  Appview rate limits parse cidr block (#1932)
  Tweak rate limit cfg (#1931)
  Set trust proxy on appview for xff headers (#1930)
  Transfer with-friends & best-of-follows to feed generator (#1919)
  Add basic application rate limits to appview (#1902)
  Cache tweaks (#1929)
  Fix typo in service entry
  Import redis in service entry
  Cache labels in Redis (#1897)
  ♻️ Cleanup linter warnings (#1907)
  fix(bsky): cf image invalidator not taken into account when bunny used (#1823)
  pre-compile handlebar templates at build time (#1833)
  feat: infer definition type from "types" argument in getDefOrThrow (#1812)
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.

2 participants