Can you change a profile service value multiple times?

I have watched some videos about profile service. And since it is using datastore my question is does it save directly on value changed to datastore. I have seen alot of videos and even the suggested videos by loleris in which they change values every second. For datastore I heard changing values can be bad, now does it save instantly to datastore or save locally and then datastore.

Thanks!

This post by loleris themselves on ProfileService (Roblox DevForum) mentions that the module will periodically save data to the DataStore, as well as when the game server closes. This implies that the data is kept in-memory, and automatically saved to the DataStore at an interval and not whenever it is modified.

Reading through the source code (GitHub) corroborates this.

So if I understand this correct I can change values in there every second without any problem?

Yes, someone like loleris wouldn’t be demonstrating that use case if it were troublesome.

Thank you very much sir! Hope you have a wonderful day.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.