Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: a large number of user group chats with a message (100,000 people chat test) #124

Closed
2 tasks done
BanTanger opened this issue Jul 18, 2023 · 4 comments · Fixed by #131
Closed
2 tasks done
Labels
feature Categorizes issue or PR as related to a new feature.

Comments

@BanTanger
Copy link
Contributor

BanTanger commented Jul 18, 2023

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the OpenIMSDK Slack and got positive feedback

Is this feature request related to a problem?

✅ Yes

Problem Description

None

Solution Description

A large number of user group chats with a message (100,000 people chat test)

100,000 people chat logic:

  1. Use the registration function to register 100,000 users
  2. Either 100,000 people and log in
  3. The administrator invites 100,000 users to enter the group in batches

use API InviteUserToGroup to achieve batch entry groups

adminUID := "openIM123456"
funcation.LoginOne(adminUID)
ctx := getCtx(adminUID)
err := funcation.AllLoginMgr[adminUID].Mgr.Group().InviteUserToGroup(ctx, groupID, "", uidList)
  1. 100,000 users send a message to the group chat

Benefits

It is convenient for friends who have just entered the community to conduct custom tests, and facilitate community projects to perform performance pressure testing

Potential Drawbacks

None

Additional Information

None

@BanTanger BanTanger added the feature Categorizes issue or PR as related to a new feature. label Jul 18, 2023
@kubbot kubbot changed the title Feature: Feature: Jul 18, 2023
@BanTanger BanTanger changed the title Feature: Feature: a large number of user group chats with a message (100,000 people chat test) Jul 18, 2023
BanTanger added a commit to BanTanger/openim-sdk-core that referenced this issue Jul 18, 2023
BanTanger added a commit to BanTanger/openim-sdk-core that referenced this issue Jul 19, 2023
@BanTanger
Copy link
Contributor Author

bug #127

@BanTanger
Copy link
Contributor Author

bug #128

@kubbot
Copy link
Contributor

kubbot commented Jul 19, 2023

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


bug #127

@kubbot
Copy link
Contributor

kubbot commented Jul 19, 2023

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


bug #128

BanTanger added a commit to BanTanger/openim-sdk-core that referenced this issue Jul 20, 2023
…dk#124) Signed-off-by: BanTanger <sharksharkchan@outlook.com>
BanTanger added a commit to BanTanger/openim-sdk-core that referenced this issue Jul 20, 2023
BanTanger added a commit to BanTanger/openim-sdk-core that referenced this issue Jul 20, 2023
BanTanger added a commit to BanTanger/openim-sdk-core that referenced this issue Jul 21, 2023
BanTanger added a commit to BanTanger/openim-sdk-core that referenced this issue Jul 21, 2023
@cubxxw cubxxw linked a pull request Jul 25, 2023 that will close this issue
5 tasks
github-merge-queue bot pushed a commit that referenced this issue Jul 25, 2023
…131)

* feat: add test function about user send msg P2P and Group

* feat: add test function about user sends messages to multiple sessions

* feat: add test function about user sends messages to multiple sessions

* update: doc

* feat: 100,000 group msg test

* feat: add test function about 1000 users join group send msg (#124)

* feat: add test function about 1000 users join group send msg (#124)

* feat: add test function about 1000 users join group send msg (#124) Signed-off-by: BanTanger <sharksharkchan@outlook.com>

* feat: add test function about 1000 users join group send msg (#124)

* feat: add test function about 1000 users join group send msg (#124)

* test: pressure test

* feat: implement register_manager.go

* test: init commit

* feat: add test function about 1000 users join group send msg (#124)

* feat: implement register_manager.go

* test: pressure test

* feat: implement register_manager.go

* test: pressure test

* test: pressure test

* feat: implement register_manager.go

* feat: implement register_manager.go

* feat: implement pressure_tester.go

* feat: implement pressure_tester.go

---------

Co-authored-by: wangchuxiao <wangchuxiao97@outlook.com>
github-merge-queue bot pushed a commit that referenced this issue Jul 26, 2023
* feat: add test function about user send msg P2P and Group

* feat: add test function about user sends messages to multiple sessions

* feat: add test function about user sends messages to multiple sessions

* update: doc

* feat: 100,000 group msg test

* feat: add test function about 1000 users join group send msg (#124)

* feat: add test function about 1000 users join group send msg (#124)

* feat: add test function about 1000 users join group send msg (#124) Signed-off-by: BanTanger <sharksharkchan@outlook.com>

* feat: add test function about 1000 users join group send msg (#124)

* feat: add test function about 1000 users join group send msg (#124)

* test: pressure test

* feat: implement register_manager.go

* test: init commit

* feat: add test function about 1000 users join group send msg (#124)

* feat: implement register_manager.go

* test: pressure test

* feat: implement register_manager.go

* test: pressure test

* test: pressure test

* feat: implement register_manager.go

* feat: implement register_manager.go

* feat: implement pressure_tester.go

* feat: implement pressure_tester.go

* feat: implement pressure_tester.go

* feat: implement pressure_tester.go

Signed-off-by: BanTanger <sharksharkchan@outlook.com>

* feat: implement pressure_tester.go

Signed-off-by: BanTanger <sharksharkchan@outlook.com>

---------

Signed-off-by: BanTanger <sharksharkchan@outlook.com>
Co-authored-by: wangchuxiao <wangchuxiao97@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants