Ideas on forum system?

Im working on a clan system in my game. Inside that clan system, I want to have a clan chat, kinda like the wall on roblox groups. My idea was to use messaging service to send the immediate messages to players in other servers, and then use datastoreservice to save the chat history. This has issues though:

  • saving chats to the datastore every time someone chats will overload the datastore, since there are per-server rate limits on datastore calls
  • saving chat every 10 minutes or so will cause much of the chat to not show up for players who join recently
  • saving chat every 10 minutes will mean that chats are saved in batches. If its just one chat saved per time, the chat can be saved to datastore by the server which the chat was sent from. If we save via batching every 10 minutes, how does the game decide which server uploads the chat data to the datastore?

you could have the chat history saved to the datastore and also have it saved within each server. that way any new player that joins one of the servers that are already up they will see the chat history as its saved in that server.
also remember that the rate of messages you can send every minute is per universe not per server. so this kind of system your planning will not scale very well with more and more servers. unless you add a really egregious wait time in between clan messages.