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

New Feature HA: Add Support to High Available mode #58

Closed
huan opened this issue Mar 7, 2020 · 11 comments
Closed

New Feature HA: Add Support to High Available mode #58

huan opened this issue Mar 7, 2020 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@huan
Copy link
Collaborator

huan commented Mar 7, 2020

The Problem

Currently we have only one bot on WeChat, which means that if the bot was offline, then our service will be stopped.

The Solution

Use two (3 or even 4 will be better) WeChat bot at the same time, with the different wechaty-puppet providers (for example: padplus + windows).

So when an issue event has come, we can use a RR (round robin) or other very easy to implementing algorithm to make our service both load-balancable and high-available.

@huan huan self-assigned this Mar 7, 2020
@huan huan added the enhancement New feature or request label Mar 7, 2020
@zhuangbiaowei
Copy link
Member

+1

1 similar comment
@francis-du
Copy link
Member

+1

@huan
Copy link
Collaborator Author

huan commented Mar 8, 2020

If we have multiple bots for HA mode (the bots that registered to serve the OSS projects), then if one bot was invited to a room, the bot should invite all its teammates (all other bots that can serve as ossbot) to that room, so that all the bots can send message card in that room.

@davidzollo
Copy link
Contributor

+1

@davidzollo
Copy link
Contributor

davidzollo commented Mar 12, 2020

Jiarui, Huan: when the robot not online, it needs to login again, and then it will offline and can't work.
If there are two robots online, the probability of disconnection can be reduced. Two robots need to be in a group


Jiarui、Huan:机器人掉线需要重新登录,这时候就掉线了
如果有2个机器人在线,可以降低掉线的概率,需要2个机器人都在一个群里

@davidzollo
Copy link
Contributor

Assignees:dailidong

@tedliu1
Copy link
Member

tedliu1 commented Mar 12, 2020

+1

@huan
Copy link
Collaborator Author

huan commented Mar 12, 2020

@zhuangbiaowei I'm looking forward to putting our new OSSChat bot online with the current one!

@davidzollo
Copy link
Contributor

any update? haha

@huan
Copy link
Collaborator Author

huan commented Mar 17, 2020

It's currently on the waiting list.

Please stay tuned!

@huan huan added this to In progress in Feature Requests Apr 1, 2020
@huan
Copy link
Collaborator Author

huan commented Apr 2, 2020

Close via meeting.

@huan huan closed this as completed Apr 2, 2020
Feature Requests automation moved this from In progress to Done Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

5 participants