DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Backup and Disaster Recovery in the Age of GitOps and CI/CD Deployments
  • 5 Principles of Production Readiness
  • Idempotency Under Concurrency: Why Your Application Check Isn't the Last Line of Defense
  • Running a Self-Hosted WAF in Production: Practical Lessons From SafeLine

Trending

  • Common REST Design Pattern
  • Android Application Security: Android Application Architecture
  • Multi-Agent Orchestration on AWS With AgentCore Runtime and A2A
  • How Docker Is Becoming an AI Development Platform

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. How To Achieve High Availability and Disaster Recovery For CloudHub Workers

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!

By 
Jitendra Bafna
·
Aug. 12, 20 · Analysis
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
8.7K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

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.

Disaster recovery application

Opinions expressed by DZone contributors are their own.

Related

  • Backup and Disaster Recovery in the Age of GitOps and CI/CD Deployments
  • 5 Principles of Production Readiness
  • Idempotency Under Concurrency: Why Your Application Check Isn't the Last Line of Defense
  • Running a Self-Hosted WAF in Production: Practical Lessons From SafeLine

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook