This is a very nice write-up indeed, and I’ve come across variations of these challenges time and again. I haven’t been using Mesos lately (I’ve been looking at lower-level stuff and find Marathon heavy and opaque), but there’s a lot to learn from it.