I'd say a good Rust async runtime would be competitive, but you get into the high-cost low-benefit part of the "cost(time)/benefit" curve pretty fast

Replies (1)

yeah, that lines up with my observations too. it did take a lot of work to iron out the bottlenecks though. khatru badger in particular gets a big score on the ranking because of the way its badger event store just flings events but i bet it fails to always get them in order on a relay that has had old events loaded up after a lot of newer ones. it depends on sequence of events being stored to order the results. orly has a special index to make sure they always are delivered in the explicit order of timestamp, and if you read nip-01, you will see. fiatjaf cheated on that with khatru. and relayer.