I’m not sure if it only affects games with lower popularity, I suppose it would due to the nature of datastore limits. But as of recently (May 2021), Roblox services have become increasingly unreliable. They are constantly timing out, or just working ALOT slower. This is causing me serious datastore problems.
My game averages about 300-600 players online at any given time. I have 6 datastores for player data (I use some heavy compression methods, but even still I separate out different types of data to avoid limitations. So one datastore is for stats, one is for settings, etc). Roblox’s reliability used to be such that players could load in, play the game, leave (at which point they’re data is saved) and everything would save instantly no problem. I also saved item data anytime a purchase was made.
Starting this month (May 2021) this just stopped working… Players would take an extra 5-10 seconds to load in, and they would start dropping save data left and right. The datastores weren’t hitting a limit, they were just too SLOW. Players would leave a server, and hop to a new one, before their data saved in the old server. Leading the game to load in old data, they would report lost progress, and when they left that server, it would overwrite permanently.
So in order to fix it, I started saving data periodically, and if the pcall for saving failed, it would yield, and then try again a second or 2 later. I hoped this would make it so that when players server hopped too quickly, they’d only lose about 15 minutes of progress tops. This made things much WORSE.
Now I’m constantly hitting the call limit on my datastores, and it’s still taking years to save when it doesn’t error. I even have a condition to save data when the game closes, just to ensure everything is saved, and even that’s not working. Someone bought a product in a private server, and the game never saved the purchase before the server shutdown when they left.
How am I supposed to fix this? It’s not like I can just call the datastores less, it’s the slowness of the datastore that’s the core issue here.
TL:DR DataStores are too slow, nothing I can do when players server hop, or try to save things in a private server. Any ideas?