dmotz / trystero

✨🤝✨ Build instant multiplayer webapps, no server required — Magic WebRTC matchmaking over BitTorrent, Nostr, MQTT, IPFS, Supabase, and Firebase
https://oxism.com/trystero
MIT License
1.15k stars 87 forks source link

Question: relay list update frequency? #88

Open hchiam opened 6 days ago

hchiam commented 6 days ago

@dmotz, how often do you find or would expect that you'd have to update the list of relay URLs? i'm having fun building apps with trystero, but i'm thinking about how often i'd need to update my dependency on trystero for production.

maybe every few months, based naively on the worst case with the nostr part of the commit history notes below?

but then again, i'm guessing it shouldn't be a concern for developers building with trystero, since i'd hope it's very unlikely that all the relay URLs listed in the array will fail/close at the same time.

commit history notes/observations:

hchiam commented 6 days ago

to be clear, from what i recall, there has been at least 1 relay URL for nostr and for torrent that hasn't changed since the arrays have been created in the commit history up to the time of writing, but i feel a little concerned seeing the lists having a lot of the URLs removed or changed so far