Coder Social home page Coder Social logo

[RFC] Object ID about agent HOT 7 CLOSED

kata-containers avatar kata-containers commented on June 2, 2024 1
[RFC] Object ID

from agent.

Comments (7)

sameo avatar sameo commented on June 2, 2024

cc @tallclair

from agent.

sameo avatar sameo commented on June 2, 2024

I want to point out that processes, storage, devices and NICs have unique host and guest identifiers. The kernel manages and uniquely identifies them, so I wonder why we need another abstraction layer on top of it.

from agent.

bergwolf avatar bergwolf commented on June 2, 2024

@sameo I proposed the abstraction because it's easier to think from a higher level. And then we do not need to look into details of each object to find out which is a possible unique identifier and thus end the ever-running discussions like whether pid/MAC is validly unique in a guest.

BTW what do you think can uniquely identify a storage? Device path cannot work because it may not have one at all. And mountpoints can easily duplicate.

from agent.

WeiZhang555 avatar WeiZhang555 commented on June 2, 2024

I was also thinking about this recently, I think this is a good idea, which will end all unique key related talks. With something like UUID system, we can make the design more consolidated. One good example is in database world, every record has a unique number index when we design the table.

/cc @jodh-intel @sboeuf for more discussions.

from agent.

bergwolf avatar bergwolf commented on June 2, 2024

@sameo now that we've agreed that a runtime generated process ID works better than guest pid in #72, is it OK to push the similar object ID rule globally?

from agent.

sboeuf avatar sboeuf commented on June 2, 2024

I am fine with that, since it is not going to change anything, it's more about a concept we all agree on.

from agent.

c3d avatar c3d commented on June 2, 2024

This was not done since it was suggested. I believe we should close it, and re-open the issue if we actually start working on it. @bergwolf please reopen if you think it is wrong to close it.

from agent.

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.