You can use autoscaling to automatically increase or decrease computing resources based on usage so that you’re using only the resources you need. Here are some examples to show you how to implement autoscaling for your services.
|Important: Mesosphere does not support this tutorial, associated scripts, or commands, which are provided without warranty of any kind. The purpose of this tutorial is to demonstrate capabilities, and may not be suited for use in a production environment. Before using a similar solution in your environment, you must adapt, validate, and test.|
Autoscaling Marathon services using CPU and memory
A Python service, marathon-autoscale.py, autoscales your Marathon application based on the utilization metrics which Mesos reports. You can run this service from within your DC/OS cluster. marathon-autoscale.py is intended to demonstrate what is possible when you run your services on DC/OS.…Read More
Autoscaling using requests per second
You can use the marathon-lb-autoscale application to implement request rate-based autoscaling with Marathon. The marathon-lb-autoscale application works with any application that uses TCP traffic and can be routed through HAProxy.…Read More
Microscaling based on queue length
This tutorial walks through setting up a microscaling demonstration from Microscaling Systems on a DC/OS cluster.…Read More