-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request help: APIs too many cause 503 + proxy delay too much #4240
Comments
监控get /routes信息太多 好像和之前的类似 |
How many routes do you have? |
|
using etcdctl tools I could pull all routes(size 7M) which means the etcd server allow to fetch such size message, but with APISIX cause error--get_format(): body contains : grpc received message larger than max (705561 vs. 4194304) |
Maybe you can upgrade the hardware of etcd cluster, see https://etcd.io/docs/v3.4/op-guide/hardware/ As for the "received message larger than max ", there is an issue in etcd: etcd-io/etcd#12576 |
Thanks, we have a look. Is there a schedule for optimization of apisix, pull less data or compress? Because the resource cost is limited in Company sometimes |
We have plan to optimize the etcd operation, but currently we don't have enough people to work on it, so it can't be done in a few months. |
Is there any direction for reference, first time in making research on etcd |
Fixed by etcd-io/etcd#13077 which is included in the https://github.com/etcd-io/etcd/releases/tag/v3.5.0 |
Issue description
Our product environment has too many APIs, and the process of get info from etcd will be slow,
I wanna know if the prefix get method could be improve. OR is there similar issue I could refer
Environment
CentOS7
Request help without environment information will be ignored or closed.
apisix version
):uname -a
):nginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):The text was updated successfully, but these errors were encountered: