run-time service management

32
Run-time service management Dipartimento di Elettronica e Informazione Politecnico di Milano, Italy Milano, 16 novembre 2010 Barbara Pernici

Upload: dominoni-matteo

Post on 31-Mar-2016

224 views

Category:

Documents


0 download

DESCRIPTION

Barbara Pernici 16 novembre 2010 Master in ICT Management

TRANSCRIPT

Page 1: Run-time service management

Run-time service management

Dipartimento di Elettronica e InformazionePolitecnico di Milano, Italy

Milano, 16 novembre 2010

Barbara Pernici

Page 2: Run-time service management

Outline of course

Topics•Autonomic services research issues.•Run time support of autonomic services: services retrieval, QoS negotiation and optimization, adaptive Web services

Page 3: Run-time service management

Instructor

•Barbara Pernici is professor at Politecnico di Milano since 1993•Research interests: information systems, adaptive services, quality of services and data, green IS•Projects:–FIRB MAIS–WS-Diamond (EU)–S-Cube (EU)–GAMES (EU)–Other applied research projects

Page 4: Run-time service management

Software Services …

Services•business model from products to services …•services are used, they are not owned

Software services•software components that can be used …•… but are not owned

Service-oriented applications•constructed by composing and configuring software services…•… most often provided by “third parties”•… software that is not under control

(Traverso 2006)

Page 5: Run-time service management

Services - definitions

•Service oriented architectures (SOAs) are models of distributed software components where business or scientific functions are delivered by a network of distributed services.

•atomic services

•composed services–A foremost approach: Web Services Execution Language for Web Services (WS-BPEL), a service composition language based on the workflow programming model.

•Components in SOAs are not only units of independent deployment, but also units of independent ownership and management by third parties.

Curbera 2007

Page 6: Run-time service management

Virtual Enterprise: Scenario

WFMS 1

WFMS 2

Browser

MessageQueuing

AnyCommunication

SOAP, WSDL,UDDI,...

HTTP,IIOP,...

Customer

Your Company

Supplier

Page 7: Run-time service management

The problem

Comp 1

Comp 3

Comp 2

Comp 4

Comp 5

Comp 6

Page 8: Run-time service management

Publish

Interact

Query

Requirements

ServiceSpecification

Service-oriented systems

ServiceSpecification

ServiceSpecification

Service

RequirementsRequest Response

Page 9: Run-time service management

Internal code& process

Enterprise #1

Internal code& process

Enterprise #2

Shared process, data &service definitions

Interface

Location transparentInteroperable protocols

Location transparentInteroperable protocols

Interface code exposingWell-encapsulated services

Interface code exposingWell-encapsulated services

Inter-communicating services in an SOAPapazoglou, 2007

Page 10: Run-time service management

Service Interface

Service Implementation

ServiceClient

(requester)

Service Provider

�Only service interfaces are exposed�Service implementation is hidden from the service client

Data

BusinessLogic

SOA clients & service providers

Papazoglou, 2007

Page 11: Run-time service management

ApproveFulfillOrder

Valid Order

Check CreditHold Stock

Valid Order?

Req. Order Notify Buyer

Order Entry

HoldShip

Lookup

ApproveNotify

Chk Credit

SOA collaborating services

Papazoglou, 2007

Page 12: Run-time service management

DatabasesPackaged

ApplicationsLegacy

ApplicationsERPCRM

Operational Systems

Component-based service realizations

Business Services

Business Processes

Infrastructure Services

Business Domain

Order ManagementPurchasing Inventory

Distribution

create, modify,suspend,cancel orders,schedule orders,create, modify,delete bulk orders,order progress

1

2

3

4

5

6

Layers in an SOAPapazoglou, 2007

Page 13: Run-time service management

Composition models

•Orchestration–Intra-process–Process controlled by one party

•Choreography–Inter-processes–Sequence of observable messages–Conversation among equals

Page 14: Run-time service management

Further dimensions

•When–Static composition happens at design/compile time–Dynamic composition happens while executing the process

•How–Non functional aspects like•QoS•Security

Page 15: Run-time service management

Service life cycle

Page 16: Run-time service management

Towards managed WS

Papazoglou, CACM Oct. 2003

Page 17: Run-time service management

Towards managed WS

•Coordination–WS-BPEL–Service choreography

•QoS management

Page 18: Run-time service management

Research challenges

•Focus on:–Service management–Composed services–Adaptation–Self-management

Page 19: Run-time service management

Motivations

•Change–Requirements–Context–…

•Guarantee of service properties•Value of service and service composition•Failures

Page 20: Run-time service management

MAIS-Platform Scenario (MAIS-P)

S1.op1

S1.op2

S1.op3

S2.op1

S2.op2

S2.op3

