Help on making a Datastore

Hi, im trying to make a datastore that holds “cases”. Once someone buys a developer product a case is created by the server, the owner can later personalize it, giving it a description etc. I want to make sure that at any time another player from another server retrieves all the existing cases and can buy it.

how can I achieve this? I was thinking of using datastores but im worried that getting retrieving a lot of keys is impossible (ex: over 10.000 cases exist), I can’t fetch them all using getasync. Any ideas?

u might want to start checking centralized databases, which are databases but outside Roblox, these databases are designed to handle large amount of data, some of them are firebase and MongoDB, I would suggest u should go with firebase if ur new

1 Like

is there no way to do it without using external databases?

i wouldn’t suggest doing with with roblox’s datastore, ur data is too large for it.

You can also split ur data into multiple datastores.

btw, I said 10.000 but that is a very large number and probably won’t ever be that big. will probably be max 500 at a moment

cause when a case is bought then the key can be removed from the datastore. also, if you know any free databases outside of roblox say them, as I found out that firebase costs

Roblox data store limit is 60 request per minute, if you exceed the limit, your request will be queued and if the queue is full, the request will be dropped.

And for the other question. Firebase has a free tier you can use it.

how do I use it? is there an api or something to send requests to it to write and read data? how do I get the auth token?