openimsdk / openim-sdk-core

Instant Messaging
https://openim.io
Apache License 2.0
344 stars 311 forks source link

Bug: press test program User login sending message is extremely slow slowly #127

Open BanTanger opened 1 year ago

BanTanger commented 1 year ago

What happened?

The logic of the pressure test program script is as follows:

  1. Administrator invites 1,000 users to enter the group
  2. Use the user to send a message immediately after entering the group

But the situation found on APK Android is as follows:

Slow message sending:

At the beginning, the news 1s Send one (user initialize and send a message immediately to the group chat)

image

When the news is sent to the slower and slower, even 1min sends one

image

Session message loss:

Scenario description: After the user enters the session, hang the background for 10 minutes, and re -enter the Openim apk client to have a session loss. There is no synchronization

image

If you want to synchronize, you must re -enter the session

image

What did you expect to happen?

None

How can we reproduce it (as minimally and precisely as possible)?

  1. git clone OpenIMSDK/openim-sdk-core and find testv3 run Test_SendMsgByGroup_Batch
  2. apk android client create group and open the permissions that everyone can enter the group
  3. test funcation groupID change to the newly created group ID for testing image

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

kubbot commented 12 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

kubbot commented 11 months ago

This issue was closed because it has been stalled for 7 days with no activity.