It’s Monday on PC Gamer and we haven’t had any chat on the hot server yet: but fear not! The upcoming Minecraft game with serious ambition is about to change all that, and it could have a broader impact on the platform’s future. Basically, it comes down to one problem: Minecraft-as-is processes all server-related information on a single (single-threaded) CPU. So you can have the biggest and most beautiful computer in the world, but once it handles several dozen or even hundreds of players, you will get massive performance, the server hash rate will drop to the point. It’s unplayable, and no one is having fun.
The world record for concurrent Minecraft players in one world is 2622, a chaotic feat as none of these players could do anything but they were there. This was not good enough for programmer Jackson Roberts, who at the beginning of 2020 wanted a security project, and decided to create a huge Minecraft server that could host thousands of players without delay. Minecraft’s current single-thread server software was clearly not quite up to the job, so Roberts and collaborator Harvey298 decided they would work out how to build their own system, calling Project Mammoth.
first attempt , As Roberts explains,It was a proof-of-concept system that divided the Minecraft world into 1024 blocks each powered by their own server: boundary regions synchronized and servers moved moving objects between each other. However, there were a lot of issues: players couldn’t see each other “across” the servers, the descent of one server made this part of the world inaccessible, and the solution basically didn’t solve anything if too many players gathered in a small area.
After this experience, Roberts set a set of goals for Mammoth, including: Players must be able to see each other, even if they are in different server operations; When a player places a block or updates a banner, it must be immediately visible to all other players; If a single server goes down, the entire world must still be available; If necessary, servers can be added or removed at will to adapt to the number of players.
The idea he came up with was a back-end central database that could communicate between Minecraft servers as they come and go, constantly passing messages about, for example, a player’s movements. After trying some existing software like redis and SpatialOS Roberts, he found them unsuitable for his purposes, and as they do, he decided to build his own software, WorldQL, which he described as a “programmable real-time spatial database designed for multiplayer games.” [which] It can replace traditional game servers or use it to load existing servers. “
So: The new version of Mammoth, due out on September 8, is built on World QL which stores “all the permanent changes in the world and passes[es] Real-time player information (eg location) between servers. Essentially, each server continuously reports its data to World QL, which then asks other servers questions based on these reports: If it knows one player is close to the other, the first player’s server says it has moved, and WorldQL asks what the other does.
“In Mammoth, there is no single Minecraft server responsible for storing the world. All block changes from the seed core are stored centrally in WorldQL. These changes are indexed by block and time coordinates, so the Minecraft server can only request updates it needs since the last time segment has been synchronized.
Jackson’s post goes into more detail about exciting aspects like “real-time block synchronization,” message brokers, and the future possibilities of Minecraft mini-games built in the World QL scripting environment (because, by default, they’ll be able to take advantage of player scaling.) here Mammoth GitHub page.
Mammoth’s debut will be of particular interest to some of the more exotic Minecraft communities, such as those who love to play On chaos servers, in addition to enabling a whole host of other large-scale activities that were previously not possible. Expect to see this tested on servers like 2b2t, and if it works as intended without getting caught, it quickly becomes part of the scene. As you can see on our site List of the best Minecraft serversPeople never stop coming up with weird and wonderful ways to play, and if Mammoth can deliver speech, his influence may live up to the name.