Vitor Pamplona on Nostr: Ok, now we can do 1M events with ~8-18 relay hints each + 1M pubkeys with 5 outbox ...
Ok, now we can do 1M events with ~8-18 relay hints each + 1M pubkeys with 5 outbox relays each + 1M + 100K replaceable event addresses with ~8-18 relay hints each using only 6MB or memory.
Assembling a relay list depends on how many different relays you see, but it costs around 289 microseconds if you saw ~2000 relays.
Incredible.
Published at
2025-02-20 23:06:45Event JSON
{
"id": "1117d09ec01979d866e9c2f40085d48ac54a97476fcc8fbf95f079569fb70221",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1740092805,
"kind": 1,
"tags": [
[
"alt",
"A short note: Ok, now we can do 1M events with ~8-18 relay hints..."
]
],
"content": "Ok, now we can do 1M events with ~8-18 relay hints each + 1M pubkeys with 5 outbox relays each + 1M + 100K replaceable event addresses with ~8-18 relay hints each using only 6MB or memory.\n\nAssembling a relay list depends on how many different relays you see, but it costs around 289 microseconds if you saw ~2000 relays.\n\nIncredible.",
"sig": "f687e7587993e138fe750e70b886f0f3da4df22ea58ce455d35ab938712a8c48a7caa95fae17ba2b57cebe424b2210d45b00efd200baa7db31fc3a09c76def9c"
}