Git Product home page Git Product logo

Comments (5)

edpin avatar edpin commented on May 12, 2024

To confirm: Are suggesting that a client shouldn't to store.Put(accessContents) + dir.Put(accessEntry) and instead do something like dir.PutAccess(accessContents) and the dir server would internally do its own store.Put(accessContents) and save the entry itself as it normally would?

I'm sort of okay with this plan, but it won't solve #37 because we can't prevent [email protected] from including [email protected]/Group/friends in joe's Access file and both roots could live very far from each other.

from upspin.

robpike avatar robpike commented on May 12, 2024

I don't think the API needs to change, just that an Access file needs to have the references point to the store half of the DirServer. It could change, of course, but it wouldn't have to.

It wouldn't solve #37, it might just make it easier to solve.

I'm just thinking out loud, really, not proposing this necessarily.

from upspin.

adg avatar adg commented on May 12, 2024

So the upspin.DirServer would need to implement upspin.StoreServer also?

from upspin.

robpike avatar robpike commented on May 12, 2024

No, just Get. You could color the API so it fetches just Access and Group files.

from upspin.

robpike avatar robpike commented on May 12, 2024

Retiring this for now. I think the current plan is OK for the foreseeable future.

from upspin.

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.