Designing for the runtime plane technology architecture15% of the exam

Reactive execution engine, thread pools and back pressure

How the Mule 4 reactive execution engine classifies work into processing types, runs it on the shared UBER pool, keeps transactions on one thread and applies back pressure, and what changes when you alter global or application-level thread pools or upgrade the runtime.

Official exam objective
Describe the characteristics and implications of the Mule 4 reactive event processing model.

~6 min read · 11 practice questions

What the exam expects

  • Describe the Mule 4 reactive, task-oriented execution model and the Proactor pattern behind it.
  • Classify event processors as CPU-light, blocking I/O or CPU-intensive, and read those types in logs.
  • Explain the scope of the UBER pool, the extra pools components create, and thread behavior inside a transaction.
  • Predict the impact of global versus application-level thread pool configuration and plan testing for it.
  • Explain what triggers back pressure and how each source reacts, and what to do with custom threading when upgrading.

Processing type: the kind of work an event processor tells Mule it does. UBER pool: Mule's single managed thread pool, shared by the applications of one Mule instance. Proactor pattern: an asynchronous design where tasks are submitted by category so threads return to the main loop quickly. Back pressure: what happens when Mule has no resources to accept a new event (Execution Engine).

Sources for this section (1)

Key facts

Default processing type
Detail
CPU Light when none is specified
UBER scope
Detail
One pool shared by all apps in a Mule instance, since 4.3
Extra pools
Detail
NIO selectors and recurring-task pools can exist beside UBER
Transactions
Detail
Thread switches suspended; participants share one thread
Global file
Detail
MULE_HOME/conf/schedulers-pools.conf, on premises
UBER work queue
Detail
workQueue.size=0 by default
App-level pools
Detail
New pool set for the app; defaults unchanged
Back-pressure triggers
Detail
Busy threads or maxConcurrency exceeded
Source reaction
Detail
Connector-specific: 503, wait, drop or disconnect
LTS cadence
Detail
Periodic, scheduled for February, from Mule 4.6
Sources for this section (2)
  • When did the UBER pool become Mule's single thread pool?
  • Roughly how long is a CPU-light operation expected to take?
  • When the scheduler service stops, what does gracefulShutdownTimeout control?
  • Why should app-level pool sizes on CloudHub take the worker size into account?

The questions are free to read. Answers with their sources and self-grading are included with the pack.

Keep reading with the MuleSoft Platform Integration Architect pack

  • Core concepts
  • Exam traps
  • Worked scenario

The pack includes:

  • All 40 lessons of the MuleSoft Platform Integration Architect guide, with reading progress
  • Interactive decision walks and step-by-step sequence steppers
  • Practice exams purchase adds inline bank questions and topic practice (11 questions for this lesson)
  • An official source cited for every claim
  • An AI tutor that answers from the guide
  • Choose guide-only, practice-only, or save $4 with both

Practice for the MuleSoft Platform Integration Architect exam