Are datastore limits relevant to size or volume of requests (or both)?

(I am using the open source ProfileService for my data saving as provided by Loleris)

I’m a little bit confused on datastore limits, I’ve sometimes had the warning where the request queues were stacking but ultimately no saving issues. However I am little concerned on how I’m approaching this:

I’ve got a placement system for furniture for a project, where it saves a serialized CFrame & Color3, object ID and a rotation number. See below as to how it’s represented:


“10” is the placement Key and everything else is presented in a dictionary format.

This is just for 1 piece of furniture. This is the most efficient I can possibly think of to save the furniture. I am going to limit a players placement amount to 50 or 70 (ideally I want to increase this cap), but I found that Adopt Me can spawn an unlimited number of furniture when I tested it.

When saving data, is the size of the player data considered when requesting to save? Right now, when I use:
HttpService:JSONEncode
The returning number on the current data says 8000+, this is with 20 pieces of furniture plus other pieces of data such as cash, clothing data, outfit data, item inventory. Below is the limits presented in the developer hub:

Would the datastore fail to save such large data? Or does this not matter, and it’s the volume of requests that really matter. Note that I am using ProfileService for this, but a general guidance on this would be appreciated! Thanks!

if your data is around the lengt of 8,000 you are no where near the limit of 4,000,000 (would need 500 times that data)
“, I’ve sometimes had the warning where the request queues were stacking but ultimately no saving issues.”
think that has more to do with

keep in mind that you only need to request the data when the player joins.
and save when the player leaves

1 Like

So that means that the size of the data does not matter?

Right, unless you surpass the 4 million characters or the limit ProfileService has for it’s Datastore keys which I am unsure of.

I’m currently storing around 2 million characters (JSON) in my datastore key and don’t seem to have much issues with it. It’s working the same for me and I’m not experiencing any significant slowdowns nor more frequent errors. The only issue is the part where I need to read that data and do stuff with it which takes around 10 seconds. Note that I’m using the normal datastore system Roblox provides.

1 Like