+ On the right side of above picture we have six machines and on the left side the black dots represent these machines in an identifier space. Notice that our identifier space is a sequence which starts from zero and then ends on 15 but then goes from 15 to 0 again and thus forms a circular space. Due to this circular property of our space we call it the Ring DHT where DHT stands for Distributed Hash Tables(we'll discuss about DHTs later). Our identifier space has a size of <strong>4 bits</strong> which means it can hold a maximum of <strong>2^size = 2^4 = 16</strong> machines. In above example out of 16 only 6 machines are currently active in the identifier space. Each of these machines is responsible for holding some sort of data which can be videos, images, music, text files, etc. This data is stored in the form of<strong>key/value</strong> pairs. These key/value pairs are arranged in the form of a Binary Search Tree. Every machine in the above identifier space has a single binary tree used to store data key/value pairs of that machine.
0 commit comments