Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Recommended Posts

This isn't strictly about game servers so sorry if this isn't a perfect fit in this section but I couldn't think of where else to put it (seems a bit too niche a question for general).

Can anyone elaborate on how the backend of DayZ is built? From what I understand there is a DB server (or servers) which actual game servers interface with via what I'm guessing is probably a webservice or API of some sort. Is this correct? Or maybe game servers talk directly to the DB and there is no middleware service? Does anyone know the technologies involved?

I'm a web developer by trade and I have a curiosity for such things. Would be interesting to know how this beast is put together because technically wise it works pretty damn well really.

Share this post


Link to post
Share on other sites

AFAIK the hive is a mysql server. In front of it, there is a firewall that deals with the whitelisting.

The gameserver talks to the hive in mysql over tcp/ip. For now the netcode is not optimized since the gameserver makes thousand connexions per hour, one for each player/object update.

Share this post


Link to post
Share on other sites

Cool thanks.

I wonder if anyone involved in the project is a node.js fan - its strengths seem very suited to a high traffic concurrent task like this, and maybe even a object store/NoSQL DB like Mongo or something. It would be pretty easy to bang out an API that game servers talk to the hive with in node.js.

Share this post


Link to post
Share on other sites

×