On Roblox, DataStores are the primary service for saving and loading player data. It was made as a replacement for the old data persistence system. DataStores were released in February 2014 when a post was made by Matt Dusek explaining the feature. The post is now archived.
Data Stores can be accessed through the DataStoreService service. DataStore editing methods are stored in a GlobalDataStore object, which can be retrieved through the GetDataStore method of the DataStoreService.
Data Stores also offer a functionality known as ordered data stores, which allows for ordered data. These can be accessed through the GetOrderedDataStore method which returns an OrderedDataStore. These can be used for leaderboards, and other features which involve ordered data.
DataStore Failure[]
DataStores are known to fail a lot, especially during high times of traffic, weekends, and holidays. Other times, issues can appear randomly.[1] On January 10, 2019, berezaa made a post on the Developer Forum[2], complaining about the datastore failures. The post became a trend, like berezaa's other trending posts[3][4], with 58 likes and 10 replies in the first five hours of it being posted.
References[]
- ↑ https://devforum.roblox.com/t/strange-datastore-curl-error-causing-datastore-service-to-fail-most-if-not-all-of-the-time-across-many-games/139677
- ↑ https://devforum.roblox.com/t/developers-need-reliable-datastores-what-we-have-now-is-not-acceptable/223275
- ↑ https://devforum.roblox.com/t/crippling-developers-roblox-communities-an-argument-for-the-reversal-of-the-blanket-discord-ban/127921
- ↑ https://devforum.roblox.com/t/game-update-page-subscribe-to-game-updates/50015