Damus
elsat · 6d
Barely any app devs as far as I’m aware implement nip-66 relay liveness checks e.g. for outbox. Nip-66 reduces feed loading time by ~~40%. https://github.com/nostrability/outbox nostr:nevent1qqs...
Silberengel profile picture
I've been doing it algorithmically, with a three-tries-you're-out-for-this-session method. Which means that it's slowish for about 5 minutes and then speeds up, as it puts those relays in timeout.

I don't think I can remove that, as it also covers the common habit of having relays in your list that you can't actually write to, and cases where relays are down temporarily for maintenance.

Do you have a cronjob to update the liveliness events, or how does it work?
2
elsat · 6d
Can I see the repo? Nostr.watch runs off nip-66 events. Its just that they aren't published to many relays, only: Relaypag.es Relay.Nostr.watch Monitorlizard.nostr1.com There's also undocumented events that can be used for uptime, kind 1066 cc nostr:npub1uac67zc9er54ln0kl6e4qp2y6ta3enfcg7ywnayshv...
josh · 6d
nostr:npub1q3sle0kvfsehgsuexttt3ugjd8xdklxfwwkh559wxckmzddywnws6cd26p made an easy suggestion that fixes all these issues. After receiving the first EOSE from a relay, set a 200ms timeout for the other relays. Makes it incredibly fast and still gives the other relays a chance to get their notes in.