Using Vars as a Lock Service
Now that we know how to use Vars to securely store our passwords and have our application instances automatically configure themselves when these changes occur, the Refuge team has found a new optimization it would like to make. Not all of the requests for Refuge services require connecting to RDS. Continuing from our last example, if we had many application instances behind a load balancer and then updated our password pointer key, all of our application instances would restart at the same time. This would cause unnecessary downtime of our application. All application instances will need to restart the Refuge application at some point and, because not all requests require connecting to the RDS instance, there is ...
Get Scalable Cloud Ops with Fugue 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.