Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mental model for resource lifecycle #120

Open
kjetilk opened this issue Nov 18, 2019 · 3 comments
Open

Mental model for resource lifecycle #120

kjetilk opened this issue Nov 18, 2019 · 3 comments

Comments

@kjetilk
Copy link
Member

kjetilk commented Nov 18, 2019

Since CS possess a Physics Envy on certain occasions, we might as well go with it to form a mental model. ;-)

I'm of course referring to the concept of atomic operations, and then what constitutes an atom, because atoms have substructure.

Atoms have a nucleus, which again consists of protons and neutrons. In Solid's first iteration, I think we should study the Hydrogen atom much like Niels Bohr did more than a hundred years ago. Thus, we have a single proton. That proton is "the resource", because it positively charged and can attract... whatever. :-)

The neutrons are the resources that lives and dies with the proton, i.e. the .acl (#58) and the .meta (#63). That is, operations on these resources are not only atomic, their lifecycle are completely tied together, and so operations on the proton may cause side effects on the neutron resources.

Beyond the nucleus, there are electrons, but as free hydride anions exist only under extreme conditions, we should restrict ourselves to only one electron per nucleus for now. The electron is typically the server-controlled metadata (#65), i.e. data that should be manipulated atomically with the nucleus, but when the nucleus is destroyed, the electron may persist. It thus to be expected that the pod graphs will be a negatively charged plasma, with free electrons representing data about long-gone resources.

Slightly tongue-in-cheek, but I think this mental model captures some essentials :-)

But the big question, does it capture consensus around resource lifecycle?

@TallTed
Copy link
Contributor

TallTed commented Nov 19, 2019

Interesting. I think I like it. I'm curious to read any negative thoughts about it... with which I may well also agree.

@csarven
Copy link
Member

csarven commented Nov 19, 2019

Depends. Do we need to unlock quantum mechanics or string theory?

@kjetilk
Copy link
Member Author

kjetilk commented Nov 19, 2019

Not yet, but who knows...? There is a lot of good humour around. I think a little subatomic theory goes a long way! ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants