News for hackers. Stuff that matters.
Re:Swarm vs. Fleet vs. Kubernetes vs. Mesos by jacques_chester on Friday October 23, 2015 @10:19AM (#10438682)
They're arguably symmetric. Based on my very limited understanding:

Diego works by auctioning tasks/LRPs to cells, which bid based on free resources.

Mesos works by auctioning free resources to tasks/LRPs, which accept or reject based on their own policies.

The analogy I got from Onsi was that Diego is "demand-driven", Mesos is "supply-driven".

They have different sweet spots. Diego is built to be the heart of a PaaS, so it aims for fast success or failure for accepting tasks and processes. Consumers can decide whether to build further scheduling intelligence, but Diego doesn't make it explicit.

Mesos exposes some of the placement/scheduling logic back to the client explicitly. For example, if you are OK with a gigantic batch job running intermittently, Mesos can more or less do that without fuss. The job will simply wait until enough free resources are available on the cluster. This is one of the observations that drove Mesos. Whereas Diego will tell you very quickly if that capability is unavailable currently.

On the flipside, Diego requires no additional configuration. It also doesn't require a central view of available resources to be maintained in order to perform placement. That said, Diego does maintain a central view of tasks and LRPs that have been placed, in order to relaunch failed ones.

That said, I have sometimes been wrong about my understanding of Diego and Mesos, so YMMV.

Re:Swarm vs. Fleet vs. Kubernetes vs. Mesos by amouat on Friday October 23, 2015 @10:27AM (#10438749)
Thanks, sounds accurate at least :)
Re:Swarm vs. Fleet vs. Kubernetes vs. Mesos by jacques_chester on Friday October 23, 2015 @10:31AM (#10438779)
No worries. If you want to learn more, I can put you in touch with the Diego or Lattice teams.

I should also note in passing that Diego can place and manage Docker containers, Windows .NET apps and classic buildpack-staged apps, with the architectural flexibility to extend to more kinds of managed resources (eg, with the right backend, it could manage unikernel apps). That alone sets it apart from the pack.

Re:Swarm vs. Fleet vs. Kubernetes vs. Mesos by lifty on Friday October 23, 2015 @11:05AM (#10439003)
I think Nomad aims to be similarly flexible in the type of resources it can manage.
Re:Swarm vs. Fleet vs. Kubernetes vs. Mesos by jacques_chester on Friday October 23, 2015 @11:38AM (#10439281)
Yes, in a different way. Diego pushes the question of the underlying runtime environment down to Garden, so if you add a backend, Diego can drive it.