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

Decentralizing the Tuplespace #53

Open
PatrickMockridge opened this issue Feb 20, 2024 · 10 comments
Open

Decentralizing the Tuplespace #53

PatrickMockridge opened this issue Feb 20, 2024 · 10 comments
Labels
enhancement New feature or request

Comments

@PatrickMockridge
Copy link

PatrickMockridge commented Feb 20, 2024

Speaking with Jim Whitescarver at the moment. He believes that other forks are working on decentralization of the Tuplespace, but that it's important to add it to the issue list here.

This is a necessary and important performance enhancement feature.

@PatrickMockridge PatrickMockridge added the enhancement New feature or request label Feb 20, 2024
@leithaus
Copy link
Contributor

leithaus commented Feb 20, 2024 via email

@jimscarver
Copy link
Collaborator

jimscarver commented Feb 25, 2024

The whole point of using namespaces and mapping namespaces to aggregated RSpaces is to guarantee validated transactional semantics

You are perfectly correct, decentralizing Rspace across validators is a non starter. That's the domain of sharding. What I am suggesting is is a concept that I believed @tgrospic and yourself were already advocating. Perhaps it was wishful thinking on my part :)

What I am suggesting is hierarchical name space with independent tuple spaces rather that one that grows without bound.

Each name space corresponds to a markov blanket with an interface to an environment. Wallets occupy a global context but I would expect most contracts either do not reference wallets or only reference them through an interface. The context of a contract need not occupy the global tuple space. At any one time I would expect only a relatively small subset of name spaces would be active and there is no need to search them all.

I understand where may be technical challenges with this but I believe we will ultimately need name spaces with an organic nature.

@leithaus
Copy link
Contributor

leithaus commented Feb 25, 2024 via email

@jimscarver
Copy link
Collaborator

tree of shards

Not sure why you refer to "shards". More clarification may be needed. I am talking about a complete tree in every validator.

It occurs to me that if this is accomplished it might also allow a significantly more effective means for block merge.

@leithaus
Copy link
Contributor

leithaus commented Feb 25, 2024 via email

@jimscarver
Copy link
Collaborator

Each shard is a collection of validators serving a given namespace

Thanks for describing decentralization with shards. It's good information. But this thread is not about sharding.

@leithaus
Copy link
Contributor

leithaus commented Feb 26, 2024 via email

@PatrickMockridge
Copy link
Author

I spoke with Jim today about this conversation. My conclusion is that Jim hasn't properly defined the question he's asking. After asking @jimscarver to elaborate on the issue a bit more, my suggestion was that he write up a short summary with some diagrams to explain the problem statement and the solutions space in which he's querying.

@jimscarver
Copy link
Collaborator

jimscarver commented Feb 26, 2024 via email

@leithaus
Copy link
Contributor

leithaus commented Feb 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants