Giter Club home page Giter Club logo

Comments (6)

Kampfkarren avatar Kampfkarren commented on July 30, 2024

There's an open issue for user IDs, but read only. The problem is it's not safe. DataStore2 caches, and so multiple separate instances can end up clashing different data against each other.

from roblox.

cosmicpsx avatar cosmicpsx commented on July 30, 2024

Where tho

from roblox.

cosmicpsx avatar cosmicpsx commented on July 30, 2024

And how should it not be safe? Normal Data Stores use it like that too, and some public games too. How should that be unsafe?

from roblox.

Kampfkarren avatar Kampfkarren commented on July 30, 2024

Multiple servers can edit the data at the same time, overwriting each other, and not producing a consistent output, especially considering DataStore2 works on a cache. It's a data race.

from roblox.

cosmicpsx avatar cosmicpsx commented on July 30, 2024

But that would just be dependant on the use, errors are not your problem if they happen. I mean, you can just support players as safe and other keys as "unsafe" too

from roblox.

Kampfkarren avatar Kampfkarren commented on July 30, 2024

I'm not personally interested in adding footguns to DataStore2 given its popularity, though I would encourage you to fork if you need this.

from roblox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.