How can I reuse connections in dubbo-proxy?
Description
I've tested to find that, apisix establishes a short connection to dubbo backend service when proxying a http request.
Environment
- APISIX version (run
apisix version): 3.1.0 - Operating system (run
uname -a): centos7 - OpenResty / Nginx version (run
openresty -Vornginx -V): 1.21.4 - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info): 3.4.0 - APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version):
It seems that ngx_stream_multi_upstream_module in Tengine(which is not maintained any more) controls connections.
Any suggestions or help will be much appreciated. Thanks in advance.
The dubbo feature is powered by ngx_stream_multi_upstream which is maintained by APISIX:
https://github.com/api7/ngx_multi_upstream_module
And I see that the connection pool is supported:
https://github.com/apache/apisix/pull/4506/files
The dubbo feature is powered by
ngx_stream_multi_upstreamwhich is maintained by APISIX: https://github.com/api7/ngx_multi_upstream_module And I see that the connection pool is supported: https://github.com/apache/apisix/pull/4506/files
Thank you for reply.
- /api7/ngx_multi_upstream_module is actually exacted from tengine-2.3.2 (https://github.com/alibaba/tengine/tree/master/modules/ngx_multi_upstream_module) , as you can see it in readme.md
- keepalive doesn't work with dubbo, mentioned in nginx.conf (or cli/ngx_tpl.lua).
In my current conlusion, dubbo_proxy is not suitable for prod env. since its weakness in:dubbo group not support\short connection\original module not maintained. Any further discussions are welcomed.
does dubbo_proxy support keepalive or multi ?
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.