tragic on Nostr: Now I'm wondering if using a Bloom filter would help nutshell with its DB performance ...
Now I'm wondering if using a Bloom filter would help nutshell with its DB performance bottleneck.
Don't want to be mistaken but, If we set parameters for a very low probability of false positives, couldn't we just remove the DB entirely and replace it with the filter?
We only ever need the DB to check for double spends.
This would not only benefit performance but also privacy as there is basically no useful information stored.
Published at
2024-07-27 07:04:46Event JSON
{
"id": "7abc9c7800db6029b6b4a1170a4ab3e66c24f988f4b0c3385224e3a8ca85dd72",
"pubkey": "e3fc673fc5f99cc554d0ff47756795647d25cb6e6658f912d114ae6429d35d35",
"created_at": 1722063886,
"kind": 1,
"tags": [],
"content": "Now I'm wondering if using a Bloom filter would help nutshell with its DB performance bottleneck. \n\nDon't want to be mistaken but, If we set parameters for a very low probability of false positives, couldn't we just remove the DB entirely and replace it with the filter?\nWe only ever need the DB to check for double spends.\nThis would not only benefit performance but also privacy as there is basically no useful information stored.\n\nhttps://m.primal.net/JfwW.png",
"sig": "be1d02435992baf64501ba70d2b3008f438eacf43d04bc3d17e62ca3a9f3a72103801e530c6ffdf68787b05e45cd51547af480bd6bf6fd49f85f3fee17a501ba"
}