openimsdk / open-im-server

IM Chat
https://openim.io
Apache License 2.0
13.73k stars 2.42k forks source link

Bug: encounter message delay with latest image #1589

Closed Sylariam closed 6 months ago

Sylariam commented 8 months ago

What happened?

Formally I successfully deployed OpenIM server and Chat (using Helm charts, to be specific) with version 3.4.0. Today I attempted to redeploy using the latest image. However, I noticed that the response time for message delivery, mark as read, and friend requests became exceptionally long, ranging from 1 to 20 seconds. When I rolled back to the v3.4.0 image, the issue was resolved.

In the logs of msg rpc service, there was a gap between sender successfully sent and receiver successfully received message.

What did you expect to happen?

shorter message delay

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

Using Chat demo(Andorid) and latest Server Image

Anything else we need to know?

Older version service and latest service were deployed in separate cluster. Using diffrent mw resources.

version

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

Cloud provider

aliyun

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 8 months ago

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

kubbot commented 6 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.