Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Consul vs Eureka comparison to website #1295

Closed
philsttr opened this issue Oct 13, 2015 · 3 comments
Closed

Add Consul vs Eureka comparison to website #1295

philsttr opened this issue Oct 13, 2015 · 3 comments
Labels
type/docs Documentation needs to be created/updated/clarified

Comments

@philsttr
Copy link

It would be great if the Consul vs Other Software section of the website included a comparison of Consul vs Eureka.

@armon provided a quick summary in the google group...

Could you please file a ticket? We can hopefully get this done in more detail, but in gist:

Eureka:

  • AP (weak consistency), state is replicated with “best effort”
  • Services are registered with one server, which attempts to replicate to other servers
  • Service registrations have a TTL, and clients must heartbeat
  • Reads are routed to any server, can be stale or missing data
  • Scales well due to low coordination, especially when server failures relatively rare
  • Fails if all servers down

Consul

  • CP (strong consistency), state is replicated using Raft
  • Services registered with any server, but written via Raft to a quorum
  • Registrations have complex health checks, including gossip failure detection instead of heartbeating
  • Reads routed to any server, consistent by default but stale reads can be requested
  • Stale reads scale well, Consistent reads scale to tens of thousands per second
  • Consistency offers locking and cluster coordination
  • Lots more features (health checking, locking, KV, federation, ACLs)
  • Fails if a majority of servers down

Hope that helps!

Best Regards,
Armon Dadgar

@joneepenk
Copy link

is this so hard? it's over a year and still open with no comment.

@slackpad slackpad added the type/docs Documentation needs to be created/updated/clarified label Feb 4, 2017
@slackpad
Copy link
Contributor

slackpad commented Feb 4, 2017

Hi @joneepenk sorry we haven't gotten to this - it's not hard but there's a large backlog of small things like this and limited resources, so we have to focus our resources on higher priority things. Hopefully the summary above helps in the meantime.

@ghost
Copy link

ghost commented Mar 22, 2017

@philsttr which is the best chooice in Distributed Systems? spring cloud supported the both.

slackpad added a commit that referenced this issue Jun 8, 2017
website: Add a vs Eureka. Fixes #1295
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Documentation needs to be created/updated/clarified
Projects
None yet
Development

No branches or pull requests

3 participants