project-iris / iris

Decentralized cloud messaging
iris.karalabe.com
Other
571 stars 32 forks source link

Separate routing and naming hashes? #23

Open karalabe opened 10 years ago

karalabe commented 10 years ago

An interesting idea is whether it would be worthwhile to separate the routing hashes and the naming hashes.

Since the number of nodes is relatively reduced (thousands most probably), the Pastry hashes shouldn't exceed 40-48 bits, otherwise the routing tables become sparse.

However, we could allow longer Scribe hashes to support significantly more topics. In essence only the first N bits of the scribe hash would result in routing and the rest only used for demultiplexing among topics with the same rendezvous point.