1 / 16

Presented by Samir Sebahi LIRIS, Université Lyon1(UCBL) Lyon , France

Monitoring Web Services: A Database Approach Mohamed-Amine Baazizi , Samir Sebahi, Mohand-Said Hacid, Salima Benbernou - University Claude Bernard Lyon 1, France Mike Papazoglou - Tilburg University , the Netherlands. Presented by Samir Sebahi LIRIS, Université Lyon1(UCBL)

Download Presentation

Presented by Samir Sebahi LIRIS, Université Lyon1(UCBL) Lyon , France

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Monitoring Web Services: A Database Approach Mohamed-Amine Baazizi, Samir Sebahi, Mohand-Said Hacid, SalimaBenbernou - UniversityClaude Bernard Lyon 1, France Mike Papazoglou - Tilburg University, the Netherlands Presented by Samir SebahiLIRIS, Université Lyon1(UCBL) Lyon, France

  2. Agenda • Introduction • Monitoring conversations • Monitoring system • Querying BP State • Monitoring language • Monitoring prepreties • Conclusion

  3. Introduction • Monitoring: the ability to track service activities that take place via the bus and accommodate visibility into various metrics and statistics. Of particular significance is the ability to be able to spot problems and exceptions in the business processes and move toward resolving them as soon as they occur[Papazoglou,2007] • BP: Deterministic finite-state machine Capturing/modeling Web services conversations [Benatallah 2004]

  4. Monitoring conversations SOAP Message/Events SOAP Message SOAP Message System To monitor Monitor External Partners - - + - + + Action on the system BP (1) Behavioral Properties the system should satisfy (2) Need of statistical indicators to measure the performance of the system … Faults… Statistical indicators

  5. Monitoring system(1/2) Monitor Business Protocol (Object + xml representation ) M1 M2 M3 S1 S2 BP Automata … … BP Class generator LINQ Framework Business Protocol Framework Genrate BP Editor CarEntred CarRented CarDepart Confirm Payment Create, Edit or Import BPEL Start StartRent Payment Start CarAvialibility Avialibility Payment Confirmation Visual Studio CancelPayment .NET FrameWork Business Protocol

  6. Monitoring system(2/2) SOAP Message/Events SOAP Message BPEL Engine Monitor External Partner - - + + Results, Actions Properties to check Statistical Query BAM Checker BP events Query state/message… Protocol Execution Trace Business Protocol (Object representation ) SQL Query Business Protocol Framework M1 M2 M3 S1 S1 S2 BP Automata M1 … … Message event LINQ Framework Database SOAP:M1 Soap probing SOAP Message/Events

  7. QueryingBP State(1/3) Data Source: SOAP, Service, Process Events… M3 Application S1,T=1 M2 M1 M1 S8 S6 S7 Instance1,T=Max Instance2,T=Max … s2 S1 S3 S4 S5 s2 s31 s2 S2,T=3 S10 Time S3 S3 S3,T=7 Business Protocol S31 S11 s4 S4 s4,T=10 S10 … S31 s3 M1 (v1(5),v2(4),T=2) s4 S10 M2, (v3(9),v4(2),T=4) s5 M1,(v1(7),v2(2),T=9) … … … S3,T=15 … … Data Base Protocol Execution Trace

  8. QueryingBP State(2/3) • State: a state is a view on the visible (external) state of an instance of a protocol at time Ti and a value of Message M at state Si is the last value of mi with mi.T<Si.T.

  9. QueryingBP State(3/3) M3 Application S1,T=1 M2 M1 M1 T=8,11,15 S8 S6 S7 Instance1/@M1.v1? Instance1/@M1.v1=5,7,7 Instance1,T=Max Instance2,T=Max … s2 S1 S3 S4 S5 s2 s31 s2 S2,T=3 S10 S3/@M1.v1=5,5,5 Time S3 S3 S3,T=7 S31 Business Protocol S11 S4/@M1.v1=Null,7,7 s4 S4 s4,T=10 S10 S4/S3/@M1.v1=Null,Null,7 … M1.T<Instance1.T M1.T<Instance1.T S31 s3 M1 (v1(5),v2(4),T=2) s4 S10 M2, (v3(9),v4(2),T=4) {T=8} s5 M1,(v1(7),v2(2),T=9) … … {T=11} … S3,T=15 … … {T=15} Database Protocol Execution Trace

  10. Monitoring language(1/3) Pre and post conditions specification M3 M2 M1 M1 S8 S6 S7 s2 S5 S1 S3 S4 S10 S31 Business Protocol S11 Pre condition M1.OnMessage(){ //check } Post condition S2.OnState(){ //check }

  11. Monitoring language(2/3)Statistical properties M3 Business Protocol M2 M1 M1 S8 S6 S7 s2 S5 S1 S3 S4 S10 S31 S11 Linq Query or SQL SQL query Business Protocol (Object representation ) M1 M2 M3 S1 S2 BP Automata … … Database LINQ Framework

  12. Monitoring language(3/3) Flexibility in Discovering Undesirable Situations M3 Business Protocol M2 M1 M1 S8 S6 S7 s2 S5 S1 S3 S4 S10 S31 S11 System To monitor Monitor External Partner SOAP Message SOAP Message M1 M1 + + Block the execution M1.OnReceive(){ // check something… } Don’t block the execution M1.OnSending(){ // check something… }

  13. Monitoring properties(1/2) • Abstraction: BP (states and messages) • Expressive monitoring specification • Invasiveness: • Design time: No, defined independently • Execution: flexible execution with the process • Collecting Monitoring Data: process, SOAP message, external data… • Flexibility in Discovering Undesirable Situations

  14. Monitoring properties(2/2) • Dynamic (properties to check can be specified at run time) • QueryingBP States • Check behavioral properties • Check temporal properties • Allow Instance and Application Monitoring • Pre and post condition specifications • Set of events of BP execution • Statistical properties

  15. Conclusion • A new monitoring approach with (BP, DB) • This is just a starting work • Exploiting database concepts? • View, actions triggering using the ECA paradigm… • Compliance Monitoring?

  16. Thank you

More Related