Serviceregistry

Adaptive networks

Flexible e-services

Dynamic service selection and optimization

Adaptive front-ends

Context-awareness and personalization

MAIS http://www.mais-project.itMultichannel Adaptive Information Systems – FIRB Project 2002-2006

Page 21: Run-time service management

Collectfield information

Sets up andcoordinates teams

Operation teams

Mobile camp

Traditionalinformation system

Central site

Micro-MAIS scenario

MAIS http://www.mais-project.itMultichannel Adaptive Information Systems – FIRB Project 2002-2006

Page 22: Run-time service management

Autonomic Web ProcessesAWP framework

Page 23: Run-time service management

Autonomic Computing

Autonomic Web Processes

Databases Networks Servers

Autonomic IT Infrastructure

•Self Configuring: Lower IT cost on maintenance and deployment.

•Self Healing: Lower human involvement in problem detection, analysis and solving.

•Self Optimizing: Better SLAs to customers of the IT infrastructure.

Business Processes

•Self Configuring: Processes configured with respect to business policies.

•Self Healing: Quick responses to failures, leading to large savings in cost.

•Self Optimizing: Environment changes lead to reconfiguration to a lower cost process.

AWPs vs. Autonomic Computing

Kunal Verma and Amit P. Sheth, Autonomic Web Processes, Proceedings of the Third International Conference on Service Oriented Computing, ICSOC 2005.

Page 24: Run-time service management

Architecture

Page 25: Run-time service management

Evolving Maturity and Sophistication

Page 26: Run-time service management

ask forhelp

receiveadvice

Human (operator) is added to the AC cycle

Autonomic interaction manager

Monitor

PlanAnalyze

Execute

Knowledge

Page 27: Run-time service management

Life cycle for adaptable service-based applications

Di Nitto, 2009 © S-Cube

Identifyadaptation

need

Identifyadaptationstrategy

Enactadaptation

Early RequirementEngineering

RequirementEngineering

& Design

Construction

Deployment &provisioning

Operation & management

Page 28: Run-time service management

Service engineering vision: challenges

DI Nitto, Pierluigi Plebani © S-Cube

Enactadaptation

Deployment &provisioning

Refine, disambiguate,detail

RequirementEngineering

& Design

Early RequirementEngineering

Understandengineering foradaptation

Construction

Context model

Requirements for adaptation

Designfor adaptation

Measure, control, evaluate, improve

Operation & management

Identifyadaptation

need

Context modelupdate

Requirements for adaptation

update

Identifyadaptationstrategy

Page 29: Run-time service management

Traverso 2006

Page 30: Run-time service management

PAWS frameworkat Politecnico di Milano

D. Ardagna, M. Comuzzi, E. Mussi, P. Plebani, B. Pernici. PAWS: a framework for processes with adaptive web services. Submitted to IEEE Software.

Page 31: Run-time service management

GAMES life cycleEU Project Green Active Management of Service Centers

Page 32: Run-time service management

References

•M. Papazoglou - Web services: pronciples and Technologies - Prentice Hall, 2008•Gustavo Alonso, Fabio Casati, Harumi A. Kuno, Vijay Machiraju: Web Services - Concepts, Architectures and Applications Springer 2004•Mike P. Papazoglou, Willem-Jan van den Heuvel: Business process development life cycle methodology. Commun. ACM 50(10): 79-85 (2007)•Mike P. Papazoglou, Paolo Traverso, Schahram Dustdar, Frank Leymann: Service-Oriented Computing: State of the Art and Research Challenges. IEEE Computer 40(11): 38-45 (2007)•P. Traverso slides 2006•Daniel F., Pernici B., Insights into Web Service Orchestration and Choreography, IJEBR special issue on Web Services-Based E-Business Systems, Jan. 2006• B. Pernici (ed.), Mobile Information Systems – Infrastructure and design for adaptivity and flexibility, Springer, April 2006 (The MAIS Project book)•Jana Koehler, Marco Pistore, Amit P. Sheth, Paolo Traverso, Martin Wirsing: 07061 Abstracts Collection -- Autonomous and Adaptive Web Services. Autonomous and Adaptive Web Services 2007•Kunal Verma, Prashant Doshi, Karthik Gomadam, John A. Miller, Amit P. Sheth: Optimal Adaptation in Web Processes with Coordination Constraints. ICWS 2006: 257-264•Bucchiarone, A.; Kazhamiakin, R.; Cappiello, C.; di Nitto, E.; Mazza, V.: A Context-driven Adaptation Process for Service-based Applications. – PESOS 2010•D. Ardagna, M. Comuzzi, E. Mussi, P. Plebani, B. Pernici. PAWS: a framework for processes with adaptive web services. IEEE Software 2007.