Distributed Handler Architecture (DHArch) Beytullah Yildiz Advisor: Prof. Geoffrey C. Fox.

Slides:



Advertisements
Similar presentations
REST Introduction 吴海生 博克软件(杭州)有限公司.
Advertisements

Web Service Handler Architecture Beytullah Yildiz
Database Architectures and the Web
1 GridTorrent Framework: A High-performance Data Transfer and Data Sharing Framework for Scientific Computing.
The TickerTAIP Parallel RAID Architecture P. Cao, S. B. Lim S. Venkatraman, J. Wilkes HP Labs.
BiodiversityWorld GRID Workshop NeSC, Edinburgh – 30 June and 1 July 2005 Resource wrappers, web services, grid services Jaspreet Singh School of Computer.
TAC Vista Security. Target  TAC Vista & Security Integration  Key customer groups –Existing TAC Vista users Provide features and hardware for security.
Management Framework for Amazon EC2 Speaker: Frank Bitzer
SEDA: An Architecture for Well-Conditioned, Scalable Internet Services Matt Welsh, David Culler, and Eric Brewer Computer Science Division University of.
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
Gaia Context and Location-Aware Encryption for Pervasive Computing Environments Jalal Al-MuhtadiRaquel Hill Roy Campbell Dennis Mickunas University of.
A Mobile Agent Infrastructure for QoS Negotiation of Adaptive Distributed Applications Roberto Speicys Cardoso & Fabio Kon University of São Paulo – USP.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 17 Client-Server Processing, Parallel Database Processing,
DISTRIBUTED COMPUTING
Course Instructor: Aisha Azeem
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 1.
Design and Implementation of a Single System Image Operating System for High Performance Computing on Clusters Christine MORIN PARIS project-team, IRISA/INRIA.
Client/Server Architectures
1 A Framework for Network Monitoring and Performance Based Routing in Distributed Middleware Systems Gurhan Gunduz Advisor: Professor.
SOA, BPM, BPEL, jBPM.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
SEDA: An Architecture for Well-Conditioned, Scalable Internet Services
Institute of Computer and Communication Network Engineering OFC/NFOEC, 6-10 March 2011, Los Angeles, CA Lessons Learned From Implementing a Path Computation.
Version 4.0. Objectives Describe how networks impact our daily lives. Describe the role of data networking in the human network. Identify the key components.
Managing Service Metadata as Context The 2005 Istanbul International Computational Science & Engineering Conference (ICCSE2005) Mehmet S. Aktas
An Introduction to Software Architecture
Pattern Oriented Software Architecture for Networked Objects Based on the book By Douglas Schmidt Michael Stal Hans Roehnert Frank Buschmann.
Architecting Web Services Unit – II – PART - III.
Integrated Collaborative Information Systems Ahmet E. Topcu Advisor: Prof Dr. Geoffrey Fox 1.
A performance evaluation approach openModeller: A Framework for species distribution Modelling.
OOI CI LCA REVIEW August 2010 Ocean Observatories Initiative OOI Cyberinfrastructure Architecture Overview Michael Meisinger Life Cycle Architecture Review.
How to create DNS rule that allow internal network clients DNS access Right click on Firewall Policy ->New- >Access Rule Right click on Firewall.
Service Oriented Architectures Presentation By: Clifton Sweeney November 3 rd 2008.
Event-Based Hybrid Consistency Framework (EBHCF) for Distributed Annotation Records Ahmet Fatih Mustacoglu Advisor: Prof. Geoffrey.
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
Modeling Component-based Software Systems with UML 2.0 George T. Edwards Jaiganesh Balasubramanian Arvind S. Krishna Vanderbilt University Nashville, TN.
 Apache Airavata Architecture Overview Shameera Rathnayaka Graduate Assistant Science Gateways Group Indiana University 07/27/2015.
