Distributed Automatic Service Composition in Large-Scale Systems Songlin Hu*, Vinod Muthusamy +, Guoli Li +, Hans-Arno Jacobsen + * Chinese Academy of.

Slides:



Advertisements
Similar presentations
L3S Research Center University of Hanover Germany
Advertisements

Network Resource Broker for IPTV in Cloud Computing Lei Liang, Dan He University of Surrey, UK OGF 27, G2C Workshop 15 Oct 2009 Banff,
Research Issues in Web Services CS 4244 Lecture Zaki Malik Department of Computer Science Virginia Tech
Database Architectures and the Web
Efficient Event-based Resource Discovery Wei Yan*, Songlin Hu*, Vinod Muthusamy +, Hans-Arno Jacobsen +, Li Zha* * Chinese Academy of Sciences, Beijing.
Alex Cheung and Hans-Arno Jacobsen August, 14 th 2009 MIDDLEWARE SYSTEMS RESEARCH GROUP.
1 Cycle Detection in Publish/Subscribe Overlay Networks Reza Sherafat Alex Cheung Prof. Cristiana Amza ECE1747 – Course Project University of Toronto.
Some Open Problems in Publish/Subscribe Networking David S. Rosenblum Chief Technology Officer PreCache Inc.
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Hans-Arno Jacobsen June 23, 2011 Resource Allocation Algorithms for Publish/Subscribe Systems
Small-Scale Peer-to-Peer Publish/Subscribe
Transactional Mobility in Distributed Content-Based Publish/Subscribe Systems Songlin Hu*, Vinod Muthusamy +, Guoli Li +, Hans-Arno Jacobsen + * Chinese.
SCAN: A Dynamic, Scalable, and Efficient Content Distribution Network Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy,
©NEC Laboratories America 1 Hui Zhang Samrat Ganguly Sudeept Bhatnagar Rauf Izmailov NEC Labs America Abhishek Sharma University of Southern California.
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
Design and Evaluation of a Wide-Area Event Notification Service Antonio Carzaniga David S. Rosenblum Alexander L. Wolf.
Hermes: A Distributed Event- Based Middleware Architecture Peter Pietzuch and Jean Bacon 1st DEBS Workshop, Vienna,
Distributed Publish/Subscribe Network Presented by: Yu-Ling Chang.
Self-Adaptive QoS Guarantees and Optimization in Clouds Jim (Zhanwen) Li (Carleton University) Murray Woodside (Carleton University) John Chinneck (Carleton.
Alex King Yeung Cheung and Hans-Arno Jacobsen University of Toronto June, 24 th 2010 ICDCS 2010 MIDDLEWARE SYSTEMS RESEARCH GROUP.
Effects of Routing Computations in Content-Based Routing Networks with Mobile Data Sources Vinod Muthusamy, Milenko Petrovic, Hans-Arno Jacobsen University.
AUTONOMOUS RESOURCE PROVISIONING FOR MULTI-SERVICE WEB APPLICATIONS Jiang Dejun,Guillaume Pierre,Chi-Hung Chi WWW '10 Proceedings of the 19th international.
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG MADES - A Multi-Layered, Adaptive, Distributed Event Store Tilmann Rabl Mohammad Sadoghi Kaiwen Zhang Hans-Arno.
A Distributed Framework for Reliable and Efficient Service Choreographies Young Yoon, Chunyang Ye and Hans-Arno Jacobsen.
Publisher Mobility in Distributed Publish/Subscribe Systems Vinod Muthusamy, Milenko Petrovic, Dapeng Gao, Hans-Arno Jacobsen University of Toronto June.
MIDDLEWARE SYSTEMS RESEARCH GROUP Denial of Service in Content-based Publish/Subscribe Systems M.A.Sc. Candidate: Alex Wun Thesis Supervisor: Hans-Arno.
Gil EinzigerRoy Friedman Computer Science Department Technion.
Supporting Disconnected Operations in Publish/Subscribe Systems Vinod Muthusamy Joint work with Milenko Petrovic, Ioana Burcea, H.-Arno Jacobsen, Eyal.
Content-Based Routing in Mobile Ad Hoc Networks Milenko Petrovic, Vinod Muthusamy, Hans-Arno Jacobsen University of Toronto July 18, 2005 MobiQuitous 2005.
MIDDLEWARE SYSTEMS RESEARCH GROUP Middleware A Policy Management Framework for Content-based Publish/Subscribe Middleware Hans-Arno Jacobsen Department.
Chapter 22: Building SOC Applications Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
EQoSystem: Supporting Fluid Distributed Service- Oriented Workflows Vinod Muthusamy, Young Yoon, Mo Sadoghi, Arno Jacobsen
Dynamic Load Balancing in Distributed Content-based Publish/Subscribe Alex K. Y. Cheung & Hans-Arno Jacobsen University of Toronto November 30 th, 2006.
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Total Order in Content-based Publish/Subscribe Systems Joint work with: Vinod Muthusamy, Hans-Arno Jacobsen.
DISTRIBUTED COMPUTING Introduction Dr. Yingwu Zhu.
Historic Data Access in Publish/Subscribe Middleware System Research Group University of Toronto.
Flexible Distributed Business Process Management Vinod Muthusamy University of Toronto Thesis Defense September 23, 2011.
PhD Candidate: Alex K. Y. Cheung Supervisor: Hans-Arno Jacobsen PhD Thesis Presentation University of Toronto March 28, 2011 MIDDLEWARE SYSTEMS RESEARCH.
Parallel Event Processing for Content-Based Publish/Subscribe Systems Amer Farroukh Department of Electrical and Computer Engineering University of Toronto.
MIDDLEWARE SYSTEMS RESEARCH GROUP Adaptive Content-based Routing In General Overlay Topologies Guoli Li, Vinod Muthusamy Hans-Arno Jacobsen Middleware.
PhD Candidate: Alex K. Y. Cheung Supervisor: Hans-Arno Jacobsen PhD Thesis Presentation University of Toronto March 28, 2011 MIDDLEWARE SYSTEMS RESEARCH.
Minimal Broker Overlay Design for Content-Based Publish/Subscribe Systems Naweed Tajuddin Balasubramaneyam Maniymaran Hans-Arno Jacobsen University of.
ICDCS Beijing China Routing of XML and XPath Queries in Data Dissemination Networks Guoli Li, Shuang Hou Hans-Arno Jacobsen Middleware Systems Research.
VLDB2005 CMS-ToPSS: Efficient Dissemination of RSS Documents Milenko Petrovic Haifeng Liu Hans-Arno Jacobsen University of Toronto.
András Belokosztolszki, David M Eyers, Peter R Pietzuch, Jean Bacon and Ken Moody Role-Based Access Control for Publish/Subscribe.
A Data Stream Publish/Subscribe Architecture with Self-adapting Queries Alasdair J G Gray and Werner Nutt School of Mathematical and Computer Sciences,
Tycho: A General Purpose Virtual Registry and Asynchronous Messaging System Matthew Grove ACET Invited Talk February 2006.
Information-Centric Networks10b-1 Week 10 / Paper 2 Hermes: a distributed event-based middleware architecture –P.R. Pietzuch, J.M. Bacon –ICDCS 2002 Workshops.
Information-Centric Networks Section # 10.2: Publish/Subscribe Instructor: George Xylomenos Department: Informatics.
1 Adaptive Parallelism for Web Search Myeongjae Jeon Rice University In collaboration with Yuxiong He (MSR), Sameh Elnikety (MSR), Alan L. Cox (Rice),
Peter R Pietzuch and Jean Bacon Peer-to-Peer Overlay Networks in an Event-Based Middleware DEBS’03, San Diego, CA, USA,
Ferdowsi University of Mashhad 1 Automatic Semantic Web Service Composition based on owl-s Research Proposal presented by : Toktam ghafarian.
Optimizing BPM Through SLAs & Event Monitoring
Distributed Automatic Service Composition in Large-Scale Systems Songlin Hu*, Vinod Muthusamy +, Guoli Li +, Hans-Arno Jacobsen + * Chinese Academy of.
MIDDLEWARE SYSTEMS RESEARCH GROUP MSRG.ORG Distributed Ranked Data Dissemination in Social Networks Joint work with: Mo Sadoghi Vinod Muthusamy Hans-Arno.
User Scenarios in VENUS-C Focus on Structural Analysis Ignacio Blanquer I3M - UPV.
Community Clustering in Distributed Publish/Subscribe System Wei Li 1,2,Songlin Hu 1, Jintao Li 1, Hans-Arno Jacobsen 3 1 Institute of Computing Technology,
Creating competitive advantage Copyright © 2003 Enterprise Java Beans Presenter: Wickramanayake HMKSK Version:0.1 Last Updated:
Congestion Avoidance with Incremental Filter Aggregation in Content-Based Routing Networks Mingwen Chen 1, Songlin Hu 1, Vinod Muthusamy 2, Hans-Arno Jacobsen.
AMSA TO 4 Advanced Technology for Sensor Clouds 09 May 2012 Anabas Inc. Indiana University.
1 Towards Scalable Pub/Sub Systems Shuping Ji 1, Chunyang Ye 2, Jun Wei 1 and Arno Jacobsen 3 1 Chinese Academy of Sciences 2 Hainan University 3 Middleware.
Outline Introduction. Changes made to the Tycho design from last time (June 2005). Example Tycho setup. Tycho benchmark motivations and methodology. Some.
Optimizing Distributed Actor Systems for Dynamic Interactive Services
Introduction to Databases Transparencies
Distributed Publish/Subscribe Network
Composite Subscriptions in Content-based Pub/Sub Systems
Foundations for Highly-Available Content-based Publish/Subscribe Overlays Young Yoon, Vinod Muthusamy and Hans-Arno Jacobsen.
Small-Scale Peer-to-Peer Publish/Subscribe
Software Acceleration in Hybrid Systems Xiaoqiao (XQ) Meng IBM T. J
Qualifying Exam Jaliya Ekanayake.
Self-Managed Systems: an Architectural Challenge
Presentation transcript:

Distributed Automatic Service Composition in Large-Scale Systems Songlin Hu*, Vinod Muthusamy +, Guoli Li +, Hans-Arno Jacobsen + * Chinese Academy of Sciences, Beijing + University of Toronto July 4, nd International Conference on Distributed Event-Based Systems (DEBS 2008) MIDDLEWARE SYSTEMS RESEARCH GROUP

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 2 Service-oriented computing Register services Find services Compose services Service composition becomes time consuming Explosion of services Automatic service composition

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 3 Automatic service composition Current approaches are centralizedDecentralized architecture is more appropriate Services are already distributed Improved scalability Load balance requests No single-point of failure Exploit similarity to publish/subscribe a b c Service 1 z x y Service 2 Service composition: Are services interoperable? Publish/subscribe: Does data match query? Data Query

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 4 Agenda Background  Service composition terminology  Publish/subscribe semantics Automatic service composition  Mapping to publish/subscribe domain  Distributed search algorithm Evaluation  Sensitivity of distributed algorithm to various factors

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 5 Service relationships postscriptprint_status SimplePrinter postscript print_status duplex_option DuplexPrinter html postscript pdf HTMLConv htmlprint_statusduplex_option Request3 R out R in Successor relationship Compatibility relationship Invocation defined by request and expected response parameters Service defined by input/output parameters Parameters are domain specific  Web Service: message schema  RPC: argument type

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 6 Composite process Construct compatibility graph Find subset  All inputs satisfied by outputs of a set of services/requests DuplexPrinter HTMLConv Request3 R out R in DuplexPrinter HTMLConv PDFConv Request3 R out R in SimplePrinter DuplexPrinter HTMLConv WordConv PDFConv Request3 R out R in Compatibility graph DAGs that are possible processes

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 7 Content-based pub/sub semantics Subscriber Publisher Subscription: item = computer brand = ibm price < 1500 Advertisement: item = computer brand = ibm price < 2000 Publication: item = computer brand = ibm price = 1400 Publication: item = computer price = 1000 Intersection Subscription: item = computer brand = dell price < 1500 No Intersection

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 8

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 9 Architecture Distributed Exploit pub/sub matching to assist process search Service agent registers services and participates in search algorithm  Is both a publisher and subscriber Search Request Search Result Service Agent Request Agent Pub/Sub Broker Network

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 10 Mapping to pub/sub domain postscriptprint_status SimplePrinter postscript print_status duplex_option DuplexPrinter html postscript pdf HTMLConv htmlprint_statusduplex_option Request3 R out R in Advertisement: postscript = * pdf = * Subscription: html = * Advertisement: print_status > 0 Subscription: postscript = * Advertisement: print_status > 0 Subscription: postscript = * Subscription: duplex_option > 0 Advertisement: html = * duplex_option = 0 Subscription: print_status > 0 Pub/sub intersection reveals compatibility relationships

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 11 Process search R R Service Agent Request Agent Pub/Sub Broker Network 2 2 R R 5 R 1 R 2 R 5 R 23 R 14 R R R R Compatibility graph 2. Service agents with compatible services receive pub Append themselves to DAG if they succeed Send publication 1. Request agent issues publication Include request as a DAG 3. Terminate when request agent receives a publication DAG represents a potential process

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 12 Evaluation

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 13 Setup Algorithms implemented in Java  Using Padres distributed content-based pub/sub system  Data centre environment  14 machines with 1.86 GHz CPU and 4 GB RAM Deployments  Centralized  Distributed  Hybrid: Centralized broker, distributed agents Metrics  Search latency  Search message overhead DistributedCentralized Hybrid Broker topology

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 14 Search frequency Tradeoff between centralized and distributed Centralized suffers when frequency exceeds latency Distributed suffers when frequency exceeds latency  number of machines  Near optimal parallelism No difference in per search message overhead  Latency variations are due to queuing

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 15 Results per search Linear relationship Distributed suffers higher message overhead but enjoys shorter latencies  Overhead is distributed Little benefit with hybrid  Pub/sub matching dominates

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 16 Impact of pub/sub matching “Unused” registered services impact search latency  Due to slower pub/sub matching What other matching optimizations are appropriate from these workloads? Matching optimizations such as covering help

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 17 Process length Without concurrent requests  Distributed performs worse  Difference between distributed and centralized widens With concurrent requests  Centralized is extremely overloaded  Distributed is relatively stable Latency increases are largely due to pub/sub matching  Similar latency and message trends  Minimal impact of distributed agents (hybrid)

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 18 Conclusions Explosion of services requires tools to simplify service composition  Data  E-R relationships  SQL  Web pages  hyperlink relationships  Google  Services  interoperability relationships  process search Novel application of pub/sub to realize distributed automatic service composition Distributed algorithm achieves near optimal parallelization of concurrent search requests Exciting new opportunities  Autonomic service composition Continuous search, result reuse, distributed administration  Pub/sub New application scenario, workloads, optimization points

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 19 Research synergies Automatic Service Composition Publish/Subscribe Process constraints Path length. Number of services. Service properties QoS, price, security, etc. Semantic, fuzzy compatibility. Continuous search Notify when a new service results in a valid process. Reverse search Find processes that can compose a given service. Discover business opportunities of a service provider. Reuse search results Register found processes as another service. Service agent will append composite process to DAG.

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 20 Distributed Automatic Service Composition in Large-Scale Systems padres.msrg.toronto.edu Q&A Thank you

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 21 Extra slides

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 22 Service relationships postscriptprint_status SimplePrinter postscript print_status duplex_option DuplexPrinter html postscript pdf HTMLConv pdfpostscript PDFConv htmlprint_statusduplex_option Request3 R out R in htmlprint_status Request2 R out R in Successor relationship Compatibility relationship Invocation defined by request and expected response parameters Service defined by input/output parameters Parameters are domain specific  Web Service: message schema  RPC: argument type

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 23 Service agent components Pub/sub client Service registry Successor matching algorithm Publication cache Store and register services Store services that are compatible with but do no precede Detect predecessor sets. Supports AND-split and AND-join Acts as both publisher and subscriber

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 24 Issues Possible that no composition of services satisfy invocation parameters Difficult to detect this in a distributed algorithm Simple solution: Expire search More robust but expensive solutions possible Cycles are possible in compatibility relations Detect this during successor matching Caveat: Resulting processes will not have loops DeadlocksLivelocks W1 R in R out W3 W2 W6 W4 W7 W5 W8 R in R out W4 W1 W3 W2

MIDDLEWARE SYSTEMS RESEARCH GROUP Jul. 4, 2008 (DEBS ’08) Automatic Service Composition 25 Service deployment In-order: adjacent services deployed to adjacent brokers Alternating: adjacent services alternately deployed to brokers 1 and 13 Poor deployment affects even sequential requests But parallel requests are more sensitive to a poor deployment