next up previous contents index
Next: Passive and Processing Resources Up: System Deployer Previous: Resource Types   Contents   Index


Resource Environment

In the PCM, resource environments are described by a set of resource containers and connections between them. A resource container provides a set of processing and passive resource to the components it hosts. It represents a physical entity such as a server, a desktop computer or an element on a higher level like application servers or web browsers.

Example 3.9 (Resource Environment)  
Figure 3.27: Simplified example of a resource environment.
Image ResourceEnvironment

Figure 3.27 shows a simplified view on a resource environment. The depicted system consists of two resource containers, a server and a client, and a linking resource between them. The figure also shows the allocation of two components, a WebServiceProvider and a WebServiceClient. Figure 3.27 is a structural view of the resource environment. For each container, a processor and a disk are specified. Both have different performance values for the resources they provide. For instance, teh processor of the server has a clock frequency of 3GHz, while the client has a clock frequency of 2GHz.

Figure 3.28: Specification of Resources of a Container.
Image ResourceSpecification

Figure 3.28 shows the resource specification in more detail. The server contains a CPU and a ThreadPool. Both are described by a ProcessingResourceSpecification, which characterise the QoS relevant attributes of a resource and relate it to a resource type. There is a CPU with a processing rate of 3GHz and a thread pool that limits the degree of concurrency within the system. The CPU is a processing resource of the type Processor. The type also specifies the units of the CPU's processing rate. The thread pool is a passive resource with a capacity of eight threads. The thread pool is of the type ResourcePool, which is depicted by an association to the type instance. For sake of simplicity, we omitted the modelling of any kind of data storage and hard disks at this point.



Subsections
next up previous contents index
Next: Passive and Processing Resources Up: System Deployer Previous: Resource Types   Contents   Index
Snowball 2007-03-16