Adaptive Context Management for SOA Governance

32
MESOA - Sept. 17, 2010 Timişoara - Romania Context-Driven Adaptive Monitoring for Context-Driven Adaptive Monitoring for Supporting SOA Governance Norha M. Villegas Hausi A. Müller Rigi Group - Computer Science Department University of Victoria, Canada [email protected] http://webhome.csc.uvic.ca/~nvillega/ [email protected] http://webhome.cs.uvic.ca/~hausi/

description

This presentation had place at the 4th International Workshop on a Research Agenda for Maintenance and Evolution of Service-Oriented Systems. We proposed an adaptive approach to manage context information that can affect the accomplishment of SOA governance objectives

Transcript of Adaptive Context Management for SOA Governance

Page 1: Adaptive Context Management for SOA Governance

MESOA - Sept. 17, 2010Timişoara - Romania

Context-Driven Adaptive Monitoring for Context-Driven Adaptive Monitoring for Supporting SOA GovernanceNorha M. Villegas Hausi A. MüllerRigi Group - Computer Science DepartmentUniversity of Victoria, Canaday ,

[email protected]

http://webhome.csc.uvic.ca/~nvillega/[email protected]

http://webhome.cs.uvic.ca/~hausi/

Page 2: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

2

Research QuestionsResearch Questions

Service-oriented applications are highly dependent on environmental information

How can we represent the context that can affect the behavior of a service-oriented system?

How can we change this representation at run-time as required by changes in business objectives and the environment?

How can we manage the relevant context under changing requirements?requirements?

Page 3: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

3

Outline

1. The research problem and the

2. Challenges in dynamic O t ib tiproblem and the

promise of service-oriented computing

dynamic monitoring for SOA

governance

3. Our contribution

4 Application 5 Our Approach 6. Ongoing research 4. Application 5. Our Approach and summary

Page 4: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

4

Dynamic Monitoring of Service-Oriented Systems

Page 5: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

5

Service-Oriented Computing: its visionary promisevisionary promise

Creating dynamic Spanning Creating dynamic and agile business

processes

Spanning organizations and business platforms

By assembling components into loosely coupled network of servicescoupled network of services

Papazoglou et al., Service-oriented computing: state of the art and research challenges. IEEE Computer, 2007

Papazoglou et al., Service-oriented computing: state of the art and research challenges. IEEE Computer, 2007

Page 6: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

6

Complex Dynamics in Service Composition

• Service composition must understand and respect or is affected by:y▫ Policies▫ Performance levels▫ Security requirements

Context Monitoring is ▫ Security requirements

▫ Service level agreements▫ User’s matters of concern

Monitoring is Key!

Dynamic service composition is affected by environmental information that characterize the situation of users, services, computational , , p

platforms and businesses

Page 7: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

7

Some MESOA Research Challenges

• Design for context-awareness• Automated governance

R i i iContext is

• Run-time monitoring• Dynamic service discovering• Dynamic service composition

everywhere!

• Adaptive maintenance and evolution practices• Mapping between business process and services• Run-time V&V (compliance with design and run-time constraints)

Lewis et al., “MESOA 2009: Proceedings of the 3rd international workshop on a research agenda for maintenance Lewis et al., “MESOA 2009: Proceedings of the 3rd international workshop on a research agenda for maintenance Lewis et al., MESOA 2009: Proceedings of the 3rd international workshop on a research agenda for maintenance and evolution of service-oriented systems,” CMU/SEI, Tech. Rep. CMU/SEI-2010-SR-004, 2010.

Lewis et al., MESOA 2009: Proceedings of the 3rd international workshop on a research agenda for maintenance and evolution of service-oriented systems,” CMU/SEI, Tech. Rep. CMU/SEI-2010-SR-004, 2010.

Page 8: Adaptive Context Management for SOA Governance

Dynamic Context Monitoring for SOA Governance: MESOA - Sept. 17/2010

8

Dynamic Context Monitoring for SOA Governance: Research Challenges

SOA governance needs to manage context information to ensure the execution and evolution of service-oriented

systemssystems

Relevant context must be specified at design-time but

managed at run-time

Monitoring requirements are dynamic, the relevant context

is not the same over time

B i U ’ N i Diff t Distributive Business objectives

User’s concerns

New service interactions

Different SLAs

Distributive nature of services

Page 9: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

9

Dynamic Monitoring Instrumentation

Service-oriented monitoring infrastructures are required to adapt themselves to address dynamic

monitoring objectives according to changes in business-g j g glevel objectives and processes, user’s concerns and the

environment

Page 10: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

10

Optimizing SOA Governance

SOA governance requires effective mechanisms to l h li h f bj icontrol the accomplishment of governance objectives

under changing environmental conditions

Context-Awareness

Adaptive Sytems

Dynamic Monitoring

Page 11: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

11

Our Contribution: Dynamic Monitoring for SOA Governancefor SOA Governance

A feature based model to represent relevant A feature-based model to represent relevant context and monitoring requirements

An adaptive control-based

reference

Feedback loops are first level components

Monitoring objectives keep architecture to implement

dynamic context monitoring

Monitoring objectives keep relevance with respect to

governance objectives

New monitoring strategies g

infrastructures New monitoring strategies defined at run-time

Page 12: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

12

Through Run-Time Re-Negotiation of SLAs

Page 13: Adaptive Context Management for SOA Governance

R Ti R N ti ti f SLA MESOA - Sept. 17/2010

13

Run-Time Re-Negotiation of SLAs Minimum transaction

10 trans/sec summer

SLA: Minimum transaction rateSLO: throughput