Lecture 6: Sun: 8/5/1435 Distributed Applications Lecturer/ Kawther Abas CS- 492 : Distributed system & Parallel Processing.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 13. Review Shared Data Software Architectures – Black board Style architecture.
A Software Framework for Distributed Services Michael M. McKerns and Michael A.G. Aivazis California Institute of Technology, Pasadena, CA Introduction.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
DynamicMR: A Dynamic Slot Allocation Optimization Framework for MapReduce Clusters Nanyang Technological University Shanjiang Tang, Bu-Sung Lee, Bingsheng.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
AMQP, Message Broker Babu Ram Dawadi. overview Why MOM architecture? Messaging broker like RabbitMQ in brief RabbitMQ AMQP – What is it ?
Distributed Handler Architecture (DHArch) Beytullah Yildiz Advisor: Prof. Geoffrey C. Fox.
25 April Unified Cryptologic Architecture: A Framework for a Service Based Architecture Unified Cryptologic Architecture: A Framework for a Service.
Distributed Handler Architecture Beytullah Yildiz
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 4: Threads.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Programming Multi-Core Processors based Embedded Systems A Hands-On Experience on Cavium Octeon based Platforms Lab Exercises: Lab 1 (Performance measurement)
Cluster computing. 1.What is cluster computing? 2.Need of cluster computing. 3.Architecture 4.Applications of cluster computing 5.Advantages of cluster.
Distributed Handler Architecture (DHArch) Beytullah Yildiz Advisor: Prof. Geoffrey C. Fox.
Online Software November 10, 2009 Infrastructure Overview Luciano Orsini, Roland Moser Invited Talk at SuperB ETD-Online Status Review.
Representational State Transfer COMP6017 Topics on Web Services Dr Nicholas Gibbins –
A Web Based Job Submission System for a Physics Computing Cluster David Jones IOP Particle Physics 2004 Birmingham 1.
Service Oriented Architecture (SOA) Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Optimizing Distributed Actor Systems for Dynamic Interactive Services
Self Healing and Dynamic Construction Framework:
Hadoop Clusters Tess Fulkerson.
Objective Understand the concepts of modern operating systems by investigating the most popular operating system in the current and future market Provide.
Software models - Software Architecture Design Patterns
Multithreaded Programming
Presented by: Francisco Martin-Recuerda
Experiences in Deploying Services within the Axis Container
GridTorrent Framework: A High-performance Data Transfer and Data Sharing Framework for Scientific Computing.
Qualifying Exam Jaliya Ekanayake.
Objective Understand the concepts of modern operating systems by investigating the most popular operating system in the current and future market Provide.
Presentation transcript:

Distributed Handler Architecture (DHArch) Beytullah Yildiz Advisor: Prof. Geoffrey C. Fox

Outline Web Service handler concept Motivations and research issues Distributed Handler Architecture (DHArch) Measurements Contributions and Future works 2

Web Service Handler I Additive functionality to Web Services Called as either handler or filter Supports more modular architecture; separation of tasks Processes SOAP header and body Incrementally adds new capability to Web Service endpoint Many handlers can get together to build a chain 3

Web Service Handler II Conventional handler structures – JAX-RPC – Apache Axis – Web Service Enhancement (WSE) Utilized in request and response path Leveraged by client and service From user point of view, one of two main computing components of Web Services 4

Handler Examples Security, reliability, logging, monitoring, compression and so on Mediators; especially between WS-specs i.e WS-Reliability and WS-Reliable Messaging WS- specifications 5 SpecificationStandard byImplemented by WS-ReliabilityOASISCGL WS-Reliable MessagingMicrosoft, IBM,…CGL, Apache WS-AddressingMicrosoft, IBM,…Apache WS-SecurityOASISApache WS-EventingMicrosoft, IBM,…CGL WS-NotificationOASISApache WS-Resource FrameworkOASISApache

Motivations Web Services utilizing too many handlers – Fat services A handler causing Bottleneck – convoy effect Benefits for reusability – a handler utilized by many Web Services – a handler exploited by both client and service 6

Motivating Scenario Too many handlers The cost of the sequential handler execution : A bottleneck handler 7

Research Issues I Performance – the benefits and costs of distributing handlers Scalability – throughput – the number of handlers for deployment Parallelism – Handler parallelism – Pipelining for the messages Flexibility and Extensibility – interoperable with other SOAP processing engine – easily deployable and removable handler mechanism 8

Research Issues II Orchestration – Efficient and effective handler orchestration Messaging for the distributed handlers – the way of distribution – task distribution – advantages and disadvantages Principles for distributing a handler – conditions and requirements – handler profile 9

Distributed Handler Architecture (DHArch) 10

