-
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
help request: Can i use etcd's gRPC proxy as apisix's etcd? #7862
Comments
No, you cannot (at least for now). The ETCD proxy is just a transparent proxy and you still have to use the gRPC protocol from APISIX, which has not been supported yet. |
@tokers fine,but if i want to decrease watch numbers(because my etcd cluster is high load),what should i do?modify the config_etcd.lua's syncdata function? |
That would be error prone. We are releasing the apisix 3.0 which will use gRPC to communicate with etcd. |
that's exciting,when we can use it? |
A preview version of 3.0 will be released at the end of September. |
3.0 has been Released. But it seems that the grpc part is not included? |
ref: #8229 (comment) |
The gRPC support has now been removed: #10015 |
Description
i know that apisix's watch is based on http/1.1,so if i have many route or upstream,apisix will make lots of post request to etcd(such as this paper:https://apisix.apache.org/zh/blog/2021/08/10/apisix-nginx/#%E5%9F%BA%E4%BA%8E-etcd-watch-%E6%9C%BA%E5%88%B6%E7%9A%84%E9%85%8D%E7%BD%AE%E5%90%8C%E6%AD%A5%E6%96%B9%E6%A1%88)
so can i use etcd's gRPC proxy(https://etcd.io/docs/v3.5/op-guide/grpc_proxy/) to coalesce watch and improve my performance?if it can be use,why i have some errors in logs,and how can i to fix it ?(i make sure etcd is work,i can use client to control etcd cluster)
Environment
apisix version
):v2.15uname -a
):centosopenresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):v3.5luarocks --version
):The text was updated successfully, but these errors were encountered: