apache / apache/apisix

help request: performance with blacklist plugins

Open
#12,692 11 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Lua
Stars
17.1k
Forks
2.9k
Avg merge
3d 16h
Merged PRs (30d)
63

Description

### Description

When I use the ip-restriction plugin and configure 2000 IP lists at the same time, the TP99 of apisix will increase significantly. Is this because apisix will be blocked when loading too much etcd data? Is there any good way to solve this problem?

### Environment

- APISIX version (run `apisix version`): 3.5
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 1.21.4.2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported APISIX 3.5 setup with the ip-restriction plugin, 2,000 IP lists, and the stated OpenResty/Nginx versions. Measure TP99 while the configuration is loaded and inspect whether etcd data loading correlates with the latency increase; done means the cause is established and a supported remedy is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
backend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.