News Liste Pax Dei

Tech FAQ
Pax Dei
19.09.23 13:53 Community Announcements

An introduction to Pax Dei’s shards, servers, and zones



As you may know, the World of Pax Dei consists of a few regions (Gallia, Anatolia, Gothia…) split into several provinces (Ancien, Merrie, Kerys…). A province is a very large geographical area with several valleys interspersed by big mountain ranges. In specific provinces called heartland provinces, we have multiple valleys we call home valleys, and those are where you can build your home. And, of course, you also have dark dungeons and caves that mainly exist below the surface of these provinces.

But how do these geographical features map down to actual physical servers, and how do they affect how you play the game?

Worlds/Shards



The first choice you will face when creating a new character in Pax Dei will be the selection of a specific instance of a World, also commonly referred to as a Shard. Even though the world of Pax Dei is geographically vast, it can only accommodate a certain number of players in total. This is why we run multiple copies of the world, each being identical but completely independent of the others in terms of actual inhabitants. Each such copy we call a shard.

We estimate we’ll start with a maximum population in a single shard of around 7,000 players. A single shard is run wholly within one physical cloud hosting center. We will run shards in different availability regions worldwide, e.g., North America and Europe.

The factors that will mainly influence your choice of shard will thus be the following:
  • Latency to your main game computer
  • Seat availability, as some shards might be full
  • Shards where you have many friends already playing




Zone Servers



From a computational point of view, a shard consists of a large collection of various servers and cloud services, each of them fulfilling a specific function. The most numerous ones are what we call zone servers. This is because the simulation of a whole world is much too computationally heavy to be handled by a single hardware instance and is thus divided into smaller computational units that we call zones. A single zone server is a Dedicated Unreal Server that handles the simulation of a specific part of the world, e.g., one home valley.



At any given time, you, as a player, are automatically connected to a zone server. Whenever you move across a zone boundary, your connection automatically moves to the adjacent zone server. This is what we call a zone transition. In most cases, these transitions should be seamless, except for a few important exceptions:
  • Transitions between different provinces or into dungeons will typically incur some loading time as the client loads an entirely new map
  • There is currently no visibility of other players or NPCs across zone boundaries

Zone Instances



As mentioned above, a zone server is a dedicated Unreal Server handling the simulation of a small subsection of the world. Eventually, a zone server can also become overwhelmed with too many players.

Currently, this limit is around 150 players, but it is expected to change with better hardware and optimizations. To avoid having to close off zones when the maximum number of players is hit, e.g., during peak hours, we introduce the concept of zone instances instead. The mechanism is such that when we surpass the maximum number of players in a zone, we distribute the whole set of players within a given zone boundary between two or more separate instances of the zone. Each zone instance is actually running a separate zone server for the same zone, but players within a given zone instance can not interact with players in another instance.

This separation only applies to direct player interactions, but the persistence of the buildings, amongst other things, works across instances, meaning the buildings are visible to all. Once the zone population levels go down, instances merge together. For regular operation, after a shard has reached maturity, instancing should only happen in exceptional cases, but it might be common at the beginning.



Persistence Backend



Apart from zone servers, the rest of the backend handles coordination between zone servers, transactional game logic, communication, and persistence. There are situations where the clients connect directly to this backend through secure APIs, e.g., for authentication. Still, in most cases, the zone servers are the ones communicating with the backend to specific services such as inventory service, resource management, etc.

All of this infrastructure is then deployed, coordinated, and scaled through a Kubernetes architecture running on top of a cloud infrastructure.

Questions



Can you explain what a backend engineer does exactly?



A backend engineer is someone who works on any of the services that reside in the backend but also in the interaction part between the zone servers and the backend. Typically, backend engineers define and implement the APIs used in communication between Unreal and backend services. They will also determine the data structures and persistence logic for all persisted data in the master database. Finally, they will also work on deploying and monitoring all the underlying infrastructure.

How is the cooperation between the backend and the front end working?



