Top Banner
1 © scillystuff on flickr Vanessa Zahorian & Kristin Long in Divertimento N°15 - Photo (c) Erik Tomasson Valérie Issarny (Inria) – Scientific Leader CHOReOS Architectural Style for Choreography-based Future Internet 22 February
31

CHOReOS European project presented to ANIKETOS project (part 2)

May 10, 2015

Download

Technology

choreos
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: CHOReOS European project presented to ANIKETOS project (part 2)

1

© s

cil

lys

tuff

on

fli

ckr

Van

ess

a Z

ah

ori

an

& K

ris

tin

Lo

ng

in D

ive

rtim

en

to N

°15

- P

ho

to (

c)

Eri

k T

om

as

son

Valérie Issarny (Inria) – Scientific Leader

CHOReOS Architectural Stylefor Choreography-based Future Internet

22 February 2012

Page 2: CHOReOS European project presented to ANIKETOS project (part 2)

2

From Future Internet

Ad hoc social netVisit & Go to airport

Adaptive Itinerary

Co-Taxi-ingTraffic mgt

Guided tour

Planet-scale networking Devices

everywhereIncreasingly

mobileUser

empowerment

to ChoreographyFrom Future Internet

Page 3: CHOReOS European project presented to ANIKETOS project (part 2)

3

• Revisiting the SOA style to face FI challenges

• Which types of services to compose

• Which types of interaction protocols for services

• Which types of coordination protocols for

choreographies

CHOReOS Architectural Style

Page 4: CHOReOS European project presented to ANIKETOS project (part 2)

4

Outline

• Software Architecture Style• Baseline styles for CHOReOS

• The CHOReOS Software Architecture Style• A glance at the impact of FI requirements

• CHOReOS Components

• CHOReOS Connectors

• CHOReOS Coordination Protocols

• From Architecture Style to Integrated Development and Runtime Environment (IDRE)

Page 5: CHOReOS European project presented to ANIKETOS project (part 2)

5

Outline

• Software Architecture Style• Baseline styles for CHOReOS

• The CHOReOS Software Architecture Style• A glance at the impact of FI requirements• CHOReOS Components• CHOReOS Connectors• CHOReOS Coordination Protocols

• From Architecture Style to IDRE

Page 6: CHOReOS European project presented to ANIKETOS project (part 2)

6

Baseline Styles for CHOReOSService-Oriented Architecture for the FI

Web-Based Services

WS* (BP), REST (Atomic), …

FI-SpecificsFI-related Event- and Data-driven architectures for

Thing-based services, ….

Others…Modeling

language related (BPMN2, …)

SOA-Focused

Discovery

ServiceProvider

ServiceConsumer CHOReOS SOA

Component ⤳ ServiceConnector ⤳ C/S protocol

Configuration ⤳ Composition

For the FI

Page 7: CHOReOS European project presented to ANIKETOS project (part 2)

7

Outline

• Software Architecture Style• Baseline styles for CHOReOS

• The CHOReOS Software Architecture Style• A glance at the impact of FI requirements

• CHOReOS Components

• CHOReOS Connectors

• CHOReOS Coordination Protocols

• From Architecture Style to IDRE

Page 8: CHOReOS European project presented to ANIKETOS project (part 2)

8

• Scalability

• … in the number of users, service instances, composed services,

• Heterogeneity

• … in the diversity of service types, technologies, …

• Mobility

• … leading to mobile and volatile services…

• Awareness & adapability

• … overcoming the volatility of services…

• Privacy, Security & Trust

Recalling the FI ities

Page 9: CHOReOS European project presented to ANIKETOS project (part 2)

9

A Glance at the Impact of FI on SOA

CHOReOSComponents

Web-based services at large (WS* &

Rest, B & T)

CHOReOSConnectors

Highly heterogeneous

interaction paradigms (C/S, P/S,

T/S, …)

CHOReOSCoordination ProtocolChoreography-based

composition of services

Page 10: CHOReOS European project presented to ANIKETOS project (part 2)

10

Impact of FI on Components

CHOReOSConnectors

Highly heterogeneous interaction paradigms

(C/S, P/S, T/S, …)

CHOReOSCoordination ProtocolChoreography-based

composition of services

CHOReOSComponents

Web-based services at large (WS* &

Rest, B & T)

Page 11: CHOReOS European project presented to ANIKETOS project (part 2)

11

Heterogeneous services to aggregate in the FI

• WS* and RESTful Web-based services

• Business and Thing-based services

A paradigm-independent definition

CHOReOS ComponentsServices in the FI

Page 12: CHOReOS European project presented to ANIKETOS project (part 2)

12

CHOReOS ComponentsService Abstractions to Sustain Scale

Functional

abstractions

WS descriptions …

Non-functional

abstractions

Service

Base

Developer posing queries

Service registration

Page 13: CHOReOS European project presented to ANIKETOS project (part 2)

13

Functional abstractions that are reverse engineered from collections of services to organize the service

base

CHOReOS Components Service Abstractions to Sustain Scale (2)

Page 14: CHOReOS European project presented to ANIKETOS project (part 2)

14

Impact of FI on Connectors

CHOReOSComponents

Web-based services at large (WS* & Rest,

B & T)

CHOReOSCoordination ProtocolChoreography-based

composition of services

CHOReOSConnectors

Highly heterogeneous

interaction paradigms (C/S, P/S,

T/S, …)

