twitter-archive / mysos

Cotton (formerly known as Mysos)
https://incubator.apache.org/projects/cotton.html
588 stars 67 forks source link

Use 'disk' resource in Mesos offers #22

Closed xujyan closed 9 years ago

xujyan commented 9 years ago

We haven't been using it because it has not been enforced by the Mesos slave and we are planning on leveraging the persistent resource primitives soon.

However with disk not being accounted for, we sometimes run into issues where the disk space has been a resource bottleneck for hosts (e.g. the instance restores from a HUGE backup). We should have a simple implementation first that specifies the disk sources as if they are enforced.

xujyan commented 9 years ago

This is addressed in #23.