You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use wrk test apisix dubbo-proxy performance,wrk may receive http status 504 when performance test Just started。After some time it will always receive 200 OK。
It may due to apisix new connection Establish with dubbo-backend
wrk result may look like:
2 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 10.66ms 9.53ms 309.91ms 99.07%
Req/Sec 4.98k 387.98 5.89k 71.55%
172430 requests in 17.41s, 30.92MB read
Non-2xx or 3xx responses: 28
Requests/sec: 9905.90
Transfer/sec: 1.78MB
deployment:
#role: data_plane
#role_data_plane:
# config_provider: yaml
admin_key_required: false
admin:
admin_key:
- name: admin
key: edd1c9f034335f136f87ad84b625c8f1 # using fixed API token has security risk, please update it when you deploy to production environment
role: admin
allow_admin: # Limit Admin API access by IP addresses.
- 0.0.0.0/0 # If not set, any IP address is allowed.
# - "::/64"
admin_listen: # Set the Admin API listening addresses.
ip: 0.0.0.0 # Set listening IP.
port: 9180 # Set listening port. Beware of port conflict with node_listen.
etcd:
host: # Set etcd address(es) in the same etcd cluster.
- "http://xxxxxx:2381" # If TLS is enabled for etcd, use https://127.0.0.1:2379.
apisix:
control:
ip: 0.0.0.0
port: 9090
plugins:
- dubbo-proxy
plugin_attr:
dubbo-proxy:
upstream_multiplex_count: 2
nginx_config:
worker_processes: 1
APISIX version (run apisix version): 3.6.0
Operating system (run uname -a): Linux 5878cfa3eb6a 3.10.0-1160.25.1.el7.x86_64 change: added doc of how to load plugin. #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64 GNU/Linux
OpenResty / Nginx version (run openresty -V or nginx -V): /1.21.4.2
etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
APISIX Dashboard version, if relevant:
Plugin runner version, for issues related to plugin runners:
LuaRocks version, for installation issues (run luarocks --version):
Current Behavior
When I use wrk test apisix dubbo-proxy performance,wrk may receive http status 504 when performance test Just started。After some time it will always receive 200 OK。
It may due to apisix new connection Establish with dubbo-backend
wrk result may look like:
Non-2xx or 3xx responses: 28
Expected Behavior
no 504 when use dubbo-proxy
Error Logs
Steps to Reproduce
Environment
I use the apache/apisix image。below is config
apisix version
): 3.6.0uname -a
): Linux 5878cfa3eb6a 3.10.0-1160.25.1.el7.x86_64 change: added doc of how to load plugin. #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64 GNU/Linuxopenresty -V
ornginx -V
): /1.21.4.2curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):dubbo backend:
java -Djava.net.preferIPv4Stack=true -jar dubbo-demo-provider.one-jar.jar
https://github.com/apache/dubbo-samples/tree/master/2-advanced/dubbo-samples-tengine
The text was updated successfully, but these errors were encountered: