Are ROBLOX datastores any good to use or is it better to use datastore 2?
Ima say data store 2 because sequals are usually better than the original. I actually don’t know the difference. So just do ur own research
Thanks, hence why i’m asking i’ve done some research but roblox datastores seem pretty bad but if they’re not then would be good to use.
The DS2 module uses DataStores, it just handles errors and traffic better and it has a better API. If you’re worried about the reliability of DataStores, DS2 won’t fix anything. You’re fine to use either as you see fit.
DataStore2 isn’t a sequel. It’s just a module as JarodOfOrbiter said. Unless you mean DataStoreV2 then yeah, you should use that. It isn’t any more reliable but it includes versioning, backups etc.
Datastore2 is a Module that relies on roblox’s normal datastores to operate, its meant to make your life a little easier, not ensure you that data wont be lost, you’re the one who ensures that data is secure, and wont be overwritten with nil when something goes wrong, if you really want everything to be done for you, i recommend ProfileService, but as i’ve said, these are modules, not entirely different services.
DataStore2 is meant to build on normal DataStore workflows by abstracting certain processes that you would otherwise need to do yourself (e.g. caching data for the session, handling good points to save at for you). DataStore2 still implements Roblox DataStore.
Up to you and your needs what you think would be appropriate for your experience. I personally like to write my own data managers and I’m not a fan of the “berezaa method” for saving data which is primarily what developers like DataStore2 for, besides the abstractions it offers.
If I’m not writing my own data layer from scratch, then I use ProfileService to take care of the data structuring and management part for me and write the rest myself.
Thanks and I have a datastore but it seems to have different save files, I used removed async to remove then other data came back.
Every single open-sourced custom data store modules on Roblox always utilizes DataStoreService from Roblox, the safety and security of making a data store module depends on your knowledge as you need to know what outcomes you’re gonna face and how you’re gonna combat it.
I would say ProfileService is great at data storing because it’s backends are optimized and can handle pretty much most of the thing you would encounter at data storing.