Git Product home page Git Product logo

Comments (3)

delgadom avatar delgadom commented on June 21, 2024 1

@jgerardsimcock putting a pin in this - there's a way to lock fs objects across threads even outside of the core methods. Maybe there is something we could be doing to prevent simultaneous access across multi-step operations such as cache + read, for example.

http://pyfilesystem.readthedocs.io/en/latest/base.html

from datafs.

delgadom avatar delgadom commented on June 21, 2024

I agree that once refactored we definitely must be able to handle all of these. However, I don't think we should use last-accessed for any of our systems. I think we should use 'all' or, if space constraints are a problem, 'latest'.

Furthermore, (3) seems to me to be a pathological case and, while it's important that DataFS behaves correctly under these circumstances, I don't see any problem if there is a significant performance penalty for behavior consistent with (3). Does that seem right to you?

from datafs.

jrising avatar jrising commented on June 21, 2024

Agreed that performance penalties on (3) are fine. But it's not that pathological: It is fairly common for us to have two different versions of the same sector running at the same time. E.g., we are producing a set of results, and then find a way to improve one of the underlying datasets. Rather than kill the first one (since we might decide to not use the improvement in the end), we just spin up another set of runs with the other dataset.

from datafs.

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.