![]() ![]() Who are likely to see benefits running Folia? The entire process of region creation, merge, and separation is handled by the Regioniser governed by Fundamental regionising logic. It is important to note that for any non-dead region x, that for each chunk position y it owns that there is no other non-dead region z such that the region z owns the chunk position y. Instead, it is defined as follows:Ī region is simply a set of owned chunk positions and implementation defined unique data object tied to that region. It is worth noting that the "region" referred to in Folia is not the same as the region in Vanilla Minecraft. Note that each region does not have a unique thread, but rather shares threads from a configurable threadpool.įor a server with many spread out players, Folia will create many spread out regions and tick them all in parallel - which will perform significantly better than the current method of ticking all worlds one after the other. There is no main thread anymore, as each region effectively has its own "main thread" that executes the entire tick loop. The tick loops are executed on a thread pool in parallel. Last updated: June 27th, 2023 for Folia version 1.20.1įolia groups nearby loaded chunks to form an "independent region." Each independent region has its own tick loop, which is ticked at the regular Minecraft tickrate (20TPS). The purpose of this article is to present the information in an easy-to-understand format and provide some detailed insights that may not necessarily be included in the official announcement. ![]() The goal of the Folia project is to provide a no-compromise solution for a true multithreaded server, achieved through a brand new set of APIs designed specifically for this environment. Spottedleaf has systematically tackled the roadblocks in Vanilla Minecraft that prevented all previous attempts at multithreading by countless other developers and projects. Originally started in August 2020, just before Tuinity merged with Paper, Folia represents the culmination of a series of prerequisite patches, including Starlight, player chunkmap, and chunk rewrite which were added onto Paper in the last few years. The goal of this project is to provide better scalability and performance, while fixing a few longstanding issues that have been the limiting factor to scaling up a Minecraft server.įolia is a fork of Paper by none other than the Minecraft optimization legend Spottedleaf. Folia is the latest project under the PaperMC organization, which aims to achieve true multithreading and regionalized ticking. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |