Jump to content

Building a high-availability Trinity server?


Recommended Posts

Quick question:  Is the Trinity application stateless?


Not so quick question:  If I have the MySQL database on a highly available cluster, and install the executable on an application server, could I clone the application server and put all of the app server nodes behind a load balancer? I'm thiking about building a server on AWS and my design would be: internet --> elastic load balancer -- application server pool -- RDS MySQL

Has anyone had any success with building a highly-available and highly scaleable Trinity Core install?


Link to comment
Share on other sites

Quick answer, NO.

Not so quick answer: A low latency game server by design is not stateless, more then less it manages every state in memory, database writes will happen scheduled and normaly only a smal set of data will be replicated in database, for example no movement data from players ecc.

For this reason i think your setup would not work with trinity even if you would rewrite a lot of code.

for load balancing i've seen some server using multiple nodes to host maps separated, but there where never 2 servers running the same map

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...