BindingFactory

1,660 views

Published on

Automatic generation and configuration of Connectors (aka BindingFactory): slides presented at the INRIA SARDES Seminaire 19/04/07@Autrans, France

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,660
On SlideShare
0
From Embeds
0
Number of Embeds
47
Actions
Shares
0
Downloads
43
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

BindingFactory

  1. 1. Sardes Seminar Automatic generation and configuration of connectors Valerio Schiavoni – Pierre Garcia Sylvain Sicard
  2. 2. Outline Sardes Seminar 1. Context 2.Objectives 3.Roadmap Valerio Schiavoni & Pierre Garcia 19/04/2007 2 Sylvain Sicard
  3. 3. Context Sardes Seminar 2 RNTL projects ● JonES (december 2006 – february 2008) – Java Open ESB ● ● JBI implementation : PEtALS SCOrWare (january 2007 - 2009) – SCA implementation ● Common need ● Build connectors between components – Valerio Schiavoni & Pierre Garcia 19/04/2007 3 Sylvain Sicard
  4. 4. JOnES Sardes Seminar Valerio Schiavoni & Pierre Garcia 19/04/2007 4 Sylvain Sicard
  5. 5. SCOrWare Sardes Seminar Valerio Schiavoni & Pierre Garcia 19/04/2007 5 Sylvain Sicard
  6. 6. Specifying Connectors Sardes Seminar Application deployers don't care about technical ● issues involved in remote communications Rather, they care about non-functional requirements ● Idea ● Extend ADLs for specifying – functional requirement : one-way ● non functional requirements : ordering, ● security, reliability ... Valerio Schiavoni & Pierre Garcia 19/04/2007 6 Sylvain Sicard
  7. 7. Configuring (efficient) connectors Sardes Seminar Exploit a representation of the hardware in a DSL ● (HDL) describing Node configuration – Network topology/caratheristics – For example: ● A network topology description model for grid – application deployment [INRIA,LacPerPri2004grid] using both descriptions we want to generate ● appropriate and efficient connectors appropriate means meeting non functional – requirements specifyed in the application efficient meaning well-configured – Valerio Schiavoni & Pierre Garcia 19/04/2007 7 Sylvain Sicard
  8. 8. ADL + HDL : Example 1 Sardes Seminar ADL describes 2 components ● HDL describes a firewall between them ● -> HTTP Connector has to be built Valerio Schiavoni & Pierre Garcia 19/04/2007 8 Sylvain Sicard
  9. 9. ADL + HDL : Example 2 Sardes Seminar JORAM use-case ● Configuration of causal ordering ● Ability to choose the best available configuration ● Valerio Schiavoni & Pierre Garcia 19/04/2007 9 Sylvain Sicard
  10. 10. Fractal HA : Example 3 Sardes Seminar Objectives ● Provide high availability to Fractal components – HA as a non-functional service in Fractal – Usable starting from the level 0.1 of the Fractal specification. – Need of a BindingController ● Minimize constraints on components ● Independent from Fractal implementation ● (Julia/AOKell/…) Valerio Schiavoni & Pierre Garcia 19/04/2007 10 Sylvain Sicard
  11. 11. Fractal HA : Example 3 Sardes Seminar <definition name="HelloWorld"> <interface name="r" role="server" signature="java.lang.Runnable"/> <component name="client"> <interface name="r" role="server" signature="java.lang.Runnable"/> <interface name="s" role="client" signature="Service"/> <content class="ClientImpl"/> <controller desc="primitive"/> </component> <component name="server"> <interface name="s" role="server" signature="Service"/> <content class="ServerImpl"/> <controller desc="primitive"/> <nonfunctionalproperties> <FHA strategy=“active” vnode="gf1,gf2,gf3"/> </nonfunctionalproperties> </component> <binding client="this.r" server="client.r"/> <binding client="client.s" server="server.s"/> </definition> Valerio Schiavoni & Pierre Garcia 19/04/2007 11 Sylvain Sicard
  12. 12. Fractal HA : Example 3 Sardes Seminar Valerio Schiavoni & Pierre Garcia 19/04/2007 12 Sylvain Sicard
  13. 13. Fractal HA : Example 3 Sardes Seminar <definition name="HelloWorld"> <interface name="r" role="server" signature="java.lang.Runnable"/> <component name="client"> <interface name="r" role="server" signature="java.lang.Runnable"/> <interface name="s" role="client" signature="Service"/> <content class="ClientImpl"/> <controller desc="primitive"/> <nonfunctionalproperties> <FHA strategy=“active” vnode="gf3,gf4,gf5"/> </nonfunctionalproperties> </component> <component name="server"> <interface name="s" role="server" signature="Service"/> <content class="ServerImpl"/> <controller desc="primitive"/> <nonfunctionalproperties> <FHA strategy=“active” vnode="gf1,gf2,gf3"/> </nonfunctionalproperties> </component> <binding client="this.r" server="client.r"/> <binding client="client.s" server="server.s"/> </definition> Valerio Schiavoni & Pierre Garcia 19/04/2007 13 Sylvain Sicard
  14. 14. Fractal HA : Example 3 Sardes Seminar Valerio Schiavoni & Pierre Garcia 19/04/2007 14 Sylvain Sicard
  15. 15. Roadmap Sardes Seminar 1) Automatic generation of connectors 2) Configuration of connectors Valerio Schiavoni & Pierre Garcia 19/04/2007 15 Sylvain Sicard
  16. 16. Automatic Generation of Sardes Connectors Seminar Build arbitrary connectors ● Connector templates ● Differences against Jonathan Protocol Graph ● Aspect Oriented Connectors ● given a connector template, how to add non- ● functional requirements (reliability, security) Valerio Schiavoni & Pierre Garcia 19/04/2007 16 Sylvain Sicard
  17. 17. Configuration of Connectors Sardes Seminar Designing algorithms to ● choose a template that fits non-functional ● requirements (ADL) and hardware resources (HDL) properly configure template ● Example: choosing the best protocol implementation ● for total order token-based -> homogenous cluster ● (fixed) sequencer-based -> heterogenous cluster ● tree-based -> grid ● Valerio Schiavoni & Pierre Garcia 19/04/2007 17 Sylvain Sicard
  18. 18. Short-term plan Sardes Seminar Understand Jonathan ● Understand FractalRMI ● Replace Jonathan with DREAM ● Use cases for automatic generation of connectors ● i.e. JGroups connector to implement group ● communication (broadcast, group RPC...) in Fractal Could be use to build Fractal HA ● Valerio Schiavoni & Pierre Garcia 19/04/2007 18 Sylvain Sicard
  19. 19. Mid-term plan Sardes Seminar June : show-casing use-cases ● September: connector template framework and library ● December: configuration algorithms ● Valerio Schiavoni & Pierre Garcia 19/04/2007 19 Sylvain Sicard
  20. 20. Sardes Seminar Questions ?
  21. 21. References Sardes Seminar Hardware Definition Language: ● NDL: http://www.science.uva.nl/research/sne/ndl/ – WS-Topology: http://www.computing.dcu.ie/~rbarrett/ircset_poster_2.pdf – http://www.optiputer.net/files/DeLAAT-uva-sc06-NetworkDescriptionLanguage-23Jan07.pd – Valerio Schiavoni & Pierre Garcia 19/04/2007 21 Sylvain Sicard

×