News for hackers. Stuff that matters.
Re:Docker Containers at Scale: Our Take on Docker Swarm by phildougherty on Thursday February 26, 2015 @11:31AM (#9113361)
If you've spent any significant amount of time with Mesos and Marathon, you've probably found that it's buggy (Marathon at least), complicated, and hard to work with. Zookeeper is just one part of the complicated web of infrastructure you need to stand up. To top it off you end up needing to run something like Netflix' Exhibitor to have any shred of confidence that if ZK goes away the state of your cluster will be recoverable. It definitely "works", but certainly leaves something to be desired in the stability and ease of use department.
Re:Docker Containers at Scale: Our Take on Docker Swarm by maslam on Thursday February 26, 2015 @02:02PM (#9114514)
We[1] haven't found this to be the case. These are early-stage projects but they hold promise for companies that need an internal PaaS at scale. I look at Marathon, Chronos and ZK (to some degree) as building blocks, and DCOS as the glue that will tie them together.

One big reason to use Marathon + Chronos + Mesos is to get multi-tenancy of compute and data workloads on your instances. You can't get that with web-service specific tech like Tutum.

[1] appuri.com

Re:Docker Containers at Scale: Our Take on Docker Swarm by josh2600 on Thursday February 26, 2015 @04:16PM (#9115564)
I mean, I'm a little biased because I work there, but Terminal gives you multi-tenancy of compute and data workloads by default, and you get almost all of the properties of VMWare on containers (including VMotion style migrations).

You can make an account and boot apache Spark in about 30 seconds using this link [0]. It's running in production right now for a lot of people, and you can run Mesos on top of Terminal if you want it [1].

Again, I'm not trying to push this on you if you're happy with how stuff works today, but I think we've made a PaaS that solves a lot of these problems (and we'll let you run it on your own metal too if you want it). Check it out at terminal.com if you have some free time.

[0]https://www.terminal.com/snapshot/c81e6215eba5799335a45b6936... [1]https://www.terminal.com/snapshot/44d4ee043422afec75dfd3bdaa...

Re:Docker Containers at Scale: Our Take on Docker Swarm by mdekkers on Friday February 27, 2015 @06:21AM (#9118278)
This post would be a lot less spammy if you actually added some content, like how you do things differently, or what stack you use, whatever. Anything except "look at us, we are great at this"
Re:Docker Containers at Scale: Our Take on Docker Swarm by josh2600 on Friday February 27, 2015 @04:06PM (#9121363)
We hacked the linux kernel to provide better checkpointing of RAM state and then we write the state to disk. Anyone can then summon the state from disk in the time it takes to read the SSD.

It's kinda cool, or at least I think so.

Re:Docker Containers at Scale: Our Take on Docker Swarm by otterley on Thursday February 26, 2015 @12:39PM (#9113789)
I'm curious about just how difficult managing ZK is. My initial experience was pretty pleasant. Sure, it doesn't have a pretty admin UI (Exhibitor fills in that gap), but it's not like the consensus is that ZK is unreliable or doesn't live up to its utility claims. So, what exactly am I missing here?
Re:Docker Containers at Scale: Our Take on Docker Swarm by phildougherty on Thursday February 26, 2015 @12:52PM (#9113888)
I wasn't picking on ZK in particular. I was more pointing out that the system as a whole is complicated. It might be fine for "enterprise deployments" where a company has a lot of time, money and resources to throw at the implementation. In my opinion the average end user is going to get lost in the details of how these systems interconnect and work together. Debugging some of the more complex issues that they will face will be challenging.

Even Exhibitor is not a silver bullet for managing ZK. It helps with rolling restarts and lets you do a sort of MySQL-esque bin-log replay of your state, but even with Exhibitor, it's not going to make for a smooth recovery at 4:00AM when PagerDuty rings.

The underlying design of how Mesos and Marathon communicate create situations where they have differing views of the state of the cluster, and you end up with "orphans" which are tasks that Mesos is aware of but Marathon knows nothing about.

In my opinion, the system feels like it was designed to be something else, and then all this functionality was tacked on later. Coincidentally that is exactly what the case is with Mesos. I think there is a lot of room for an improved user experience that these tools will struggle to provide.

Re:Docker Containers at Scale: Our Take on Docker Swarm by presspot on Thursday February 26, 2015 @12:59PM (#9113950)
The whole point of the Mesosphere DCOS product is to make Mesos consumable by mere mortals: https://www.youtube.com/watch?v=UgJMlHdZEx4
Re:Docker Containers at Scale: Our Take on Docker Swarm by nor0101 on Thursday February 26, 2015 @12:55PM (#9113914)
Hi there, Marathon committer here. If you had a bad experience with the 0.7.x series, I apologize for that. We've made a serious effort to fix the consistency issues and that work has paid off. 0.8.0 is current, and we've just tagged 0.8.1-RC1 yesterday. I encourage you to give it another try! As mentioned in the other comments, we (Mesosphere) are actively working to provide alternatives to zookeeper such as etcd. The reality is that ZK will stick around as a stable option for people, as the first > 1.0 etcd release was tagged only two months ago.
Re:Docker Containers at Scale: Our Take on Docker Swarm by 23david on Thursday February 26, 2015 @01:57PM (#9114452)
Yep. In my experience, I've seen that the issue isn't with Mesos the Apache project, but rather with Marathon and Chronos, which are the applications built by Mesosphere.

There's a big naming and marketing confusion at the moment with the open-source project and the VC-funded startup having such a similar name. It's unfortunately giving a bad reputation to the Mesos project.

Curious why there actually isn't a trademark issue here...?

Re:Docker Containers at Scale: Our Take on Docker Swarm by phildougherty on Thursday February 26, 2015 @02:00PM (#9114480)
Because Mesosphere (the VC backed startup) hired the creator of Mesos (the Apache project), and is now trying to capitalize on the open source project as one of their "products".
Re:Docker Containers at Scale: Our Take on Docker Swarm by presspot on Thursday February 26, 2015 @08:31PM (#9116687)
Mesosphere is arguably the largest contributor to Mesos, certainly on par with Twitter, especially when you consider all the surrounding ecosystem. The company also secured permission from the Apache foundation with the trademark when the company was founded. It's good for the open source ecosystem to have companies productize and support projects, particularly when they are plowing millions of dollars back into the open source.
Re:Docker Containers at Scale: Our Take on Docker Swarm by eropple on Thursday February 26, 2015 @02:06PM (#9114549)
FWIW, I've had much more success with HubSpot's Singularity than Marathon/Chronos. (I use Marathon to bootstrap Singularity as the "init system", because it had HA before Singularity, but that's the extent of its interaction with my system.)
Re:Docker Containers at Scale: Our Take on Docker Swarm by phildougherty on Thursday February 26, 2015 @02:18PM (#9114667)
That's interesting. I've also found it interesting that one of the big selling points of the Mesosphere ecosystem is that it is used at scale by Twitter. But AFAIK twitter developed their own framework for long running tasks (http://aurora.incubator.apache.org/). So they are using Mesos (the open source project), maybe Chronos, and their own version of Marathon. That can be somewhat misleading to newcomers.
Re:Docker Containers at Scale: Our Take on Docker Swarm by davelester on Friday February 27, 2015 @10:53AM (#9119477)
To be clear, Twitter runs Aurora which is open source and has proven itself to be stable, battle-tested, and scalable; development on Aurora began in 2010, and over the years Mesos and Aurora have evolved together. Aurora has cron capabilities built into it, and Twitter does not run Marathon or Chronos.

Twitter engineering recently blogged about Aurora with a bit more on its history: https://blog.twitter.com/2015/all-about-apache-aurora, and The New Stack recently published a two-part article on the project: http://thenewstack.io/twitters-aurora-relates-googles-borg-p..., http://thenewstack.io/twitters-aurora-replaces-operating-sys...

(full disclosure, I work at the tweet shop)

Re:Docker Containers at Scale: Our Take on Docker Swarm by hawk188 on Thursday February 26, 2015 @02:53PM (#9114986)
Marathon is used in production at our company on > 1,000 servers. 0.7.x had some stability problems but 0.8 has been terrific. Especially given the project seems to be less than 2 years old (according to github), I find it to be really stable. A lot of advanced canary-style deploy features were added and they're more advanced and scalable than anything else we tried out.
Re:Docker Containers at Scale: Our Take on Docker Swarm by florianleibert on Thursday February 26, 2015 @04:57PM (#9115824)
I'd love to hear about the bugs that you encountered. Did you file any github issues for them?
Re:Docker Containers at Scale: Our Take on Docker Swarm by hawk188 on Thursday February 26, 2015 @02:55PM (#9115011)
Zookeeper isn't complicated. Maybe you picked the wrong profession?
Re:Docker Containers at Scale: Our Take on Docker Swarm by sitkack on Thursday February 26, 2015 @08:54PM (#9116747)
When ur green and have a karma of one, maybe u shouldn't try and append some junk on the insult log, hawk.