←back to thread

292 points kixelated | 1 comments | | HN request time: 0.213s | source
Show context
englishm ◴[] No.44988596[source]
Hi! Cloudflare MoQ dev here, happy to answer questions!

Thanks for the award, kixelated. xD

replies(6): >>44989011 #>>44989230 #>>44989615 #>>44989828 #>>44990875 #>>45005783 #
combyn8tor ◴[] No.44989828[source]
Is the load balancing of the relays out of scope? It doesn't seem to be addressed in the write up unless I missed it.
replies(2): >>44989922 #>>44990368 #
kixelated ◴[] No.44989922[source]
EDIT: Sorry I just noticed this was directed to Cloudflare. They're using the same architecture as Cloudflare Realtime, their WebRTC offering.

`relay.moq.dev` currently uses GeoDNS to route to the closest edge. I'd like to use anycast like Cloudflare (and QUIC's preferred_address), but cloud offerings for anycast + UDP are limited.

The relays nodes currently form a mesh network and gossip origins between themselves. I used to work at Twitch on the CDN team so I'd like to eventually add tiers, but it's overkill with near zero users.

The moq-relay and terraform code is all open source if you're super curious.

replies(2): >>44990267 #>>44993026 #
nonane ◴[] No.44990267[source]
Home much success have you have with GeoDNS? We've seen it fail when users are using privacy respecting resolvers like 1.1.1.1. It gets the continent right but fails on city/state level.
replies(1): >>44990429 #
1. kixelated ◴[] No.44990429[source]
It works well right now because there's only one edge per continent. But if I had traffic, anycast is definitely the way to go.