Ok so I decided I may want to make a custom server list in my game since it uses different places for certain things. However I have a few concerns with it.
Obviously I must use messaging service for this server list.
How should I go about doing it? I’m afraid because I also want to use messaging service for moderation purposes (e.g banning someone cross-server) but I am afraid having a custom server list is going to go past the message service limits. Is there anyway I can make sure it doesn’t go over the message service limit and leaves some room for moderation stuff?
Also what would be the most optimal way to make the server list? I have a good general idea but I feel that taking feedback from others could be beneficial as well.
I doubt you’ll run out of messages due to how it scales. Unless you have more than 30 punishments per minute, you’ll be fine. And even then, you can create a queue, use memory store service, etc.
I’m 99% sure somebody made a library which creates a hash map with mss to queue and “bypass” the server messaging limit, and all though I can’t remember the name of it I know it’s possible.
If you do have 30 punishments per minute though then you’ll have more issues than the message service limit.
Once someone else has come along and given a better code talk of it, best thing to do off of that is test test and test. Regarding the limits however…
The limit per topic sent by the message service seems pretty high for a usecase like this. Assuming your server list will update when it needs to and with only a little bit of information to actually pass (and you could pack more info into each publish to make it worth its value) then it seems pretty viable.