In a sense it doubles the load. The two databases would have different sets of data and the only way to keep them synchronised are to run cronjobs every ______ number of minutes/hours that will run a script that updates each other with the changes.
To run a script you’d have to query both databases to determine the records that are different then run queries to insert the new data into each database. A banned player could go from one server to the other during this time and we’d never know since the bans are only checked when they enter the server (afaik)?
Yea only check upon entry otherwise would be querying a lot of data and kinda inefficient for the server.
Makes sense though why it might not be as ideal as I first thought. Though most people greif creative due to being able to build and destroy easily. Seems survival has been much less of a target since creative.
Creative has a lot of bugs and exploits since it’s very new hence why there’s a creative nuke and no survival nuke.
As always is the case with our servers, as soon as things start running smoothly again something else breaks. For unknown reasons the survival server’s database is inaccessible to the website and even the server itself - though for some reason I can access it through the web panel.
This might take a while, sorry guys
Edit: oh and on the bright side, our old host is back online. I’ve got all our old data and attachments and will begin restoring what’s missing as soon as I fix this.
As of this post, I can view the homepage just fine. The player list is N/A and the richest players list is missing. I don’t think the servers have accurately shown how many players are on for a while. It’s always 0 even when people are on.
I had to take down my scripts just to get the pages to load so I replaced them with N/As. Currently on chat with Live Support as it seems they have disabled our website from grabbing external content outside of the box…
I got the server status working again for a while but since they disabled external content, it’s not going to load again.
Just an update on the situation:
I’ve resolved the issue with our current host. It seems that grabbing external content is too resource intensive at the rate in which we were using it. They asked us to keep it to 10 or under simultaneous connections to external sources. To solve that, I have now cache all external content so that it only updates every minute as opposed to everytime an individual loads the page - that way there’s only ever 1 direct connection from the website.
I will begin restoring the lost forum and ban data now.
tldr: host banned our server IPs due to using too much bandwidth. Got it unbanned and developed a cache.
Edit: oh and our host still hasn’t informed us of what happened so I am willing to bet it was unplanned downtime.