mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
7b40d3af0d
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 |
||
---|---|---|
.. | ||
blobimport | ||
fastreplay | ||
hgserverconf | ||
lfs_server | ||
loadshedding | ||
megarepo | ||
observability | ||
pushredirect | ||
qps | ||
ratelimiting | ||
redaction | ||
repos | ||
tunables | ||
xdb_gc |