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

Redo chunk unloading #15

Open
astei opened this issue Oct 9, 2019 · 1 comment
Open

Redo chunk unloading #15

astei opened this issue Oct 9, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@astei
Copy link
Contributor

astei commented Oct 9, 2019

Right now, chunk unloading is done quite aggressively: if it's not a spawn chunk, once a chunk has been left by a player the chunk is queued for unload.

This is pretty bad as it puts pressure on the chunk provider (and by extension causes sync I/O). While async chunk loading allows the server to cope better with this, the current situation is not ideal. At the very least the I/O should be offloaded to the existing I/O thread pool.

@astei astei added the enhancement New feature or request label Oct 9, 2019
@astei
Copy link
Contributor Author

astei commented Feb 28, 2020

Current ideas for this:

  • Add a delay to chunk unloading (minor intensity)
  • Async saving (high intensity)

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