I heard some monero developers talk about sharding to help manage the size of the blockchain. Sharding is where every node only hold a small pieces of the blockchain to help deal with blockchain size growth and they all work together to validate transactions/blocks. How would something like this work in monero? Is it possible to work properly?
Asked
Active
Viewed 464 times
6
-
Can you make your question more self contained? I.e., what is sharding? – Ginger Ale Dec 03 '16 at 16:57
-
Ok i made it clearer – samwellj Dec 04 '16 at 02:08
1 Answers
7
Currently it's still an open question but I believe it's the inevitable path if Monero adoption increases. The optimal way for a sharded distributed DB to operate is to have encoded rules for mapping from a key to a shard node. E.g., to look up a key image, use the first byte of the key as a map to one of 256 possible branches of shared containing the record. Some distributed systems use a central directory to redirect lookups to their respective nodes - these scale poorly since the central directory becomes a bottleneck itself.
hyc
- 4,233
- 18
- 21