Guardian Programmer's Guide

Table Of Contents
Introduction to Guardian Programming
Guardian Programmer’s Guide 421922-014
1 - 14
1 Introduction to Guardian Programming
Spreading the Workload Among Multiple CPUs
One reason why the requestor/server model works well with the operating system is
the fact that you can take advantage of the NonStop multi-CPU architecture, which
allows different parts of the application to run in parallel on different CPUs. Because
the application is made up of several requester and server processes, these processes
can be spread among the CPUs, thereby allowing parallel processing and allowing you
to take maximum advantage of the processing power available in each of the system’s
CPUs.
Applying the Requester/Server Model in a Network
Environment
Another reason why the requester/server model works well with the operating system
is the fact that it can be efficiently applied to a network of systems. In a computer
network, the data that a user wants to access is often controlled by some other node in
the network. You can use the requester/server model to ensure that each process in
an application runs on the same system as the resource that it manages. This way,
the only network traffic caused by the application is interprocess messages.
Figure 1-4 illustrates the requester/server model applied to an application in a network
environment. Here, each requester process runs on the same system that the user is
connected to, while each server process runs on the same system as the data it
manages.
Figure 1-4. Requester/Server Application in a Network Environment
VST005.VSD