Skip to content

feat: centralized counter for limit conn and limit req #10501

Description

@shreemaan-abhishek

Description

The limit-count plugin allows using redis or redis-cluster policy to centralise the counter for rate limiting.

Rate-limiting policies to use for retrieving and increment the limit count. When set to local the counters will be locally stored in memory on the node. When set to redis counters are stored on a Redis server and will be shared across the nodes. It is done usually for global speed limiting, and setting to redis-cluster uses a Redis cluster instead of a single instance.

This is specially helpful when there are multiple instances of APISIX.

We should support similar feature for limit-conn and limit-req as well.

Metadata

Metadata

Assignees

Type

No type

Projects

Status
✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions