{{announcement.body}}
{{announcement.title}}

How To Achieve High Availability and Disaster Recovery For CloudHub Workers

DZone 's Guide to

How To Achieve High Availability and Disaster Recovery For CloudHub Workers

In MuleSoft, Horizontal scaling can be achieved by increasing number of workers in CloudHub. Find out how!

· Integration Zone ·
Free Resource

Horizontal Scaling

Horizontal Scaling means adding more number of machine into your pool of resources. In MuleSoft, Horizontal scaling can be achieved by increasing number of workers in CloudHub.

stacked computers

Horizontal Scaling is divided into 2 types

Scale Up: Adding the more machines into your pool of resources.

Scale Down: Removing the machine from your pool of resources.

Vertical Scaling

Vertical Scaling means adding more power or compute resources like memory, CPU in existing servers. In MuleSoft, Vertical scaling can be achieved by increasing worker size in CloudHub.

computers

Scale Out: Adding more power to your existing machines.

Scale In: Reducing the power of your existing machines.

MuleSoft Application (Deployed on 1 Worker)

AZ failure

  • Application will be deployed to one availability zone out of three in selected AWS region.
  • In case of AZ failure or unavailable, MuleSoft will automatically restarts application in other AZ. It may experiences some downtime.
  • Set up status.mulesoft.com to receive alerts in case of anything fails in AZ.
  • Distance between each AZ is variable and not exceeded 350 miles.

MuleSoft Application (Deployed on Multiple Workers) — HA

AWS Region

  • Application will be deployed to two availability zone out of three in selected AWS region.
  • In case of one AZ failure, all request will be served by other application deployed on other AZ. No downtime experiences.
  • Set up status.mulesoft.com to receive alerts in case of anything fails in AZ. 

MuleSoft Application (Deployed on 2 Worker) — DR

cloudhub

Video Tutorial

Now, you know how to achieve High Availability and Disaster recovery when application deployed to CloudHub worker.

Topics:
deploying, integration, mulesoft, vertical scaling

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}