kaos a klaim extension for reasoning on programmable qos
play

KAOS: a KLAIM Extension for Reasoning on Programmable QoS Emilio - PowerPoint PPT Presentation

KAOS: a KLAIM Extension for Reasoning on Programmable QoS Emilio Tuosto etuosto@di.unipi.it Dipartimento di Informatica Universit a di Pisa In cooperation with: R. De Nicola, G. Ferrari, U. Montanari and R. Pugliese KAOS: a KLAIM


  1. KAOS: a KLAIM Extension for Reasoning on Programmable QoS Emilio Tuosto etuosto@di.unipi.it Dipartimento di Informatica Universit´ a di Pisa In cooperation with: R. De Nicola, G. Ferrari, U. Montanari and R. Pugliese KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.1/15

  2. Plan of the talk KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.2/15

  3. Plan of the talk WAN Programming with QoS KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.2/15

  4. Plan of the talk WAN Programming with QoS A representation of QoS parameters KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.2/15

  5. Plan of the talk WAN Programming with QoS A representation of QoS parameters KAOS KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.2/15

  6. Plan of the talk WAN Programming with QoS A representation of QoS parameters KAOS KAOS & Hypergraphs: reasoning on QoS issues KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.2/15

  7. Plan of the talk WAN Programming with QoS A representation of QoS parameters KAOS KAOS & Hypergraphs: reasoning on QoS issues Details in International Symposium on Verification - Theory and Practice (LNCS) KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.2/15

  8. Wide Area Network Programming Issues Absence of centralised control Administrative domains Interoperability “Mobility” (of resources and computation) Network Awareness Applications are location dependent Locations have different features and allow multiple (security) policies Independently programmed in a distributed environment Service Level Agreement Security ... KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.3/15

  9. Klaim KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.4/15

  10. Klaim Multiple TS KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.4/15

  11. Klaim Multiple TS Localities: first class citizens KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.4/15

  12. Klaim Multiple TS Localities: first class citizens Process migration KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.4/15

  13. Klaim Multiple TS Localities: first class citizens Process migration Q Q’ a(t)@s’ P P’ eval(P’)@s’ R R’ site s site s’ KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.4/15

  14. Klaim Multiple TS Localities: first class citizens Process migration Q Q’ a(t)@s’ P P’ eval(P’)@s’ R R’ site s site s’ KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.4/15

  15. Klaim Multiple TS Localities: first class citizens Process migration Q Q’ ::= P nil a(t)@s’ | α.P | P 1 | P 2 ::= a @ s α P P’ ::= a R eval(P’)@s’ R’ ... // Klaim actions | ε ( P ) site s site s’ KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.4/15

  16. KAOS: Gateways KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.5/15

  17. KAOS: Gateways Coordinators (super processes) KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.5/15

  18. KAOS: Gateways Coordinators (super processes) Dynamic creation of sites KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.5/15

  19. KAOS: Gateways Coordinators (super processes) Dynamic creation of sites Gateway connection management KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.5/15

  20. KAOS: Gateways Coordinators (super processes) Dynamic creation of sites Gateway connection management Q’ Q |P’ |P P R’ R site s site s’ KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.5/15

  21. KAOS: Gateways Coordinators (super processes) Dynamic creation of sites Gateway connection management Q’ Q new(s’,|P’) |P’ |P P R’ R site s site s’ KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.5/15

  22. KAOS: Gateways Coordinators (super processes) Dynamic creation of sites Gateway connection management Q’ Q |P’ |P P R’ R site s site s’ KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.5/15

  23. KAOS: Gateways Coordinators (super processes) Dynamic creation of sites Gateway connection management Q’ Q P ::= γ.P | P 1 | P 2 γ ::= α | ν ( s · κ ) κ κ | ⌢ s P s κ | ⌣ R’ R | δ l site s site s’ Cost κ abstracts characteristics of connections according to many “dimensions” (bandwidth, latency, distance, access rights ...) KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.5/15

  24. Connection costs Algebra on costs: c-semiring. � A, + , × , 0 , 1 � is a constraint semiring if A is a set ( 0 , 1 ∈ A ), and + and × are binary operations on A that satisfy the following properties: + is commutative, associative, idempotent, 0 is its unit element and 1 is its absorbing element; × is commutative, associative, distributes over + , 1 is its unit element, and 0 is its absorbing element. The additive operation of a c-semiring induces a partial order on A defined as a ≤ A b ⇐ ⇒ ∃ c : a + c = b . The minimal element is thus 0 and the maximal 1 KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.6/15

  25. Examples of connection costs � N, min, + , + ∞ , 0 � , the c-semiring of natural numbers N where the additive operation is min the multiplicative operation is the sum over natural numbers � ℘ ( { A } ) , ∪ , ∩ , A, A }� , c-semiring of capabilities A where the additive operation is ∪ the multiplicative operation is ∩ KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.7/15

  26. KAOS: Example 1. message on s 2. check message t s Send ’msg’ to t 3. download message KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.8/15

  27. KAOS: Example 1. message on s x <10,{i,o},2> <100,{i,o,n},2> <300,{i,o},60> 2. check message t s t z s Send ’msg’ to t <10,{i},20> <150,{i,o},2> y 3. download message KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.8/15

  28. KAOS: Example 1. message on s x <10,{i,o},2> <100,{i,o,n},2> <300,{i,o},60> 2. check message t s t z s Send ’msg’ to t <10,{i},20> <150,{i,o},2> y 3. download message Costs are triples κ = � d, C, p � where 1. d is the geographical distance (in Km); 2. C ⊆ { i, o, n } are the capabilities, where i , o and n stand for i nput, o utput and creation of n ew nodes, respectively; 3. p is the price (in euros). KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.8/15

  29. KAOS: Example Costs are elements of the cartesian product of 1. ( N, min, + , + ∞ , 0) , 2. ( ℘ ( { i, o, n } ) , glb, ∩ , { i, o, n } , { i, o, n } ) , 3. ( Q, min, + , + ∞ , 0) . proved to be a c-semiring [BMR97] Operations × and + are � d, C, p � × � d ′ , C ′ , p ′ � = � d + d ′ , C ∩ C ′ , p + p ′ � � d, C, p � + � d ′ , C ′ , p ′ � = � min { d, d ′ } , glb { C, C ′ } , min { p, p ′ }� . Accordingly, the neutral elements of × and + , respectively are de- fined as 1 = � 0 , { i, o, n } , 0 � and 0 = � + ∞ , ∅ , + ∞� . KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.9/15

  30. Hypergraphs Programming model 2 Tackling new non-functional computational phenomena of systems using SHR. The metaphor is “WAN systems as Hypergraphs” “WAN computations as SHR” In other words: Components are represented by hyperedges Systems are bunches of (connected) hyperedges Computing means to rewrite hyperedge... ...according to a synchronisation policy KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.10/15

  31. Hyperedges and Hypergraphs Syntax A hyperedge generalises edges: It connects more than two nodes y L : 3 , L ( y, z, x ) , • 1 x • • z L 3 2 KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.11/15

  32. Hyperedges and Hypergraphs Syntax A hyperedge generalises edges: It connects more than two nodes � ν y.G � ::= y G nil L : 3 , L ( y, z, x ) , • � G | G � � L ( � x ) 1 � x • • z L 3 2 KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.11/15

  33. Hyperedges and Hypergraphs Syntax A hyperedge generalises edges: It connects more than two nodes � ν y.G � ::= y G nil L : 3 , L ( y, z, x ) , • � G | G � � L ( � x ) 1 � x • • z L 3 2 Syntactic Judgement Γ ⊢ G , fn ( G ) ⊆ Γ KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.11/15

  34. Hyperedges and Hypergraphs Syntax A hyperedge generalises edges: It connects more than two nodes � ν y.G � ::= y G nil L : 3 , L ( y, z, x ) , • � G | G � � L ( � x ) 1 � x • • z L 3 2 Syntactic Judgement Γ ⊢ G , fn ( G ) ⊆ Γ An example: L : 3 , M : 2 x, y ⊢ ν z. ( L ( y, z, x ) | M ( y, z )) KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.11/15

  35. Hyperedges and Hypergraphs Syntax A hyperedge generalises edges: It connects more than two nodes � ν y.G � ::= y G nil L : 3 , L ( y, z, x ) , • � G | G � � L ( � x ) 1 � x • • z L 3 2 Syntactic Judgement Γ ⊢ G , fn ( G ) ⊆ Γ y • An example: � � � � L M L : 3 , M : 2 � � � � � � � � x, y ⊢ ν z. ( L ( y, z, x ) | M ( y, z )) � • ◦ z x KAOS: a KLAIM ExtensionforReasoning on Programmable QoS – p.11/15

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend