No one asked for it, so I spent the past few weeks benchmarking algos coverage and performance.
https://github.com/nostrability/outbox
Iโve reached a point of diminishing returns with outbox benchmarks.
Key learnings:
1. Randomness > deterministic algos
2. Add Thompson learning to increase coverage by 25%+ by learning and persisting which relays return useful info
3. Nip-66 reduces latency by 40% in not checking for info from dead/offline relays
Submitted a few PRs:
https://github.com/nostr-dev-kit/ndk/pull/387
https://github.com/hzrd149/applesauce/pull/54
https://github.com/hzrd149/applesauce/pull/55
https://github.com/coracle-social/welshman/pull/53
https://github.com/rust-nostr/nostr/pull/1282
https://github.com/vitorpamplona/amethyst/pull/1833
https://github.com/nostur-com/nostur-ios-public/pull/53
https://gitlab.com/soapbox-pub/ditto/-/merge_requests/18
Hope at least one #devstr finds this useful.
cc @fiatjaf @KernelKind
https://github.com/nostrability/outbox
Iโve reached a point of diminishing returns with outbox benchmarks.
Key learnings:
1. Randomness > deterministic algos
2. Add Thompson learning to increase coverage by 25%+ by learning and persisting which relays return useful info
3. Nip-66 reduces latency by 40% in not checking for info from dead/offline relays
Submitted a few PRs:
https://github.com/nostr-dev-kit/ndk/pull/387
https://github.com/hzrd149/applesauce/pull/54
https://github.com/hzrd149/applesauce/pull/55
https://github.com/coracle-social/welshman/pull/53
https://github.com/rust-nostr/nostr/pull/1282
https://github.com/vitorpamplona/amethyst/pull/1833
https://github.com/nostur-com/nostur-ios-public/pull/53
https://gitlab.com/soapbox-pub/ditto/-/merge_requests/18
Hope at least one #devstr finds this useful.
cc @fiatjaf @KernelKind
12๐1๐ค๐ป1