Persistent Volumes

Since v0.23.0, Mesos has introduced experimental support for a new feature called Persistent Volumes. One of the key challenges that Mesos faces is providing a reliable mechanism for stateful services such as databases to store data within Mesos instead of having to rely on external filesystems for the same.

For instance, if a database job is being run, then it is essential for the task to be scheduled on slave nodes that contain the data that it requires. Earlier, there was no way to guarantee that the task would get resource offers only from the slave nodes that contained the data required by it. The common method to deal with this problem was to resort to using the local filesystem or an external distributed filesystem. These ...

Get Mastering Mesos now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.