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

Saving too many players data causes problems #19

Open
Florke64 opened this issue Sep 7, 2020 · 0 comments
Open

Saving too many players data causes problems #19

Florke64 opened this issue Sep 7, 2020 · 0 comments
Assignees
Labels
known issue Issues that are known and should be kept in mind while using software

Comments

@Florke64
Copy link
Owner

Florke64 commented Sep 7, 2020

This is very abstract situation, but...

If there was ~10k new players during one plugin's runtime and EVERY ONE OF THEM did a statistic and/or drop config update (generally amended own Player's Data) - by breaking stone, leveling-up or filtering custom drops - and (even more abstract) they will stay on your server (assuming you have that many slots) and there will be somehow auto-save or plugin reload (causing saving unsaved data into database): server can basically have issues uploading that data.

I could potentially make it better but it will require making separate methods for different "database save types" - it will then cause additional effort to maintain everything correctly if database inserting code need updating...

@Florke64 Florke64 added the known issue Issues that are known and should be kept in mind while using software label Sep 7, 2020
@Florke64 Florke64 self-assigned this Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
known issue Issues that are known and should be kept in mind while using software
Projects
None yet
Development

No branches or pull requests

1 participant