Detect if a server is old and not functioning

  1. I want to be able to detect if a server has poor performance and isn’t able to perform its obligations.

  2. I am using MessagingService in a matchmaking system and the oldest server is the server that makes the matches by pairing the people that queue in the game and sending them to a match. The issue is that roblox servers get old and I want to be able to detect if the server is getting old and teleport all the players to another server and shutdown the server that is lagging and not able to send messages to the head server and if it is the head server especially as the oldest server is the head server (so if it’s not able to perform you can’t have matches). I have tried making a script that would detect if a server is down with MessagingService but I am afraid that it might send the message and ignore half of the other messaging requests where players want to join a match.

  3. I haven’t found anything similar on the devforum that answers this question.