How do big games like Pet Simulator X! load large amounts of data from data stores so efficiently?
I am trying to achieve a Purchase History system for the Traveliing Merchant in my game Kastle Kingdom!. I already have all the scripts working as intended, I’m not asking for a purchase history saving system, I’m asking if there’s a better way to handle large amounts of data.
So my game has a lot of data value.
“Last Position”
“XP”
“Health”
“Hunger”
(all the purchase data with different keys according to the purchase number (the order it was purchased in).
IsBanned
BanReason
TimeBanned (minutes)
HasJoined
SHasJoined
ShopHasJoined
And many more.
I did make the purchase data wait like 5 seconds before loading so all of the important stuff can be loaded first.
But when it loads it, it can load about 10 or so with the random wait time of around 0.1-0.5, and then it starts throwing that it has been added to the Data Store queue.
How do big games like Pet Simulator X! load and save so much data at once without clogging up the data store queue?
To my knowledge, Pet Simulator X saves and loads the pet inventory, the pet index (what pets you have and what ones you don’t), the mailbox history, Trading history (pets / gems traded, usernames in trade) How many days ago it was traded, and the Usernamee of the person you traded with, wether you liked the trade or not, the mailbox history (pets / gems traded and username), Mailbox items (custom message player left) (amount in gems / pets) username, the bank history and everything in the bank, and way more. Just so much, how can a big game handle so much data store requests efficiently while my game can only handle like 10 from the purchase history and like 30 from the data above?