-
Notifications
You must be signed in to change notification settings - Fork 137
proposal: mesos-dns HTTP API watches #283
Comments
While I understand the use case, I have a few remarks regarding this idea in the context of Mesos-DNS:
|
Some thoughts: R(1): The delayed state propagation is a problem for DNS and R(2): TTL=0 is fine except for (a) broken DNS clients that ignore TTL, and; R(3): Mesos-DNS implements an HTTP API (currently) for a reason: not all More over, I think that it's reasonable to imagine a world wherein each I'm really not convinced that the stateful store of a consul kv-backed On Thu, Sep 24, 2015 at 6:25 AM, Tomás Senart [email protected]
|
It seems my email reply didn't get here earlier today. Replying inline:
I understand the benefits. I was just noting that this issue affects this proposal.
With watch semantics, do we have TTLs are all? That's a DNS concept, no?
Mesos-DNS exposes an HTTP interface to the current Mesos "service registry" which at the moment is completely coupled with this DNS server. Architecturally, this is undesirable and ought to be decoupled. I'd be reticent to add this kind of features before that happens.
Totally agree that a per-node agent architecture (a la Consul) is a very solid direction. That's one of the reasons that led me to evaluate Consul, which I'm currently doing. There are a number of challenges that rise in such scenarios, the first of which, scalable state propagation, is very elegantly solved with constant load Gossip protocols.
I'm not convinced either (yet), but not for that reason. After evaluation, our findings will be well synthesised and made available for consumption. With that said, Mesos-DNS is currently in hardening, testing and general quality improvement phase, |
RE: mesos-dns project phase - understood. My concerns re: consul stand. Gossip seems like overkill for this On Thu, Sep 24, 2015 at 12:17 PM, Tomás Senart [email protected]
|
@jdef: We're weighting pros and cons. There's nothing set in stone. |
some clients will want to know right away when service records change. it would be ideal if they could watch (ala k8s, or consul) a service for changes. this would address a major pain point of typical DNS systems -- latency between record updates when apps move across hosts (or otherwise experience a shift in IPs).
/cc @karlkfi
The text was updated successfully, but these errors were encountered: