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

Distributed ban list #2

Open
karashiiro opened this issue Sep 17, 2021 · 5 comments
Open

Distributed ban list #2

karashiiro opened this issue Sep 17, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@karashiiro
Copy link
Owner

The ban list should be shared across instances using some sort of distributed store, like TiDB. Some sort of hook will be needed to read the server's ban lists into the database, and read bans back from the database.

@karashiiro karashiiro added the enhancement New feature or request label Sep 17, 2021
@karashiiro
Copy link
Owner Author

See #11, a hook should not be used for this.

@karashiiro
Copy link
Owner Author

I have been informed that TiDB is not appropriate here. It's still MariaDB time.

@karashiiro
Copy link
Owner Author

I might create new data folders for each instance and set up a watch on those folders that writes to the database appropriately. When new data folders are created, they'll be populated from the database.

@karashiiro
Copy link
Owner Author

I should also create a tool that seeds the DB from an existing ban list for migration purposes.

@karashiiro
Copy link
Owner Author

This might be better generalized as a generic settings sync, perhaps through some diff algorithm, or even just Git.

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
None yet
Development

No branches or pull requests

1 participant