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

14
Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

Upload: agnes-wood

Post on 17-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

Performance Analysis and Simulation of Service Based

Applications

Rajapaksage JayampathiDM Rasanjalee Himali

Instructor: Dr Xaolin HuCSC 8350

Page 2: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 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

Page 3: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

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

Page 4: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

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)

Page 5: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

Software and Hardware Models

Primitive Services Composite Services

Communication of Messages

Page 6: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

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

Page 7: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

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.

Page 8: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

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

Page 9: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

Primitive Service

Page 10: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

Generic Messages

Three principal usages of messages: publication, lookup, and

subscription

Page 11: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

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.

Page 12: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

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

Page 13: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

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

Page 14: Performance Analysis and Simulation of Service Based Applications Rajapaksage Jayampathi DM Rasanjalee Himali Instructor: Dr Xaolin Hu CSC 8350

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