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 tutorials to show you how to implement autoscaling for your services.
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