Workflow Optimisation Services for e-Science Applications David W. Walker Cardiff University.

Slides:



Advertisements
Similar presentations
LEAD Portal: a TeraGrid Gateway and Application Service Architecture Marcus Christie and Suresh Marru Indiana University LEAD Project (
Advertisements

A Workflow Engine with Multi-Level Parallelism Supports Qifeng Huang and Yan Huang School of Computer Science Cardiff University
Dynamic Web Service Selection for Workflow Optimisation Lican Huang, David W. Walker, Yan Huang, Omer F. Rana Presented by Lican Huang School of Computer.
WS-JDML: A Web Service Interface for Job Submission and Monitoring Stephen M C Gough William Lee London e-Science Centre Department of Computing, Imperial.
Lightweight Grid Computing Worksop 2 nd May 2006, Losehill Hall, Derbyshire Requirements and Expectations from Workflows Asif Akram e-Science Grid Technology.
BiodiversityWorld GRID Workshop NeSC, Edinburgh – 30 June and 1 July 2005 Resource wrappers, web services, grid services Jaspreet Singh School of Computer.
This product includes material developed by the Globus Project ( Introduction to Grid Services and GT3.
Dynamic Web Service Selection for Workflow Optimisation Lican Huang, David W. Walker, Yan Huang, Omer F. Rana Presented by Lican Huang School of Computer.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Workflow utilization in composition of complex applications based.
Transparent Robustness in Service Aggregates Onyeka Ezenwoye School of Computing and Information Sciences Florida International University May 2006.
Interactive Systems Technical Design Seminar work: Web Services Janne Ojanaho.
Distributed components
CIM2564 Introduction to Development Frameworks 1 Overview of a Development Framework Topic 1.
Distributed Heterogeneous Data Warehouse For Grid Analysis
Interpret Application Specifications
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Course Instructor: Aisha Azeem
System Design/Implementation and Support for Build 2 PDS Management Council Face-to-Face Mountain View, CA Nov 30 - Dec 1, 2011 Sean Hardman.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Globus 4 Guy Warner NeSC Training.
Špindlerův Mlýn, Czech Republic, SOFSEM Semantically-aided Data-aware Service Workflow Composition Ondrej Habala, Marek Paralič,
CLARIN tools for workflows Overview. Objective of this document  Determine which are the responsibilities of the different components of CLARIN workflows.
Ontology-derived Activity Components for Composing Travel Web Services Matthias Flügge Diana Tourtchaninova
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
Application Web Service Toolkit Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University July
1 Dr. Markus Hillenbrand, ICSY Lab, University of Kaiserslautern, Germany A Generic Database Web Service for the Venice Service Grid Michael Koch, Markus.
An Introduction to Software Architecture
Mihir Daptardar Software Engineering 577b Center for Systems and Software Engineering (CSSE) Viterbi School of Engineering 1.
Grid Resource Allocation and Management (GRAM) Execution management Execution management –Deployment, scheduling and monitoring Community Scheduler Framework.
20 October 2006Workflow Optimization in Distributed Environments Dynamic Workflow Management Using Performance Data David W. Walker, Yan Huang, Omer F.
Orchestration of an OGSI-enabled scientific application using the Business Process Execution Language Ben Butchart Wolfgang Emmerich University College.
© DATAMAT S.p.A. – Giuseppe Avellino, Stefano Beco, Barbara Cantalupo, Andrea Cavallini A Semantic Workflow Authoring Tool for Programming Grids.
The PROGRESS Grid Service Provider Maciej Bogdański Portals & Portlets 2003 Edinburgh, July 14th-17th.
Performance Architecture within ICENI Dr Andrew Stephen M c Gough Laurie Young, Ali Afzal, Steven Newhouse and John Darlington London e-Science Centre.
Shannon Hastings Multiscale Computing Laboratory Department of Biomedical Informatics.
Introduce Grid Service Authoring Toolkit Shannon Hastings, Scott Oster, Stephen Langella, David Ervin Ohio State University Software Research Institute.
GSFL: A Workflow Framework for Grid Services Sriram Krishnan Patrick Wagstrom Gregor von Laszewski.
07/09/04 Johan Muskens ( TU/e Computer Science, System Architecture and Networking.
Grids - the near future Mark Hayes NIEeS Summer School 2003.
Holding slide prior to starting show. A Portlet Interface for Computational Electromagnetics on the Grid Maria Lin and David Walker Cardiff University.
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
Grid Services I - Concepts
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE User Forum, Manchester, 10 May ‘07 Nicola Venuti
June 25, 2007 WORKS 07, HPDC 07, Monterey Bay California, June GRIDCC: Real-time Workflow system A.Stephen McGough, Asif Akram, Li Guo, Marko Krznaric,
Enabling Grids for E-sciencE Astronomical data processing workflows on a service-oriented Grid architecture Valeria Manna INAF - SI The.
BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.
Glen Dobson, Lancaster University Service Grids Workshop NeSC Edinburgh 23/7/04 Endpoint Services Glen Dobson Lancaster University,
Qusay H. Mahmoud CIS* CIS* Service-Oriented Computing Qusay H. Mahmoud, Ph.D.
On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows Aleksander Slomiski Presented by Onyeka Ezenwoye CIS Advanced Topics in Software.
Dynamic Invocation, Optimisation and Interoperation of Services- oriented Workflow Lican Huang, David W. Walker, Omer F. Rana, Yan Huang School of Computer.
REST By: Vishwanath Vineet.
RobustBPEL2: Transparent Autonomization in Business Processes through Dynamic Proxies Onyeka Ezenwoye S. Masoud Sadjadi Autonomic Computing Research Lab.
The NGS Grid Portal David Meredith NGS + Grid Technology Group, e-Science Centre, Daresbury Laboratory, UK
Oracle Business Intelligence Foundation - Commonly Used Features in Repository.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Application Web Service Toolkit Allow users to quickly add new applications GGF5 Edinburgh Geoffrey Fox, Marlon Pierce, Ozgur Balsoy Indiana University.
R e D R e S S Portals, Desktop Applications and Distributed Services for e-Research - Updated vision - Rob Crouchley and Rob Allan With thanks to Chuck.
Holding slide prior to starting show. Lessons Learned from the GECEM Portal David Walker Cardiff University
DEVELOPING WEB SERVICES WITH JAVA DESIGN WEB SERVICE ENDPOINT.
Slide 1 Chapter 8 Architectural Design. Slide 2 Topics covered l System structuring l Control models l Modular decomposition l Domain-specific architectures.
By Jeremy Burdette & Daniel Gottlieb. It is an architecture It is not a technology May not fit all businesses “Service” doesn’t mean Web Service It is.
18 May 2006CCGrid2006 Dynamic Workflow Management Using Performance Data Lican Huang, David W. Walker, Yan Huang, and Omer F. Rana Cardiff School of Computer.
Self Healing and Dynamic Construction Framework:
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Service-centric Software Engineering
An Introduction to Software Architecture
Portals, Desktop Applications and Distributed Services for e-Research
GGF10 Workflow Workshop Summary
Presentation transcript:

Workflow Optimisation Services for e-Science Applications David W. Walker Cardiff University

WOSE Overview Draws together JISGA and Triana work at CU, with ICENI at IC, and portal expertise at DL. Topics addressed –Service aggregation and deployment –Runtime discovery and late binding of services –Service discovery and selection from multiple semantically equivalent services

Workflow Optimisation Types of workflow optimisation –Through service selection –Through workflow re-ordering –Through exploitation of parallelism When is optimisation performed? –At design time (early binding) –Upon submission (intermediate binding) –At runtime (late binding)

Service Binding Models Late binding of abstract service to concrete service instance means: –We use up-to-date information to decide which service to use when there are. multiple semantically equivalent services –We are less likely to try to use a service that is unavailable.

Late Binding Case Search registry for all services that are consistent with abstract service description. Select optimal service based on current information, e.g, host load, etc. Execute this service. Doesn’t take into account time to transfer inputs to the service. In early and late binding cases we can optimise overall workflow.

WOSE Architecture Work at Cardiff has focused on implementing a late binding model for dynamic service discovery, based on a generic service proxy, and service discovery and optimisation services. History database Proxy Configuration script Workflow script User ConverterActiveBPEL workflow engine Web service instance Discovery Service Optimization Service Registry services (such as UDDI) Performance Monitor Service

WOSE Sequence Diagram CCGrid2005 Wip section 12 May, 2005

Service Discovery Issues Service discovery and optimisation is based on service metadata. Could store in a database. Could obtain by interrogating service.

Optimisation by Re-Ordering Work at Imperial has looked at static optimisation –Optimise the runtime execution of workflow before it is executed –Achieves the goal through: Re-ordering of components Addition of components Substitution of components Pruning of the workflow Performance and workflow aware Scheduling Runtime Optimisation –through monitoring, check-pointing and migration

Component Manipulation Re-ordering: Workflows (often composed from composite workflows) may contain non-optimal ordering of components –Use re-ordering to improve performance multiply Matrix Gen Vector Gen Matrix Gen multiply Matrix Gen Vector Gen Matrix Gen multiply

Component Addition Addition: For a component requiring a specific format of data as input, a transformer component could be added to achieve the desired format. –Allows more optimal components to be used together Input required in MPS format Output in LP format C 1LP to MPSC 2

Component Substitution Substitution: –A Jacobi Iteration linear solver replaced by Conjugate Gradient linear solver according to the output of the Discretizer (FEM) Based on observing the meta-data associated with previous components b A (sparse and diagonally dominant) FEM JI linear solver

Pruning Workflow Pruning: –Workflows may contain unused components. Especially when composed from other sub-workflows Remove redundant components Not needed ab f c e g d h  

Performance Aware Scheduling Scheduler Globus Resource s Globus Launcher Single Resource Launcher Component Repository JSDL Query Request Reservation Performance Repository SGE Resource s Reservation Launcher Reservation Service Query Negotiate Reservation WS-Agreement

Execution Pipeline JSDL for different VMs of components Optimised Workflow Abstract Workflow Concrete Workflow GRID Scheduler Performance Aware Deployment Service (DS) Application Co-ordination Service (ACS) Static Optimiser OS VM Hardware Service OS VM Hardware Service

Explanation ACS (Application Co-ordination Service) –Abstract layer which coordinates checkpointing and migration –makes Web Service calls to Deployment Service (DS) which then co-ordinates with the services running on resources in order to interact with the VM This is the execution environment of the component ACS temporarily suspends all the VMs in which the components of a workflow execute –Web Service call to DS The DS causes each VM to take its snapshot –ACS fetches the state snapshots and maintains the most recent copy If Migrating - stages the VMs needing migration to the new resources as decided by the scheduler Only VM state needs migration ACS resumes the VMs –Web Service call to DS

Work Done at Daresbury Daresbury started working with evaluating different BPEL engines to have proper understanding of BPEL specification i.e. ActiveBPEL, Oracle BPEL engine initially Collaxa BPEL engine. Most projects at CCLRC are portal based, so we studied the relevance of Portal based workflow monitoring and controlling solution. Web Services for Remote Portlets (WSRP) is an emerging specification, with limited support - seems to bridge Portal and Web Services and a lot of work has been done, with demo prototype. WSRF is extension of existing Web Services and provides extra layer of functionality without changing the Web Service implementation. WSRF extension for Web Service starts from modification of existing WSDL file of specific Web Service. WSRF extension of WSDL is not straight forward and needs a thorough understanding of WSDL and WSRF. Daresbury has built working prototype for testing Web Services based on WSDL.

Main Prototype Screen Text Field to enter WSDL location Drop Down Menu for Services & Operations Buttons to Analyse and Add WS JTree for adding WS, with user interaction Display Message content for WS Operation Call

Dynamic Swing Form created for testing WS Prototype can handle every complex and composite data types

Adding Different WS and SOAP Message Different WS added and populated drop down menu Contents of SOAP Method Call

Prototype Prototype to test WS is modular in nature and is quite stable. Different components of WSDL like messages, types, ports, services are implemented in different classes for maximum flexibility. Prototype can handle composite and complex data type of significant complexity. Prototype is using in-memory representation of WSDL, rather than creating stubs and skeletons. Another prototype based on stubs and skeletons is created which uses WSDL2Java class to create stubs and skeletons from WSDL and Ant tool to compile them, but it has not been thoroughly tested. Purpose of two prototypes is to compare which technique of calling WS is more efficient. Initial test shows for calling small number of WS’s in memory technique is efficient, but for large workflows with many WS’s creating stubs and skeletons should be preferred.

Future Work Prototype is stable but still it needs a lot of improvements. Improvements in Graphical User Interface for better user experience. Adding new features for handling WSDL files, which imports external WSDL files or XML Schema for data types. Extending prototype to create WSRF compatible WSDL file from given WSDL file according to user requirements:  Adding appropriate WSRF related namespaces to WSDL  Importing appropriate WSRF related XML Schema  Adding Resources to WSDL  Adding Resource Properties to WSDL  Adding support to WS-Addressing  Adding Support to WS-Notification Making prototype as First Tool to test WSRF compliant WS’s. Evaluating BPELJ/ WSIF (Web Service Invocation Framework) for extending BPEL for dynamic WS selection, flow decision and data conversion.

Future Work Complete WOSE prototype with dynamic scheduling. Compare dynamic and static approaches at Cardiff and Imperial. Improve Discovery Service mechanisms. Investigate different approaches to optimisation.