Giter Site home page Giter Site logo

support structured values about irmin HOT 6 CLOSED

mirage avatar mirage commented on May 18, 2024
support structured values

from irmin.

Comments (6)

avsm avatar avsm commented on May 18, 2024

/cc @djs55 -- we were just chatting about this in xenstore too

from irmin.

samoht avatar samoht commented on May 18, 2024

In xenstore, you don't really have internal keys so why do you need to understand the structure of the value ? To properly handle transaction conflicts maybe ?

from irmin.

djs55 avatar djs55 commented on May 18, 2024

I was thinking of xenstore extensions mainly. I was thinking that xenstore
was designed for configuration and rendezvous, but performed so badly that
people started putting their configuration somewhere else (eg xapi db).
Now, of course, the oxenstored implementation is much better so perhaps we
should store the data in xenstore. Further, people (like me and you) have
worked on rpc systems which are also critical for a secure XenServer. Since
xenstore is already in the right place (a special domain) and is already
critical, and had ACLs etc, perhaps we should extend it to have message
queues as well as string values at the tree leaves.

What do you think?

Sent from my iPhone

On 22 Nov 2013, at 00:26, Thomas Gazagnaire [email protected]
wrote:

In xenstore, you don't really have internal keys so why do you need to
understand the structure of the value ? To properly handle transaction
conflicts maybe ?


Reply to this email directly or view it on
GitHubhttps://github.com//issues/6#issuecomment-29038756
.

from irmin.

samoht avatar samoht commented on May 18, 2024

You're right about the ACLs, it's a pain to get it right so it's better to build on top of the existing if possible. Support for message queues in tree leaves would indeed be nice. Interestingly enough, irminsule-0 was dealing only with single queues and irminsule-0.1 deals with a tree of strings -- so dealing with queues in leafs would make a good use case as well.

To come back to the original issue, my idea was to refer to previous snapshots in the values (for instance if you want to build an index of values at a given point in time) -- but that does not have much sense in xenstore as you can't snapshot anyway.

from irmin.

samoht avatar samoht commented on May 18, 2024

Do you plan to change the xenbus API then ?

from irmin.

djs55 avatar djs55 commented on May 18, 2024

Re: the xenbus API: bear in mind this is all a coffee-fuelled idea from
yesterday. I was thinking we could support multiple APIs: the traditional
xenbus API isn't going anywhere since it's baked-into OS kernel drivers. We
could add another API over (eg) vchan or v4v. Perhaps you connect to
xenstore and then read

/tools/xenstore/features/irminsule-is-magic = 1

and then connect over vchan?

On Fri, Nov 22, 2013 at 9:37 AM, Thomas Gazagnaire <[email protected]

wrote:

Do you plan to change the xenbus API then ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-29060142
.

Dave Scott

from irmin.

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.