Recommendations for storing large amounts of data?

Greetings,

I have little experience with experimenting with saving data, since I did not have access to an active player base to test how my data saving would operate under heavy server usage. I want to make sure all of my data saves. In my game, I have around 4 scripts each of them utilizing a different datastore each time. Each of these datastores own a lot of data to process, basically one of them stores the player stats, the second pets, the third trails, the forth boosters. Sometimes I receive a couple warnings when I leave the game saying that further requests will be dropped. This makes me feel like the data might not get saved if there are more players playing around and using server memory. What can I do to make sure the data saves all the time (and with no corruption)? Thanks!

Have to point out: I am already using tables as I have to store names, levels, xp, multiplier etc for the pets and other items for example.

You simply only save data when the player leaves and maybe auto save every 10-15 mins. Using ProfileService?

Uhh, I am using the DataStoreService… What roblox recommended for this kind of use. How do I use this?

Well, ProfileService is a wrapper for DSS and spreads datastore calls evenly, which reduces call usage (it also prevents item duping exploits!). It’s really cool and you should check it out. I made a module that simplifies usage of ProfileService on my linked GitHub, so you could check it out as well.

1 Like

Ok, thanks, I’ll check it out!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.