18
Active Objects Based Application over Grid Environment Rares Barbantan, Dorian Gorgan Computer Science Department, Technical University of Cluj-Napoca

Active Objects Based Application over Grid Environment

  • Upload
    vinaya

  • View
    47

  • Download
    0

Embed Size (px)

DESCRIPTION

Active Objects Based Application over Grid Environment. Rares Barbantan, Dorian Gorgan Computer Science Department, Technical University of Cluj-Napoca. Contents. Objectives Active Objects Model Framework Architecture Client module Web service Observer module Model Execution Testing - PowerPoint PPT Presentation

Citation preview

Page 1: Active Objects Based Application over Grid Environment

Active Objects Based Application over Grid Environment

Rares Barbantan, Dorian GorganComputer Science Department,Technical University of Cluj-Napoca

Page 2: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 2

Contents Objectives Active Objects Model Framework Architecture

Client module Web service Observer module

Model Execution Testing Conclusions

Page 3: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 3

Objectives

Propose a distributed model flexible and extendible enough to be able to simulate any type of system from the real world

Use web services in a grid

Provide a 3D visualization of the system

Page 4: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 4

Active Objects Model The main abstraction of the model is the

active object or alive object (aliob)

An aliob has some attributes and a behavior

During the execution of its behavior, another aliob’s attributes or even behavior can be changed

Communication is done through message passing

Page 5: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 5

Active Objects Model (contd.)

Rule

Action

Aliob

Behavior

Trajectory

Attribute

BehaviorProcessor

ServerProcessor

Presentation

PresentationProcessor

Model ServerProcessor

Etp

Page 6: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 6

Framework Architecture

Communication messages

Communication messages

Communication messages

Communication messages

Presentation update

Client

Client

Client

Client

Web service

Observer

Page 7: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 7

Client module

BehaviorProcessor implements the behavior

ServerProcessor is delegated to perform any operations on itself

ModelServerProcessor is delegated to perform operations on global entities and to send messages to remote objects

Page 8: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 8

Client module (contd.)

Page 9: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 9

Web Service Web Service Resource Framework

Provides communication facilities between clients

Behaves like a postal office

Resources are like mailboxes

Page 10: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 10

Web Service (contd.)

WSRF functionalities are used, like:• Factory pattern • Resource Home• Notifications• Expiring lease of resources

Page 11: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 11

Web Service (contd.)

Client

Factory ServiceEndpointReference createResource()

Instance Servicevoid sendMessage(String msg)void setHostName(String msg)

Resource Home

ResourceString messageString hostName

Requests resource creation

Requests that an operation be performed

on a specific resource

Uses the resource home to create resources

Uses the resource home to find resources manages

setHostName() operates onthe resource properties

contained in the resource

Page 12: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 12

Web service (contd.)

Each client has a resource allocated to it ~ mail box

The service sends the incoming messages for some objects to the mail box with which they are registered

The client is notified and it retrieves its messages

Page 13: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 13

Observer module

Visualization of processes on the grid Zooming interface Active objects management : start,

stop, pause Visualization of a model or object’s 3D

presentation

Page 14: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 14

Observer module (contd.)

Page 15: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 15

Model Execution

BehaviorProcessor

CloudWeb Service

ServerProcessor

ModelServerProcessor

BehaviorProcessor

ServerProcessor

ModelServerProcessor

Environment

Observer

Page 16: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 16

Testing was done using JUnit The web service handles a large

number of requests ~ /s The number of supported objects on

the network is virtually unlimited ~ /client

Testing results

40

2000

Page 17: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 17

Conclusions & Future development

Implementation of interactors Imposing the unique name restriction

only inside the model Automate client distribution using grid

services Extending the 3D presentation

Page 18: Active Objects Based Application over Grid Environment

GridCAD2006, Timisoara, 28 September 2006 18

Thank you!

Any questions

?