Hacker News new | ask | show | jobs
by rurounijones 4894 days ago
Initial discoverability is the one thing that most SOA articles I read tend to skip over or hand-wave away which really drives me nuts.

What else is there out there apart from ZooKeeper?

2 comments

ZooKeeper is really the most accepted option here. It is used by many other important projects (Kafka, Storm, Hadoop) so adding it to your stack is likely to pay dividends later when you want to adopt some other cool technology that relies on it.

Doozer is the other option I've heard of that fills this role, but I don't personally know of anyone using it.

In terms of initial discoverability, services register in a designated place in ZooKeeper using an ephemeral node and then other services can find them there. You can set a "watch" on the ephemeral node to get notified if it goes away for any reason (ie. the other service or node goes down)