Mostly, this interaction will go through some well-documented APIs. The API defines all the operations that are allowed for a given service. The backend will also validate and enforce that the API client is authenticated correctly and has permission to call the given function. The API response is then typically data or validation that clients use to display to players through a customized UI.

What is the biggest challenge when working on an MMO like Pax Dei?



The biggest challenge is how complicated the tech stack is. The whole tech stack comprises various components, some being 3rd party components (e.g., the Unreal Engine or PostgresDB) and others fully developed in-house. Most of these are not specifically designed to be used in an MMO.

The functions of these components range from physics simulation, graphics rendering, AI behavior to transactional integrity and high scalability of server transactions. They cover multiple programming languages and must be built and deployed in perfect harmony to function all together as intended.

Finally, testing an MMO without actual players is difficult, hence the importance of early user testing.

Will there be language-specific shards, or will all players be able to play together?



It is something we want to monitor. We will start with no special language restrictions, but some shards with clear language bias will probably emerge. We will make our best effort to surface this kind of metadata to players to help them make an informed decision on which shard to join.

We also don’t want to force you to play in a specific region. We mean that if you are a European player and want to play with friends in the US, you should be allowed to do so (while accepting more latency).

Will we have some shards dedicated to PvE without any PvP interaction?



No, the plan is currently that all shards will be identical.

How many players will be per shard?



We will start with a target of about 7,000 players per shard (in 3 to 4 heartland provinces). As we bring more heartland provinces online, the maximum population per shard will grow accordingly.

With the expected high demand at launch, how do you plan to avoid queues?



We can spin up additional shards as needed to accommodate more and more players, but the zone-instancing mechanism will also help mitigate the initial load per shard.

What are your plans to minimize latency for the players?



Shards will be available in different geographical regions, so new players should be able to find a shard that is geographically close to them. Furthermore, the combat system and typical MMO interactions are such that they are more tolerant of lag as compared to first-person shooters.

Will you have weekly maintenance? Will it be different per region to respect the time zones?



We design our system in a way that they shouldn’t need maintenance except for major client and server updates, but, at the moment, we still need to do some downtimes and sometimes complete wipes of the Worlds. The selected time frame will certainly attempt to minimize disruption for players.

How will you manage the population of the Worlds? Do you plan to allow character transfers?



Yes, definitely. It is necessary for players' quality of life and population management.

But, let’s split this question into different cases: moving a character from one World to another is pretty trivial, so that is something we will undoubtedly allow (as an extra service or for free if the goal is to desaturate the population of a given world).

Moving a plot and the building(s) on it is a far more complex beast. We can’t simply transfer the buildings as the space could not be available in the new World, and we can’t easily move the buildings to a ‘similar space’ because the buildings' structure depends on the terrain they’re on. Ideally, we will have a system that lets you save your building structure as a blueprint or at least put all their components in a magical bag (don’t ask about the lore behind this, please).

Finally, when it comes to Clan transfer, we are currently considering it, but because of multiple reasons (priorities, workforce, unfinished features…), we can’t say it will happen before too long. We will provide more details on transfers and their availability later.

If I want to play with my friends, how can we ensure we'll be in the same World? Can I join them even if their World is full?



When a World becomes overcrowded, it will be locked to safeguard the quality of service.
So, our objective is to strike a balance between preventing overcrowding and ensuring friends can easily play together.
The key here is to be smart about the indicators we will use and how we guide people towards specific Worlds.

In critical situations, we would like to be able to offer character transfers to a populated World for free, as it’s one of the best ways to ease overcrowding. We will provide more information at a later time.

What is your stance on third-party programs and add-ons?



We're open to third-party programs and add-ons (as long as they are not about cheating), as we recognize that these contributions can often enhance user experiences and provide valuable functionalities. However, at the moment, we regrettably lack the necessary resources to offer proper support for them.

We genuinely hope that in the foreseeable future, we will be in a position to provide the support you deserve. Rest assured, we will keep you informed and share more information as it becomes available.

Logo for Pax Dei
Release: Genre: Massively Multiplayer Online Entwickler: Mainframe Industries Vertrieb: Mainframe Industries Engine: Unreal Engine 5 Kopierschutz:keine Infos Franchise:keine Infos
Einzelspieler Mehrspieler Koop

Aktuelle Steam News
Neue Steam News in der ePrison Datenbank

Spotlight - Markets and Economy System
Pax Dei
1 Tag 13:00 Community Announcements
Patch Notes – Hotfix, November 26, 2024
Pax Dei
26.11.24 10:29 Community Announcements
Patch Notes – November 21, 2024
Pax Dei
21.11.24 13:00 Community Announcements
Pax Dei’s chat system is now powered by Discord
Pax Dei
19.11.24 15:10 Community Announcements
Crafting Concerns Statement
Pax Dei
14.11.24 13:02 Community Announcements
Pax Dei - Roadmap Update
Pax Dei
08.11.24 13:05 Community Announcements
Proving Grounds, Patch notes
Pax Dei
05.11.24 18:25 Community Announcements
Proving Grounds - Release Notes
Pax Dei
31.10.24 11:03 Community Announcements
Spotlight - Proving Grounds additional changes
Pax Dei
25.10.24 12:00 Community Announcements
Conquer Lyonesse: Limited-Time PvP Building Event
Pax Dei
22.10.24 12:07 Community Announcements
Proving Grounds Coming on November 5
Pax Dei
17.10.24 12:00 Community Announcements
Spotlight - How the world of Pax Dei is changing
Pax Dei
11.10.24 12:22 Community Announcements
Spotlight - The Journal (and bonus info)
Pax Dei
04.10.24 12:03 Community Announcements
Tech Insights: our Building System
Pax Dei
27.09.24 12:01 Community Announcements
Spotlight - Upcoming Combat Changes
Pax Dei
20.09.24 12:10 Community Announcements
Back to School Status Update
Pax Dei
09.09.24 09:46 Community Announcements
One Dei at a Time: Conquering Pax Dei Solo
Pax Dei
16.08.24 12:00 Community Announcements
Upcoming wave of inactive plot cleaning - August 21
Pax Dei
14.08.24 09:07 Community Announcements
Patch Notes - August 13
Pax Dei
13.08.24 08:49 Community Announcements
Status Update - August 9
Pax Dei
09.08.24 13:25 Community Announcements
Patch Notes - July 17th 2024
Pax Dei
17.07.24 10:39 Community Announcements
July 2 - Patch Notes
Pax Dei
02.07.24 11:45 Community Announcements
June 26th - EA - Bugfixes patch
Pax Dei
26.06.24 13:42 Community Announcements
Stories from the War Room: the DNS Debacle
Pax Dei
25.06.24 13:00 Community Announcements
Early Access Day 3 - Status update
Pax Dei
21.06.24 16:52 Community Announcements
Stories from the War Room: D-Day
Pax Dei
19.06.24 15:58 Community Announcements
Early Access Day 1 - Status update
Pax Dei
19.06.24 15:24 Community Announcements
The Road Ahead
Pax Dei
17.06.24 12:09 Community Announcements
The vision behind Pax Dei
Pax Dei
14.06.24 12:00 Community Announcements
Announcing Pax Dei Preview Week - Gallia's Grand Gathering
Pax Dei
05.06.24 13:15 Community Announcements
Pax Dei will enter Early Access on June 18th!
Pax Dei
04.06.24 15:24 Community Announcements
Wilderness Alpha Learnings
Pax Dei
17.05.24 13:08 Community Announcements
Pax Dei will enter Early Access in spring this year
Pax Dei
09.01.24 08:19 Community Announcements
Alpha - Key takeaways
Pax Dei
20.12.23 11:01 Community Announcements
Morituri te Salutant
Pax Dei
16.10.23 15:10 Community Announcements
Tech FAQ
Pax Dei
19.09.23 13:53 Community Announcements
World FAQ
Pax Dei
13.06.23 14:02 Community Announcements
Building FAQ
Pax Dei
16.05.23 15:59 Community Announcements
Gameplay FAQ
Pax Dei
19.04.23 07:30 Community Announcements
General FAQ
Pax Dei
18.04.23 13:21 Community Announcements