全部搜尋項
forky  ] [  sid  ]
[ 原始碼: pyrate-limiter  ]

套件:python3-pyrate-limiter(3.9.0-1)

python3-pyrate-limiter 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 pyrate-limiter

維護小組:

外部的資源:

相似套件:

Request rate limiter using a leaky-bucket algorithm

This library implements a request rate limiting system utilizing the leaky- bucket algorithm. It tracks multiple rate limits and intervals as defined by users, offering both synchronous and asynchronous operation modes. The library can independently monitor rate limits for different services or resources, managing exceeded limits by raising exceptions or imposing delays on requests. It supports a range of backends such as in-memory, SQLite, Redis, and PostgreSQL, which facilitates the persistence of limit tracking across multiple threads or application restarts. This is particularly useful in environments with variable request loads, ensuring compliance with service constraints without exceeding predefined request thresholds.

其他與 python3-pyrate-limiter 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-pyrate-limiter

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 339。2 kB1,462。0 kB [檔案列表]