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
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Related

  • Create Proxy Application for Mule APIs
  • Create Custom DataWeave Functions in Mule 4
  • MuleSoft: Do You Have an Extra Mule Under the Hood?
  • MuleSoft: Tactical and Strategical Role of an Application Template

Trending

  • How to Build Real-Time BI Systems: Architecture, Code, and Best Practices
  • Monolith: The Good, The Bad and The Ugly
  • AI-Driven Root Cause Analysis in SRE: Enhancing Incident Resolution
  • How To Introduce a New API Quickly Using Quarkus and ChatGPT
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Deploying MuleSoft Application On One Worker and Multiple Workers

Deploying MuleSoft Application On One Worker and Multiple Workers

This article goes through Mulesoft workers and demonstrates how they can be used for disaster recovery in availability zone failures.

By 
Jitendra Bafna user avatar
Jitendra Bafna
DZone Core CORE ·
Jul. 06, 20 · Tutorial
Likes (8)
Comment
Save
Tweet
Share
22.8K Views

Join the DZone community and get the full member experience.

Join For Free

What is Mule Worker?

Worker is a dedicated Mule instance that runs the integration applications deployed to CloudHub. Workers has some characteristics

  • Each worker has the size and specific amount of capacity to process the data.
  • Each worker runs in a specific cloud region like US, EU, etc.
  • Each worker deployed in an isolated container than other applications.
  • Each worker is monitored independently.
Worker Heap Size Memory
0.1 vCores 500 MB 8 GB
0.2 vCores 1 GB 8 GB
1 vCores 1.5 GB 12 GB
2 vCores 3.5 GB 40 GB
4 vCores 7.5 GB 88 GB
8 vCores 15 GB 168 GB
16 vCores 32 GB 328 GB

The maximum metaspace size for application deployed to CloudHub is 256 MB regardless of worker size. The initial metaspace size is 128 MB.

Application deployed to CloudHub can be scaled Horizontally by deploying on multiple workers. 

You can increase the number of workers at anytime and vCores at anytime.

Application Deployed to 1 Worker

  • The 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 restart application in other AZ. It may experience some downtime.
  • Set up status.mulesoft.com to receive alerts in case of anything fails in AZ.
  • The distance between each AZ is variable and not exceeding 350 miles.

Switching to another AZ

Application Deployed to Multiple Worker - High Availability

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

AZ failure

Application Deployed to Multiple Region - Disaster Recovery

Application deployed to multiple regions provides a better disaster recovery strategy. Generally the region never goes down but in the case of any natural calamities, the region may fail. If you have a requirement of disaster recovery, you can deploy application to multiple regions and implement CloudHub or on-premise load balancer.

Load balancer

Now, you know how Mulesoft workers work.

application MuleSoft

Opinions expressed by DZone contributors are their own.

Related

  • Create Proxy Application for Mule APIs
  • Create Custom DataWeave Functions in Mule 4
  • MuleSoft: Do You Have an Extra Mule Under the Hood?
  • MuleSoft: Tactical and Strategical Role of an Application Template

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

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 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!