Skip to content

Conversation

@0xnim
Copy link
Contributor

@0xnim 0xnim commented Nov 4, 2025

  • Add ThreadPoolManager with separate cpu_pool and io_pool
  • CPU pool uses all cores for compute-intensive tasks (terrain gen, compression)
  • I/O pool single-threaded to avoid LMDB write contention
  • Update ServerState to use ThreadPoolManager
  • Migrate all threadpool usage to appropriate pool type
  • Add documentation for pool usage guidelines

- Add ThreadPoolManager with separate cpu_pool and io_pool
- CPU pool uses all cores for compute-intensive tasks (terrain gen, compression)
- I/O pool single-threaded to avoid LMDB write contention
- Update ServerState to use ThreadPoolManager
- Migrate all threadpool usage to appropriate pool type
- Add comprehensive documentation for pool usage guidelines

BREAKING CHANGE: ThreadPool replaced with ThreadPoolManager in ServerState
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

Successfully merging this pull request may close these issues.

1 participant