sapling/configerator/structs/scm/mononoke
Harvey Hunt 7b40d3af0d mononoke: Add new rate limiting library
Summary:
Add a new rate limiting library that also supports load shedding when
an individual server is overloaded. This library provides a few benefits:

- The code can be shared between the LFS server and Mononoke server.
- The library supports more complex expressions of which clients to apply a
  rate limit to (e.g. 10% of sandcastle and mactest machines).
- The rate limiting `Target` can be expanded in the future as the client
  provides more information (e.g. client region).
- Mononoke server will be able to loadshed if an individual host is overloaded,
  as we can currently do with the LFS server.

I've added this library as a separate crate rather than rewriting
`load_limiter` to make it easier to review. The next diff will make use of the
new library and remove the old one.

Reviewed By: StanislavGlebik

Differential Revision: D29396509

fbshipit-source-id: 2fbc04e266b18392062e6f952075efd5e24e89ba
2021-07-05 10:18:51 -07:00
..
blobimport autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
fastreplay Fix autocargo skew 2021-06-25 17:23:33 -07:00
hgserverconf Fix autocargo skew 2021-06-25 17:23:33 -07:00
lfs_server Fix autocargo skew 2021-06-25 17:23:33 -07:00
loadshedding Fix autocargo skew 2021-06-25 17:23:33 -07:00
megarepo Fix autocargo skew 2021-06-25 17:23:33 -07:00
observability Fix autocargo skew 2021-06-25 17:23:33 -07:00
pushredirect Fix autocargo skew 2021-06-25 17:23:33 -07:00
qps Fix autocargo skew 2021-06-25 17:23:33 -07:00
ratelimiting mononoke: Add new rate limiting library 2021-07-05 10:18:51 -07:00
redaction Create class to load redaction config from configerator 2021-06-30 08:57:30 -07:00
repos Sync changes from D29360425 to fbcode 2021-06-30 08:57:30 -07:00
tunables Fix autocargo skew 2021-06-25 17:23:33 -07:00
xdb_gc Fix autocargo skew 2021-06-25 17:23:33 -07:00