RebelOfBabylon on Nostr: There is a protocol for syncing distributed databases called negentropy that does ...
There is a protocol for syncing distributed databases called negentropy that does something similar to what you're describing. And although your solution works on paper, there are trade offs. 1. Relays become bloated as every relay needs a copy of every event making it harder for anyone to run a relay. 2. This would certainly make queries for events slower as a result (since now there are so many events to go through to find the right ones). 3. Relays can no longer serve small isolated communities that know nothing about the rest of the nostr network and instead serve one giant public square removing some flexibility in the network.
Published at
2024-08-29 02:23:01Event JSON
{
"id": "045b4d85220737e109c42c6c20a4169c568e8bf50bfb915e6b9b04d01def392a",
"pubkey": "d06e6018c1fcf7d80d4f18ae7ea669fa10f84389f95f6d1bdcea9727cb266c33",
"created_at": 1724898181,
"kind": 1,
"tags": [
[
"e",
"67ef0cb25051fa7b40df88631c9bfa3cd09144d249a7137d1f3355adfd090b9a",
"",
"root"
],
[
"e",
"76c8387daf243564d8eaafc5e015e77c3d8cf850c4bf7f80152f2631e6fb26c9"
],
[
"e",
"b2bc21ae9a5700bb206e6f62cc2433045769437067158d2f773b81313b63ce7d",
"",
"reply"
],
[
"p",
"cbc5ef6b01cbd1ffa2cb95a954f04c385a936c1a86e1bb9ccdf2cf0f4ebeaccb"
],
[
"p",
"55f573b651eff351db57b0601d23022d8c532f9825db10a5733ebf39be4aa21b"
],
[
"p",
"d06e6018c1fcf7d80d4f18ae7ea669fa10f84389f95f6d1bdcea9727cb266c33"
]
],
"content": "There is a protocol for syncing distributed databases called negentropy that does something similar to what you're describing. And although your solution works on paper, there are trade offs. 1. Relays become bloated as every relay needs a copy of every event making it harder for anyone to run a relay. 2. This would certainly make queries for events slower as a result (since now there are so many events to go through to find the right ones). 3. Relays can no longer serve small isolated communities that know nothing about the rest of the nostr network and instead serve one giant public square removing some flexibility in the network. ",
"sig": "a5dcb623ff0adc5cedd58c882499090d432a6862eb0a4803a188bd2272269b4fd9af4a375d816cec56d42f92020f396fed9bfcbda600d591480c47cbbb1f4fc2"
}