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

Comparison to CiscoCloud/marathon-consul #64

Closed
mitel opened this issue Mar 22, 2016 · 4 comments
Closed

Comparison to CiscoCloud/marathon-consul #64

mitel opened this issue Mar 22, 2016 · 4 comments
Assignees
Labels

Comments

@mitel
Copy link

mitel commented Mar 22, 2016

I noticed that this project is based on CiscoCloud's but..
What are the main differences between allegro/marathon-consul and CiscoCloud/marathon-consul and when shall one use one over the other?

@janisz
Copy link
Contributor

janisz commented Mar 22, 2016

Hey @mitel

  1. CiscoCloud/marthon-consul copies application information to Consul KV while allegro/marathon-consul register tasks in Consuls Services (it is more similar to CiscoCloud/mesos-consul)
  2. CiscoCloud/m.*-consul uses polling while allegro/marathon-consul uses SSE to detect changes
  3. CiscoCloud/marathon-consul is no longer developed (see comment)

@dankraw Did I miss something? We should put this in README

@dankraw
Copy link
Contributor

dankraw commented Mar 22, 2016

As @janisz said, our project is a bridge between Marathon and Consul's service discovery functionality (not Consul's KV store as in CiscoCloud's project - this is the main difference). We were highly influenced by their other project - Mesos-Consul, but we do service registration near real-time (we use Marathon's event bus), not by polling the Mesos api.

So summing it up, if you want to register your services in the service discovery AND you use Marathon - use our project. If you simply use Mesos with some other framework on top of it - use Mesos-Consul.

If you're interested in the Consul's KV functionality - use CiscoCloud's Marathon-Consul.

@mitel
Copy link
Author

mitel commented Mar 22, 2016

thank you, appreciated guys

@dankraw
Copy link
Contributor

dankraw commented Mar 22, 2016

Oh, and of course both Marathon-consul projects can work together as Marathon supports multiple event bus callbacks, so you can have your services and KV-data all together.

janisz added a commit that referenced this issue Mar 22, 2016
@janisz janisz mentioned this issue Mar 22, 2016
janisz added a commit that referenced this issue Mar 22, 2016
janisz added a commit that referenced this issue Mar 22, 2016
janisz added a commit that referenced this issue Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants