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

Sharding implementation #58

Closed
kimjunsung04 opened this issue Jul 19, 2023 · 15 comments
Closed

Sharding implementation #58

kimjunsung04 opened this issue Jul 19, 2023 · 15 comments

Comments

@kimjunsung04
Copy link

An error occurs for bots that require shading.
Like that video, you fell into an infinite loop after a warning message occurred.
Is it a problem that can be solved?

2023-07-20.02-59-27.mp4
@kimjunsung04
Copy link
Author

It's good if it can be solved by personal wish :)

@aiko-chan-ai
Copy link
Owner

😭

@aiko-chan-ai
Copy link
Owner

How many guilds does your bot have?

@kimjunsung04
Copy link
Author

How many guilds does your bot have?

About 30000 servers are participating

@aiko-chan-ai
Copy link
Owner

I'm thinking 2 implementations:

  • 1: each electron window is a shard, but there will be problems with RAM
  • 2: use only one shard, but must use command to switch

😭

@kimjunsung04
Copy link
Author

Switching each shard also seems like a good idea!

@kimjunsung04
Copy link
Author

Showing many servers in one window can obviously cause performance problems.

@aiko-chan-ai
Copy link
Owner

Showing many servers in one window can obviously cause performance problems.

@kimjunsung04
Copy link
Author

In conclusion, is this problem correctable?

@aiko-chan-ai
Copy link
Owner

In conclusion, is this problem correctable?

maybe...

@kimjunsung04
Copy link
Author

In conclusion, is this problem correctable?

maybe...

I will support you!!

@aiko-chan-ai
Copy link
Owner

aiko-chan-ai commented Jul 20, 2023

it's done
I hope it works well

(200 guilds / 1 shard)

image
image
image

@aiko-chan-ai
Copy link
Owner

v2.4.1

@aiko-chan-ai aiko-chan-ai changed the title Shading implementation Sharding implementation Jul 20, 2023
@kimjunsung04
Copy link
Author

It works fine!
It's very interesting Thank you!

@BachLe2000
Copy link

totally not a privacy issue :clueless:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants