News for hackers. Stuff that matters.
Re:ArangoDB on Mesosphere Using Marathon and Docker by mateuszf on Monday January 26, 2015 @09:06AM (#8947023)
It's possible to use volumes functionality to keep db data persistent.
Re:ArangoDB on Mesosphere Using Marathon and Docker by sargun on Monday January 26, 2015 @09:52AM (#8947242)
But, it wont be persisted across restarts in Mesos-land, because Mesos doesn't have the idea of data volumes. The way that Google (Omega) gets around this is having GFS deal with replication, and persisting all of their databases into the shared file system.
Re:ArangoDB on Mesosphere Using Marathon and Docker by don71 on Monday January 26, 2015 @10:49AM (#8947592)
There is an interesting discussion on the mailing list http://mail-archives.apache.org/mod_mbox/mesos-user/201410.m...
Re:ArangoDB on Mesosphere Using Marathon and Docker by googamooga on Monday January 26, 2015 @09:54AM (#8947254)
In order to use docker volume you have to stick your ArangoDB docker instance to exact same mesos worker. Otherwise database instance may be started by marathon on any random chosen worker, without saved volume. IMHO, sticking database instance to exact cluster node renders whole idea of using mesos and marathon completely useless.
Re:ArangoDB on Mesosphere Using Marathon and Docker by lhc- on Monday January 26, 2015 @10:30AM (#8947478)
You could mount a network volume on all your mesos hosts and make that available to the DB container, so that no matter which host handles that job, your data will persist easily.
Re:ArangoDB on Mesosphere Using Marathon and Docker by tinco on Monday January 26, 2015 @10:51AM (#8947601)
What would the performance characteristics of that be? What configures the network volume? Isn't configuring and maintaining a network volume comparable to configuring and maintaining a database?

Mesos is missing something to deal with persistent storage. From what I've heard all teams that employ Mesos don't actually run their persistant storage clusters in Mesos. Perhaps handy for them, but for me that takes most of the use out of Mesos.

Re:ArangoDB on Mesosphere Using Marathon and Docker by aabhay on Monday January 26, 2015 @01:42PM (#8948712)
Mesosphere's DNS implementation (https://github.com/mesosphere/mesos-dns) helps address that problem. You can use dns routing to create an internal storage or implement a cache that routes cache misses to an external store.
Re:ArangoDB on Mesosphere Using Marathon and Docker by googamooga on Wednesday January 28, 2015 @01:43PM (#8961660)
Mesos-DNS has nothing to do with data persistance on mesos. It is just another implementation of cluster service locator.
Re:ArangoDB on Mesosphere Using Marathon and Docker by m_mueller on Monday January 26, 2015 @09:22AM (#8947097)
That's a rather large overlook in a tutorial for a DBMS based app though.