Damus
balas · 1d
looks very exhaustive but not sure who this is for...
elsat profile picture
I had a asked the question of how much better is outbox than a static relay list two years ago.

No dev was interested to answer, so I did the benchmarks to find out.

Found one bug in an existing outbox implementation, and got some results on comparing outbox algos.

It is useful for me, and I will be happy if the study provides value to a single dev. Either way is fine, although I hope for the latter.
1
balas · 1d
that's great! did you reach any conclusions on the original question? alphaama's outbox code is pretty straightforward if you're curious. here's a quick summary: For each author pubkey in the query, look up their declared relays (from their kind-10002 events). Build a map of relay → list of a...