Closed Q2297045667 closed 1 day ago
Are you talking about Folia the paper fork?
Are you talking about Folia the paper fork?
yes
Sounds like this solution is optimal when your System has a large amount of Threads. We usually use Threads carefully because we want to support low-end Hardware. Currently we use tokio for Networking, Which handles Networking Async. In the End im pretty sure Pumpkin will be still faster than Paper/Folia or all other Forks which use the Unoptimized Vanilla Code.
I've searched existing issues and couldn't find a duplicate.
Is your feature request related to a problem? Please describe.
Is there any plan in the future to consider incorporating Folia's block system? In my opinion, Rust's ownership model is ideally suited for this task.
Describe the solution you'd like
Overview
Folia groups nearby loaded chunks to form an "independent region." See the PaperMC documentation for exact details on how Folia will group nearby chunks. Each independent region has its own tick loop, which is ticked at the regular Minecraft tickrate (20TPS). The tick loops are executed on a thread pool in parallel. There is no main thread anymore, as each region effectively has its own "main thread" that executes the entire tick loop.
For a server with many spread out players, Folia will create many spread out regions and tick them all in parallel on a configurable sized threadpool. Thus, Folia should scale well for servers like this.
Folia is also its own project, this will not be merged into Paper for the foreseeable future.
A more detailed but abstract overview: Project overview.