rate 5 trans/sec the remainder of the year

Page 14: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

14

Run-Time Re-Negotiation of SLAs

The dynamic re-negotiation of y gSLAs should be performed

according to current situations:g

Changes in the hotel occupancy g p yrate

Page 15: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

15

Run-Time Re-Negotiation of SLAs

CONTEXT

CONTEXT

Page 16: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

16

Governance Feedback LoopspFeature-Based Context-Driven Context Management

Page 17: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

17

Context-Aware Governance Feedback LoopsLoops

Müller et al., “SOA governance optimizes the business and evolution of service-oriented systems,” In proceedings of MESOA 2009 CMU/SEI, Tech. Rep. CMU/SEI-2010-SR-004, 2010.

Müller et al., “SOA governance optimizes the business and evolution of service-oriented systems,” In proceedings of MESOA 2009 CMU/SEI, Tech. Rep. CMU/SEI-2010-SR-004, 2010.

Page 18: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

18

Feature-Based Context Meta-Model 1. Our context taxonomy

Minimum transaction rate

10 trans/sec summer

5 trans/sec the remainder of the year

N. M. Villegas and H. A. Müller, “Managing dynamic context to optimize smart interactions and services”, SpringerLNCS, vol. 6400, 2010, to appear.

N. M. Villegas and H. A. Müller, “Managing dynamic context to optimize smart interactions and services”, SpringerLNCS, vol. 6400, 2010, to appear.

Page 19: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

19

Feature-Based Context Meta-Model 2. Features to guide context modeling and

management

N. M. Villegas and H. A. Müller, “Managing dynamic context to optimize smart interactions and services”, SpringerLNCS, vol. 6400, 2010, to appear.

N. M. Villegas and H. A. Müller, “Managing dynamic context to optimize smart interactions and services”, SpringerLNCS, vol. 6400, 2010, to appear.

Page 20: Adaptive Context Management for SOA Governance

Rigi Research Group

20

Page 21: Adaptive Context Management for SOA Governance

C t l B d S i C t MESOA - Sept. 17/2010

21

Control-Based Service Component Reference Architecture

Page 22: Adaptive Context Management for SOA Governance

C t l B d S i C t MESOA - Sept. 17/2010

22

Control-Based Service Component Reference Architecture

Page 23: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

23

Context-Model Controller Architecture

Inference of context

control objectives

Inference of

monitoring strategies

Definition of

monitoring plans

Context Model

Monitoring Planj g p

Page 24: Adaptive Context Management for SOA Governance

C t t M it A hit tMESOA - Sept. 17/2010

24

Context Monitor Architecture

SymptomsMonitoring PlanDeployment

of the t t

Gathering HandlingCorrelation of context

f ty pg

strategy facts

Page 25: Adaptive Context Management for SOA Governance

C t t S i A hit tMESOA - Sept. 17/2010

25

Context Sensing Architecture

Context observation

Context sensingrequest

Context gathering

Sensor discovery

Pre-processing observationrequest gathering discovery processing

Page 26: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

26

Dynamic Monitoring Strategies

Page 27: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

27

Case Application: Concrete architecture for the monitoring the monitoring infrastructure required by the case application

Page 28: Adaptive Context Management for SOA Governance

Related WorkRigi Research Group

28

Related Work• Current SOA monitoring approaches are not context aware (e.g., IBM-Current SOA monitoring approaches are not context aware (e.g., IBM

WSLA)

• There is not many evidence of monitoring approaches able to change dynamic monitoring strategies at run-time (e.g., approaches surveyed by Bianco et al., Villegas and Müller, and the Petals European Project)

A t i t d h id ti l d i it ( D f • Aspect-oriented approaches provide partial dynamicity (e.g., Dynamo of Baresi and Guinea’s)▫ Monitoring assertions are generated at compilation-time or load-time▫ Once at run-time, logic monitoring is statically integrated into business logic, g g y g g

• Current approaches focuses on requirements for the adaptation of the managed system rather than on the adaptation of the monitoring strategy it lfitself

Page 29: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

29

Ongoing Research

Definition of case studies from industry to validate the approach (e.g., IBM-CAS)

Evaluation of the feature-based model approach to represent context and monitoring requirements

Design-time representation

Run-time modification

S t f difi ti

Evaluation of available technology to support the modification of

Support for user modification

Apache Tuscany

IBM WebSphere application servermonitoring plans at run-time

Evaluation of existing context

FraSCAti

COSMOSg

management frameworksCOSMOS

Page 30: Adaptive Context Management for SOA Governance

MESOA - Sept. 17/2010

30

Summaryd f b d f d l d h f• We proposed a feature-based reference model to guide the representation of

context information and monitoring requirements for SOA governance▫ Represented at design-time▫ Managed at run-time

• We proposed a control-based reference architecture to guide the implementation self-adaptive monitoring infrastructures▫ Based on feedback loops to control the adaptation process▫ Able to implement dynamic monitoring strategies deployable at run time ▫ Able to implement dynamic monitoring strategies deployable at run-time

according to SOA governance objectives

• The next steps focuses on▫ The validation of models to represent context at design time and then ▫ The validation of models to represent context at design-time and then

manage it at run-time▫ The validation of available technologies for implementing dynamic

monitoring strategies▫ The implementation and validation of the monitoring infrastructure to be The implementation and validation of the monitoring infrastructure to be

applicable in industry

Page 31: Adaptive Context Management for SOA Governance

Rigi Research Group

31

h k !Thank you!

Questions and discussionQuestions and discussion

University of Victoria, aerial view

Page 32: Adaptive Context Management for SOA Governance

MESOA 2010

32