Closed maxpert closed 1 year ago
Am an absolute noob in networking, had a curious question. Does this mean we don't have to point every instance to all the possible instances explicitly in the config file?
Am an absolute noob in networking, had a curious question. Does this mean we don't have to point every instance to all the possible instances explicitly in the config file?
Yes you can now use DNS addresses to resolve out IPs. Look at PocketBase on Fly.io that automatically uses DNS resolution to find first two peers. This should take away all of the overhead of getting IPs yourself and use service discovery mechanism via A/AAAA records to start cluster.
Nice
Adding feature for DNS based peer discovery and NATS URL flattening. This will allow Marmot to function in a cluster environment where people won't have to write complicated scripts to discover DNS before moving forward. URL also supports query parameters
min
to set minimum number of routes before proceeding,interval_ms
is the delay between query retries.