performance analysis and simulation of service based applications rajapaksage jayampathi dm...

Post on 17-Jan-2016

215 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Performance Analysis and Simulation of Service Based

Applications

Rajapaksage JayampathiDM Rasanjalee Himali

Instructor: Dr Xaolin HuCSC 8350

Outline

SOA Mapping SOA Elements to DEVS Elements Software and Hardware Models

Primitive Services Composite Services Generic Messages

Case Study and Simulation Experimental Results

Service Oriented Architecture (SOA)

SOA is an architectural style for building software applications that use services available in a network such as the web.

Applications in SOA are built based on services.

Services: Well defined interfaces/ implementation

independent Self Contained Loosely coupled Can be dynamically discovered New services can be created from an

existing IT infrastructure of systems.

SOA's Find-Bind-Execute Paradigm

Mapping SOA Elements to DEVS Elements

SOA Model Element DEVS Model Element

services (service provider, service client, service broker)

atomic models(service provider, service client, service broker)

service description entity(service-information)

messages entity(service-lookup and service-call)

messaging framework ports and couplings

composition of services coupled models(service providers)

Software and Hardware Models

Primitive Services Composite Services

Communication of Messages

Software and Hardware Models [Contd.]

Service Broker Simulation Model modeled with service registry feature Service provider publish services Service Broker store received service-info messages Service Consumer find services Service broker return matching service-info to consumer

Software and Hardware Models [Contd.]

Service Client Simulation Model modeled with two behaviors such as looking up the service broker and

invoking service provides. service client simulation model looks up the service broker using a desired

endpoint along with the service name If the service client simulation model receives the service-info message from

the service broker, then invoke the service provider; otherwise it may continue to look up the service broker for a given number.

Software and Hardware Models [Contd.]

Service Provider Simulation Model modeled with its own performService() function that fulfills a set of specific

services The service provider simulation model publishes its input ports as

endpoints at the given time. It should be able to handle multiple requests and service them

simultaneously. Accessing information is supported by coupling and ports

Primitive Service

Generic Messages

Three principal usages of messages: publication, lookup, and

subscription

Composite Service Simulation Model

Service composition information should be defined in the service-information message model as binding information.

Each primitive service provider in the composite model does not know the order of invocation.

Case Study Simulation

we describe two WS processes which provide the same required functionality. Both WS Process 1 and 2 (WSP1, WSP2), ensure on-line books acquisition.

WSP 1 WSP 2

Results of DEVS Simulation

Response time Results

0.002.004.006.008.00

10.0012.0014.0016.00

WSP1 WSP2

Web Service

Re

sp

on

se

Tim

e(s

)

Response time

0.00

2.00

4.00

6.00

8.00

10.00

12.00

14.00

16.00

FI BGA CCr CI RO

WS

Re

sp

on

se

Tim

e(s

)

Response time- WSP1

Response time- WSP2

References

A SIMULATION FRAMEWORK FOR SERVICE-ORIENTED COMPUTING SYSTEMS, Hessam Sarjoughian, Sungung Kim Muthukumar Ramaswamy, Stephen Yau, 2008 Winter Simulation Conference, 2008

A Discrete-Event Simulation Approach for Evaluation of Service-Based Applications, Maha Driss1,2, Yassine Jamoussi,IEEE ECOWS.2008

top related