Hi! I am working on a custom messaging system (like thousands of other people have) and have gotten stuck time and time again on the best way to send a request to the server, process the given message (run server checks, moderate the text, etc.) and then send it to the specified player.
My question isn’t necessarily to ask for help in doing this, as I already know how to do all of those in terms of the logic. The only thing I have been hesitant on is how to send and receive data from the server.
I have thought about using RemoteEvents or RemoteFunctions, however, based on what I have been told neither are very reliable when you have potentially hundreds or thousands of requests per minute.
Any explanations or suggestions would be greatly appreciated!
EDIT: Some quick background in case this helps. The message system is modular. Each player has their own session object that is created when they join. Each message is it’s own object. The player session has methods like Session:Send(), etc. The message object has methods like Message:Edit(), Message:Delete(), etc.