项目作者: sapcc

项目描述 :
OpenStack Rate Limit Middleware
高级语言: Python
项目地址: git://github.com/sapcc/openstack-rate-limit-middleware.git
创建时间: 2018-03-28T15:58:32Z
项目社区:https://github.com/sapcc/openstack-rate-limit-middleware

开源协议:Apache License 2.0

下载


OpenStack Rate Limit Middleware

Build Status License

The OpenStack Rate Limit Middleware enforces rate limits and enables traffic shaping for OpenStack APIs per tuple of

  • target type URI
  • action
  • scope (project, host address)

It also supports enforcing global and scoped rate limits.
More details can be found in the documentation.

Prerequisites

This middleware requires the classification for OpenStack requests.
The openstack-watcher-middleware can be used to classify requests
based on the DMTF CADF specification.
In terms of rate limiting, a request to an OpenStack service can be described by an action, target type URI and its scope.

Moreover, this middleware only works with Python 3 version and
uses Redis >= 5.0.0 as a backend to store rate limits.

It’s better to use Redis without persistent storage.

Documentation