Communication Manager Manages internal messaging Utilizes a MOM, NaradaBrokering – Publish/Subscribe paradigm – Queuing regulates message flow – Asynchronous messaging – Guaranteed message delivery – Fast and efficient – Scales very well Utilizes XML based messaging for the handlers 11

12 Communication Manager

Messaging Format Serialization of message context on the wire Extensible and flexible Consists of three main parts: – ID 128 bit UUID generated key – Properties Conveys the necessary properties to the handler – Payload Carries relevant SOAP messages d6dc-0b0e-4aaa-95ff-2e758722a959 false true ………

Distributed Handler Architecture (DHArch) 14

Highlights of the Execution Two-level orchestration prevents the orchestration engine from becoming too complex. DHArch utilizes two context objects: – Interacting Web Service container context – Distributed Handler Message Context (DHMContext) Queues are leveraged to regulate the message flow. Caching expedites the message processing by decreasing the access time. Pipelining for the message execution is used. The execution can be prioritized. 15

Gateway Interface between DHArch and A Web Service Container Provides extensibility Facilitates interoperation with other SOAP processing engines A gateway needs to be deployed for SOAP processing engine that need to be interoperate with. 16

Two-level Orchestration 17 Separation of the flow directives and corresponding execution The directives comprise four basic constructs: sequential parallel looping conditional Engine manages two execution styles: – sequential – parallel

Distributed Handler Message Context Keeps necessary information about a message to carry out the execution A unique context associated with each message. The orchestration structure is maintained within the context. Encapsulates the message orchestration structures handler related parameters parameters associated with the stages 18

19

Message traversal in the stages A message travels from stage to stage. Every handler orchestration contains at least one stage. Every stage contains at least one handler. Within a stage, handlers executed parallel. A message cannot exit a stage without completion of the execution of its constituent handlers. 20

Benchmark I- Performance I Handler ACPU Bound Handler BCPU Bound Handler CIO Bound Handler DIO Bound Handler ECPU/IO Configurations 1.Apache Axis sequential 2.DHArch Sequential Stage 1A, C Stage 2B,D Stage 3E Stage 1A, B Stage 2C,D Stage 3E Stage 1A,B,C,D Stage 2E The goal is to measure the performance for a single request. Every measurement is observed 100 times. Five handlers are utilized. Six configurations are created. Machines Fedora Core release 1 (Yarrow) Intel(R) Xeon(TM) CPU running on 2.40GHz 2GB memory Located on Local Area Network Stage 1A,B,C,D, E

Benchmark I- Performance II 22

Benchmark II- Overhead I The goal is to measure the overhead related to the distribution of a single handler. In every step, measurements are observed 100 times. Environment Sun Fire V880 operating Solaris 9 with 16 GB Memory, Equipped with 8 UltraSPARC III processors operating at 1200 MHz Located in Indianapolis 23

Benchmark II-Overhead II 24 The formula : Overhead = (T dharch – T axis ) / N Where T dharch is elapsed time in DHArch T axis is elapsed time in Axis N is the number of handlers

Benchmark III- Scalability I The goal is to measure throughput and the execution time while the message rate increases. The system: 2 Quad-core Intel Xeon processors running at 2.33 GHz Operating Red Hat Enterprise Linux ES release 4 (Nahant Update 4) 8GB physical memory 25

Benchmark III- Scalability II 26  Apache Axis utilizes single machine  DHArch utilizes multiple machines

Benchmark IV-WSRF and WS-Eventing I 27 The goal is to show the deployment of the well-known WS-specifications in DHArch. – WS-Eventing (CGL) – WS-Resource Framework (Apache) A sensor stateful resource and relevant events are created. Gridfarm cluster are utilized: Fedora Core release 1 (Yarrow) Intel(R) Xeon(TM) CPU running on 2.40GHz 2GB memory Located on Local Area Network

Benchmark IV- II 28

Contributions System research A distributed handler architecture Efficient, scalable, modular and transparent Concurrent handler execution Pipelining for the message execution Two-level orchestration for the distributed handlers Queuing to regulate flows Message based handler sequence Comprehensive benchmarks to evaluate the handler distribution for Web Services System software A prototype: DHArch WS-Eventing and WSRF deployment 29

Future Works Distributed Web Service Container An agent that finds the best orchestration configuration for the distributed handler execution Utilizing the tools and applications to analyze the orchestration 30