Page 15: CHOReOS European project presented to ANIKETOS project (part 2)

15

CHOReOS ConnectorsMiddleware-based Connector

Page 16: CHOReOS European project presented to ANIKETOS project (part 2)

16

CHOReOS ConnectorsSustaining Interoperability

Connector roles

Middleware

Application

Component port

Middleware

Application

12Component port

2

Connector glue3

C/S Md/w P/S Md/w

Page 17: CHOReOS European project presented to ANIKETOS project (part 2)

17

CHOReOS ConnectorsInteroperability across Interaction Paradigms

CSpeer PSpeer

TSpeer

PSconnector

TSconnector

GAconnectorGA-based

interoperabilityacrossheterogeneousmiddlewareand

paradigms

CSconnector

connectorroleasseenfromtheapplica onviewpoint(legacyinterac onAPI)

Page 18: CHOReOS European project presented to ANIKETOS project (part 2)

18

CHOReOS ConnectorsThe GA Connector – Multi-paradigm Post & Get

Coupling may take oneof the following values:

• Strong (space & time coupling – CS) • Weak (time decoupling - PS)• Very weak (space & time decoupling - TS) • Any

Page 19: CHOReOS European project presented to ANIKETOS project (part 2)

19

CHOReOS ConnectorsThe GA Connector – to/from Legacy Connectors

Example - Synchronous consumption roles

GA CS PS TS

ε

?receive_sync

!subscribe

?get_next

!unsubscribe

?takeorread

!set_get

?get_sync!end_set_get ε

ε

ε

Page 20: CHOReOS European project presented to ANIKETOS project (part 2)

20

Impact of FI on Coordination

CHOReOSComponents

Web-based services at large (WS* & Rest,

B & T)

CHOReOSConnectors

Highly heterogeneous interaction paradigms

(C/S, P/S, T/S, …)

CHOReOSCoordination ProtocolChoreography-based

composition of services

Page 21: CHOReOS European project presented to ANIKETOS project (part 2)

21

CHOReOS Coordination ProtocolsChoreography-based Coordination

Page 22: CHOReOS European project presented to ANIKETOS project (part 2)

22

CHOReOS Coordination ProtocolsCoordination vs Middleware Layer Interoperability

Middleware layer solves interaction paradigm heterogeneity

Coordination layer solves application protocol heterogeneity (aka mediation)

and prevents undesired behavior wrt Choreography specification

Page 23: CHOReOS European project presented to ANIKETOS project (part 2)

23

CHOReOS Coordination ProtocolsPreventing Undesired Behaviour based on LTS Abstraction (1)

Example – Travel Agency Services

0

1

2

3

!getFlight1

!getHotel

!setBookInfo(a)BookingAgency

(mul -threadedspecifica on)

(b1)FlightBooking1

(c)HotelBooking

?ack

0

1

2

?getHotel

?setBookInfo

!ack

0

1

?getFlight1

!flightInfo1

?cancel1

(b2)FlightBooking2

0

1

?getFlight2

!flightInfo2

?cancel2

!getFlight2

0’

1’

!cancel2

?flightInfo10’’

1’’

!cancel1

?flightInfo2

Page 24: CHOReOS European project presented to ANIKETOS project (part 2)

24

CHOReOS Coordination ProtocolsPreventing Undesired Behaviour based on LTS Specification (2)

Example – Flight Hotel Booking Collaboration

A possible undesired execution trace

0 1 2

ba.getFlight1. 1 ba.getFlight2. 23 4

1.flightInfo1.ba 2.flightInfo2.ba

Page 25: CHOReOS European project presented to ANIKETOS project (part 2)

25

CHOReOS Coordination ProtocolsThe Distributed Coordination Algorithm

Page 26: CHOReOS European project presented to ANIKETOS project (part 2)

26

Outline

• Software Architecture Style• Baseline styles for CHOReOS

• The CHOReOS Software Architecture Style• A glance at the impact of FI requirements

• CHOReOS Components

• CHOReOS Connectors

• CHOReOS Coordination Protocols

• From Architecture Style to IDRE

Page 27: CHOReOS European project presented to ANIKETOS project (part 2)

27

• Functional and non-functional abstractions for services to face scale and adaptability requirements

• Multi-paradigm (GA) connector type enabling interoperability across heterogeneous interaction paradigms

• Coordination protocol allowing the automated synthesis of decentralized choreographer aka Coordination Delegates

➠ Informs the development of the IDRE constituents

The CHOReOS Architecture Stylein a Nutshell

Page 28: CHOReOS European project presented to ANIKETOS project (part 2)

28

CHOReOS IDREoverview

Page 29: CHOReOS European project presented to ANIKETOS project (part 2)

29

CHOReOS IDRE detailed view Development

Environment

Runtime

Environment

Page 30: CHOReOS European project presented to ANIKETOS project (part 2)

30

• Issue of security and trusworthiness largely present in the CHOReOS architecture

➠ Need to integrate relevant solutions

CHOReOS & ANIKETOS

Page 31: CHOReOS European project presented to ANIKETOS project (part 2)

31

© s

cil

lys

tuff

on

fli

ckr

Van

ess

a Z

ah

ori

an

& K

ris

tin

Lo

ng

in D

ive

rtim

en

to N

°15

- P

ho

to (

c)

Eri

k T

om

as

son

Thank you

Q&A