-
Notifications
You must be signed in to change notification settings - Fork 6
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
Replicate subjective kv #997
Comments
The definition of "subjective" has just expanded from "this local node" to "this shared cluster" which could mean a subset of the global set of nodes on a public network with independent producers.
What you end up needed to do is having each node in the cluster report its own subjective view of resource demands of a user to a "central billing server". Each node is "trusted" because they are owned by one user, but never the less it is multiple nodes. ** Private Networks ** The private node operator would be 100% responsible for all real world costs of tracking the billing anyway, so there is no need to invent a separate system to record the billing unless it is for scaling purposes (e.g. off loading state that is independent from the rest of the objective state) or for security purposes (hiding information from those it is otherwise disclosing the blockchain to). ** Shared Networks w/ Cluster Infrastructure Providers** Therefore, the solution is that each infrastructure provider on a public chain needs two blockchains, one to track the state of its private billing cluster, and the public chain. Individual machines would report their subjective bandwidth usage for each user to their cluster state chain, but authenticate users according to the shared public chain. ** Two Approaches ** If you consider that the billing cluster may only need to be the minimum for fault tolerant redundancy, but the replication of the public infrastructure could scale much larger then it becomes fairly obvious that the following is true:
The code for the resource management is therefore a smart contract that can run on any chain and each psinode only needs to be configured to know which chain to point its reporting and querying to. |
Few background concepts I think might be useful here:
|
Need a way to replicate subjective kv tables, at least among one's own node cluster. This is necessary for failover, recovering any critical private data.
The text was updated successfully, but these errors were encountered: