apache / dubbo-getty

a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Apache License 2.0
218 stars 69 forks source link

Sessions are broken unexpectedly in high-concurrent scenarios #94

Closed justxuewei closed 2 years ago

justxuewei commented 2 years ago

What happened:

As title implied, I found sessions are broken unexpectedly in high-concurrent scenarios when I tested the adaptive service.

Here are some logs:

What you expected to happen:

The session shouldn't close unexpectedly.

How to reproduce it (as minimally and precisely as possible):

You may refer to demo, and the environmental variables for the client are listed at below:

DUBBO_GO_CONFIG_PATH=<YOUR CONFIG PATH>;TPS=250;DURATION=1m;FUNC_NAME=FIBONACCI;FIBONACCI_N=1;FIBONACCI_WORKER_NUM=1;SLEEP_DURATION=2000

To avoid the impact of the adaptive service, you may comment the adaptive-service: true both in the server config and in the client config.

Anything else we need to know?: