Top Banner
Michele Stecca Experiments and Performance Evaluation of Event Driven Mashups Sousse July, 5th 2009 Michele Stecca [email protected] CIPI – University of Padova and Genova (Italy)
11
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Performance Evaluation Workshop ISCC'09

Michele Stecca

Experiments and Performance Evaluation ofEvent Driven Mashups

Sousse July, 5th 2009

Michele [email protected]

CIPI – University of Padova and Genova (Italy)

Page 2: Performance Evaluation Workshop ISCC'09

2Michele Stecca

Outline

The OPUCE project

Mashup definition

Description of the Mashup execution architectures

Performance tests Test setup Results Conclusions

Page 3: Performance Evaluation Workshop ISCC'09

3Michele Stecca

The OPUCE project

Open Platform for User-centric service Creation and Execution (FP6 IP Nov. ‘06 – Apr ‘09)

User Generated Services Main components of the platform

Service Creation Environment (SCE) Service Lifecycle Manager (SLM) Service Execution Environment (SEE) Portal

Page 4: Performance Evaluation Workshop ISCC'09

4Michele Stecca

Event Driven Mashup Definition

Base Services (Basic blocks) Service Compositions (Mashups) Web Service communications between Base Services

4 Different SEE Implementations

Page 5: Performance Evaluation Workshop ISCC'09

5Michele Stecca

BPEL-based solution

Mashup execution based on a BPEL engine BPEL is not suitable for event driven applications Definition of a “standard” BPEL script structure

BSs Container

Orchestrator on BPEL Engine

BS_1 BS_n

BSs Container

BS_1 BS_n

Wait for Event

Swicth on

Event

Execution Branch

#1

Execution Branch

#n

Page 6: Performance Evaluation Workshop ISCC'09

6Michele Stecca

JSLEE-based solution

Sessions, scalability and asynchronous event management provided by the Mobicents JSLEE Container

JSLEE stands for JAIN Service Logic Execution Environment

BSs Container

Orchestrator on JSLEE container

BS_1 BS_n

BSs Container

BS_1 BS_n

Page 7: Performance Evaluation Workshop ISCC'09

7Michele Stecca

Plain JAVA solution

Stateless Orchestration Ad-hoc Orchestrator lighter than BPEL engine:

only event routing Scalability thanks to Orchestrator replication

Orchestrator Management System

BSs Container

Orchestrator (O_Id=1)

BS_1 BS_n

BSs Container

BS_1 BS_n

Orchestrator (O_Id=m)

Page 8: Performance Evaluation Workshop ISCC'09

8Michele Stecca

Fully Distributed Solution

Stateless Orchestration No centralized Orchestrator: intrinsic

scalability

SEE1.1: fully distributed solution

BaseServiceBaseService

BaseServiceBaseService

BaseService

OrchestrationProxy

BSSCBS

SCBSSCBS

SCBSSC

BS SC = Base Service superclass

OPUCE Service Trigger

or

OPUCE Portal

1. notifyEvent [starting a session]

2. first base service is invoked with event

3. only error and final events are routed back to the OrchestrationProxy

Distributed execution network

Page 9: Performance Evaluation Workshop ISCC'09

9Michele Stecca

Test Setup

traffic generator orchestrator bs „SleepA“

Software test setup

Start SleepA SleepB SleepA SleepB SleepA

End

bs „SleepB“

SleepB

SleepASleepA SleepBT1

T2

Hardware test setup

Traffic generated by SoapUI at different rates (50 – 100 – 200 reqs/sec)

Important: BPEL-based solution crashes as soon as the traffic rate goes beyond 10 reqs/sec

Page 10: Performance Evaluation Workshop ISCC'09

10Michele Stecca

Test Results & Conclusions

Config_1 (50 reqs/sec) Config_2 (100 reqs/sec) Config_3 (200 reqs/sec)

L(ms) T(reqs/sec) L(ms) T(reqs/sec) L(ms) T(reqs/sec)

Plain JAVA 5,70 48,58 5,87 91,06 8,08 161

JSLEE 9,53 48,15 173,91 53,21 226,12 51,85

Distributed 3,34 48,44 5,11 91,03 5,20 166 Which one?

BPEL-solution is not suitable for event driven applications The specific implementation of the JSLEE standard should be improved The Plain JAVA solution shows good performance and complete control The fully distributed solution is better when high performance is required

Page 11: Performance Evaluation Workshop ISCC'09

11Michele Stecca

Questions & Answers