Using Marathon to launch and manage long-running applications on Mesos
Marathon is a commonly used Mesos framework for long-running applications. It can be considered a replacement for init
or upstart
in traditional systems or as the init.d
of your system.
Marathon has many features, such as controlling a high availability environment, checking the applications' health, and so on. It also comes with Representational State Transfer (REST), such as endpoint, which you can use to start, stop, and scale your applications. It can be used to scale up and down the cluster based on the load, which means that it should be able to start a new instance just in case an available one goes down. Marathon is also designed to run other frameworks on it, such as Hadoop, Kafka, Storm, Chronos, and so on. Marathon makes sure that every application that is started through it keeps running even if a slave node goes down.
Marathon runs in a highly available fashion, which implies that there can be multiple...