Going with the philosophy of Mesos as the datacenter OS, I am curious to
know how folks with Mesos installations manages task preemptions across
multiple frameworks.

Consider a simplified hypothetical setup which comprises of a mesos
cluster, running Aurora and Hadoop as frameworks. Also, let's assume that
Aurora is used to start services that serves live traffic and affects
site-availability. Also, Hadoop runs offline tasks that doesn't affect
site-availability directly. Now, in event of a traffic spike, Hadoop tasks
can be pre-empted, so that the released capacity can now be used by Aurora
to spawn additional service instances.

Some observations here:

   - Aurora and Hadoop are two different frameworks, one cannot preempt
   other framework's task.
   - There's no notion of task priorities built into mesos, as mesos pushes
   scheduling concerns to framework schedulers.
   - Mesos doesn't have a view into framework's backlog.

It would be great if folks can share how they deal with these situations.

--
Mohit

Reply via email to