Мы в Telegram
Добавить новость

Во Дворце культуры Люберец проведут ремонт холла и первого этажа

Сбер профинансирует крупный инвестиционный проект в Московской области

Бывшего вице-губернатора Кубани Власова заключили под стражу

Подмосковный колледж «Энергия» отметил 225 лет со дня рождения Пушкина





Новости сегодня

Новости от TheMoneytizer

Minecraft mod Mammoth will allow servers to host thousands of players without keeling over

Releases in a couple of days.

It's Monday on PC Gamer and we haven't had any hot server chat yet: but fear not! An upcoming Minecraft mod of serious ambition is about to change all that, and may even have a wider impact on the platform's future. Essentially, it comes down to one problem: Minecraft-as-is processes all information about a server on a single CPU (single-threaded). So you could have the biggest and beefiest PC in the world but, as soon as it's having to deal with multiple dozens or even hundreds of players, you're going to get a huge performance hit, the server's tick rate will decrease to the point it's unplayable, and no-one's having fun.

The 'world record' for concurrent Minecraft players in a single world is 2622, a messy accomplishment where none of those players was able to actually do anything but, hey, they were there. This just wasn't good enough for coder Jackson Roberts, who at the beginning of 2020 wanted a lockdown project, and decided to create a gigantic Minecraft server that could host thousands of players without lag. Minecraft's existing single-threaded server software clearly wasn't up to the job so Roberts and collaborator Harvey298 decided they would work out how to build their own, calling the project Mammoth.

The first attempt, as Roberts explains, was a proof-of-concept system that chopped up a Minecraft world into 1024 blocks which were each run by their own server: the border areas synchronised and servers transferred moving objects between one another. However, it had too many issues: players couldn't see each other 'across' servers, one server going down rendered that portion of the world inaccessible, and fundamentally the solution didn't solve anything if lots of players congregated in a small area.

After this experience Roberts set a bunch of goals for Mammoth, including: Players must be able to see each other, even if on different server processes; When a player places a block or updates a sign, it should be immediately visible to all other players; If one server is down, the entire world should still be accessible; If needed, servers can be added or removed at-will to adapt to the amount of players.

The idea that he came up with was a centralised, backend database that could communicate between Minecraft servers as they popped in and out of existence, and continually pass messages about, for example, player movements. After trying some existing software such as redis and SpatialOS Roberts found it unfit for his purposes and, as you do, decided to build his own software, WorldQL, which he describes as "a real-time, scriptable spatial database built for multiplayer games [which] can replace traditional game servers or be used to load balance existing ones."

So: the new version of Mammoth, which is due to release on September 8, is built on World QL which stores "all permanent world changes and pass[es] real-time player information (such as location) between servers." Basically, each server is constantly reporting its data to World QL, which is then asking questions of other servers based on these reports: if it knows one player is near another, and the first player's server says they've moved, WorldQL asks what the other one is doing.

"In Mammoth, no single Minecraft server is responsible for storing the world. All block changes from the base seed are centrally stored in WorldQL. These changes are indexed by chunk coordinate and time, so a Minecraft server can request only the updates it needs since it last synced a chunk."

Jackson's post goes into more detail on exciting aspects like "real-time block synchronisation", message brokers and the future potential for Minecraft mini-games created in World QL's scripting environment (because, by default, they'll be able to take advantage of the player scaling.) Here is Mammoth's github page.

The debut of Mammoth will be of particular interest to some of Minecraft's more unusual communities, such as those that like playing on anarchy servers, as well as enabling a whole host of other large-scale activities that previously just weren't possible. Expect to see this being tested out on servers like 2b2t and, if it works as claimed without falling over, quickly becoming part of the scenery. As you can see in our list of the best Minecraft servers, people never stop coming up with weird and wonderful ways to play and, if Mammoth can deliver on the talk, its impact may well live up to the name.

Читайте на 123ru.net


Новости 24/7 DirectAdvert - доход для вашего сайта



Частные объявления в Вашем городе, в Вашем регионе и в России



Smi24.net — ежеминутные новости с ежедневным архивом. Только у нас — все главные новости дня без политической цензуры. "123 Новости" — абсолютно все точки зрения, трезвая аналитика, цивилизованные споры и обсуждения без взаимных обвинений и оскорблений. Помните, что не у всех точка зрения совпадает с Вашей. Уважайте мнение других, даже если Вы отстаиваете свой взгляд и свою позицию. Smi24.net — облегчённая версия старейшего обозревателя новостей 123ru.net. Мы не навязываем Вам своё видение, мы даём Вам срез событий дня без цензуры и без купюр. Новости, какие они есть —онлайн с поминутным архивом по всем городам и регионам России, Украины, Белоруссии и Абхазии. Smi24.net — живые новости в живом эфире! Быстрый поиск от Smi24.net — это не только возможность первым узнать, но и преимущество сообщить срочные новости мгновенно на любом языке мира и быть услышанным тут же. В любую минуту Вы можете добавить свою новость - здесь.




Новости от наших партнёров в Вашем городе

Ria.city

Белый дом заявил, что США готовы обсуждать ДСНВ с Россией

Воробьев: Подмосковье подписало на ПМЭФ еще 9 соглашений на 53 млрд руб

Как Россия после эмбарго стала ещё больше зарабатывать на нефти в ЕС

Собянин: Московский городской транспорт на 100 процентов отечественный

Музыкальные новости

Путин назвал приезд президента Зимбабве знаком интереса Африки к России

CЛД «Печора» филиала «Северный» ООО «ЛокоТех-Сервис» получило сертификацию для технического обслуживания локомотивов серии 2ТЭ25КМ в объёме ТО-2.

Спортсмены из Тувы стали бронзовыми призёрами Чемпионата Сибирского округа Росгвардии по лёгкой атлетике

Яндекс, А.С. Пушкин, Святой Ленин ведут следствие. Настоящая сенсация!

Новости России

Названа главная легочная болезнь, угрожающая миллионам жителей России

Захарова назвала заявления Путина о ядерном оружии абсолютно четкими

Источник 360.ru: при пожаре в квартире на юго-западе Москвы погибла женщина

Швыдкой заявил, что эффективность новых руководителей театров Москвы оценят через два года

Экология в России и мире

Создайте стильный образ из самых простых вещей в гардеробе

Добрые рисунки: «585*ЗОЛОТОЙ» запустила конкурс ко Дню защиты детей

История без фальсификации: Шемахи в первой половине XVIII века

Россияне решили этим летом меньше отдыхать на курортах

Спорт в России и мире

Андреева рассказала о своих планах на предстоящий матч с Соболенко во Франции

«Он никогда не снимается с турниров». Циципас прокомментировал травму Джоковича

Джокович снялся с Открытого чемпионата Франции по теннису

Андреевой предрекли борьбу за топ-10 рейтинга WTA в текущем сезоне

Moscow.media

Остров Огой.

Военные следователи провели рейд по бывшим мигрантам в Керчи

Трасса М-12 Восток будет продлена до Тюмени в 2025 году

Гора Бабырган











Топ новостей на этот час

Rss.plus






Источник 360.ru: при пожаре в квартире на юго-западе Москвы погибла женщина

Названа главная легочная болезнь, угрожающая миллионам жителей России

Швыдкой заявил, что эффективность новых руководителей театров Москвы оценят через два года

Путин: Москва оставляет за собой право поставок вооружения партнерам