How can I choose a main server in the whole game?

Hey everyone :wave:

It may sound confusing, but basically, I have a pooling system where I’m requesting a URL. The problem is that if there are multiples servers running, every single one will request the URL.

I was wondering if somehow, it is possible to choose a main server, and this server will be responsible for request the URL, and then spread out the result to other servers using MessagingService. When the main server closes, another running server will be chosen to be the main one.

I tried to do this with MessagingService, but no big deal.
Does anyone know if it is possible, and if it is, how?

Thanks in advance :slight_smile:

Interesting!

Do you own the URL that your servers make requests to and can add functionality to it?

1 Like

I think this should help you: =)

3 Likes

That’s exactly what I am looking for! Thank you!

1 Like

Hey! I’m sending requests to a public API.

Haha, this was nice to come home to. If @OP has any problems lmk, it should still work.

2 Likes