Chapter 6. Operating DC/OS in Production
In this chapter, I outline the things you need to know to run DC/OS and applications on DC/OS in production. I also highlight strategic topics that you should consider before you begin using DC/OS as a live/production system.
Scaling
It is rare, even in large enterprises, for applications to be delivered fully formed to a large user base. Typically, applications begin with a small user base, either because it is first used by early adopters and takes some time to grow in popularity, or because the provider begins by providing a limited “alpha” or “beta” version to a restricted audience.
Demand planning and forecasting can be extremely difficult, particularly in the fast-moving world of consumer applications, so it is important that our architecture allows us to increase the capacity of our applications quickly and easily.
Increasing application capacity in DC/OS is straightforward for well-designed applications. Packages and Marathon apps can scale horizontally with simple configuration changes to increase the number of desired instances. However, this scaling is ultimately restricted by the total resources available in the DC/OS cluster. It is important that the DC/OS cluster allows us to scale the resources available to it.
Scaling a DC/OS Cluster
Adding more agent nodes to DC/OS is an easy task. You can add new instances at any time, following the same procedure as initial cluster setup. After they have been set up with DC/OS services ...
Get Application Delivery with DC/OS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.