User`s guide

6 Programming Overview
6-4
A MATLAB Distributed Computing Server software setup usually includes many
workers that can all execute tasks simultaneously, speeding up execution of large
MATLAB jobs. It is generally not important which worker executes a specific task. In
an independent job, the workers evaluate tasks one at a time as available, perhaps
simultaneously, perhaps not, returning the results to the MJS. In a communicating job,
the workers evaluate tasks simultaneously. The MJS then returns the results of all the
tasks in the job to the client session.
Note For testing your application locally or other purposes, you can configure a single
computer as client, worker, and MJS host. You can also have more than one worker
session or more than one MJS session on a machine.
Worker
Scheduler
Client
Worker
Worker
Client
Job
All Results
Job
All Results
Task
Results
Task
Results
Task
Results
Interactions of Parallel Computing Sessions
A large network might include several MJSs as well as several client sessions. Any client
session can create, run, and access jobs on any MJS, but a worker session is registered
with and dedicated to only one MJS at a time. The following figure shows a configuration
with multiple MJSs.