1 4/20/98ISORC ‘98 BBN Technologies Specifying and Measuring Quality of Service in Distributed Object Systems Joseph P. Loyall, Richard E. Schantz, John.

Slides:



Advertisements
Similar presentations
COM vs. CORBA.
Advertisements

1 12/16/98DARPA Intrusion Detection PI Meeting BBN Technologies Toolkit for Creating Adaptable Distributed Applications Joe Loyall
Copyright © 2001 Qusay H. Mahmoud RMI – Remote Method Invocation Introduction What is RMI? RMI System Architecture How does RMI work? Distributed Garbage.
Common Object Request Broker Architecture (CORBA) By: Sunil Gopinath David Watkins.
CORBA - Common Object Request Broker Architecture.
1 23 March 00 APOD Review Applications that Participate in their Own Defense (APOD) Review Meeting 23 March 00 Presentation by: Franklin Webber, Ron Scott,
Seminarium on Component-based Software Engineering Jan Willem Klinkenberg CORBA.
 Introduction Originally developed by Open Software Foundation (OSF), which is now called The Open Group ( Provides a set of tools and.
Component Patterns – Architecture and Applications with EJB copyright © 2001, MATHEMA AG Component Patterns Architecture and Applications with EJB JavaForum.
Distributed components
Distributed Systems Architectures
CORBA Framework Eelements 1 CORBA Framework Elements  Object Request Broker (ORB)  This is the object manager in CORBA  Mechanisms for specifying interfaces.
1 12/10/03CCM Workshop QoS Engineering and Qoskets George Heineman Praveen Sharma Joe Loyall Richard Schantz BBN Technologies Distributed Systems Department.
CORBA Case Study By Jeffrey Oliver March March 17, 2003CORBA Case Study by J. T. Oliver2 History The CORBA (Common Object Request Broker Architecture)
1 Quality Objects: Advanced Middleware for Wide Area Distributed Applications Rick Schantz Quality Objects: Advanced Middleware for Large Scale Wide Area.
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
Distributed Service Architectures Yitao Duan 03/19/2002.
PROGRESS project: Internet-enabled monitoring and control of embedded systems (EES.5413)  Introduction Networked devices make their capabilities known.
1 8/99 IMIC Workshop 6/22/2015 New Network ServicesJohn Zinky BBN Technologies The Need for A Network Resource Status Service IMIC Workshop 1999 Boston.
Distributed Information Systems - The Client server model
1 5/4/99ISORC ‘99 BBN Technologies An Object-level Gateway Supporting Integrated Property Quality of Service Rick Schantz John Zinky, David Karr, Dave.
Object Based Operating Systems1 Learning Objectives Object Orientation and its benefits Controversy over object based operating systems Object based operating.
TENA Test and Training Enabling Architecture. TENA TENA is used in range environments, often in the L portion of LVC Slightly different emphasis; small.
12-1 © Prentice Hall, 2004 Chapter 12: Design Elements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Course Instructor: Aisha Azeem
Securing Legacy Software SoBeNet User group meeting 25/06/2004.
Software Engineering Muhammad Fahad Khan
The Design Discipline.
1 05/01/02ISORC 2002 BBN Technologies Joe Loyall Rick Schantz, Michael Atighetchi, Partha Pal Packaging Quality of Service Control Behaviors for Reuse.
Understanding the CORBA Model. What is CORBA?  The Common Object Request Broker Architecture (CORBA) allows distributed applications to interoperate.
BBN Technologies Craig Rodrigues Gary Duzan QoS Enabled Middleware: Adding QoS Management Capabilities to the CORBA Component Model Real-time CCM Meeting.
COM vs. CORBA Computer Science at Azusa Pacific University September 19, 2015 Azusa Pacific University, Azusa, CA 91702, Tel: (800) Department.
Pattern Oriented Software Architecture for Networked Objects Based on the book By Douglas Schmidt Michael Stal Hans Roehnert Frank Buschmann.
1 21 July 00 Joint PI Meeting FTN Applications that Participate in their Own Defense (APOD) BBN Technologies Franklin Webber, Ron Scott, Partha Pal, Michael.
1 Using Quality Objects (QuO) Middleware for QoS Control of Video Streams BBN Technologies Cambridge, MA Craig.
1 APOD 10/5/2015 NCA 2003Christopher Jones APOD Network Mechanisms and the APOD Red-team Experiments Chris Jones Michael Atighetchi, Partha Pal, Franklin.
MILCOM 2001 October page 1 Defense Enabling Using Advanced Middleware: An Example Franklin Webber, Partha Pal, Richard Schantz, Michael Atighetchi,
1 06/00 Questions 10/6/2015 QoS in DOS ECOOP 2000John Zinky BBN Technologies ECOOP 2000 Workshop on Quality of Service in Distributed Object Systems
Cli/Serv.: rmiCORBA/131 Client/Server Distributed Systems v Objectives –introduce rmi and CORBA , Semester 1, RMI and CORBA.
1 10/20/01DOA Application of the QuO Quality-of-Service Framework to a Distributed Video Application Distributed.
WDMS 2002 June page 1 Middleware Policies for Intrusion Tolerance QuO Franklin Webber, Partha Pal, Chris Jones, Michael Atighetchi, and Paul Rubel.
BBN Technologies a part of page 118 January 2001 Applications that Participate in their Own Defense (APOD) BBN Technologies FTN PI Meeting January.
1 APOD 10/19/2015 DOCSEC 2002Christopher Jones Defense Enabling Using QuO: Experience in Building Survivable CORBA Applications Chris Jones Partha Pal,
1 06/ /21/2015 ECOOP 2000 Workshop QoS in DOSJohn Zinky BBN Technologies Quality Objects (QuO) Middleware Framework ECOOP 2000 Workshop QoS in DOS.
2001 July page 1 Applications that Participate in their Own Defense (APOD) BBN Technologies FTN PI Meeting 2001 July 30 Franklin Webber QuO.
Abhishek Bachchan Vishal Patangia
Integrating Digital Libraries by CORBA, XML and Servlet Integrating Digital Libraries by CORBA, XML and Servlet Wing Hang Cheung, Michael R. Lyu and Kam.
1 10/23/98Lunchtime Meeting BBN Technologies Toolkit for Creating Adaptable Distributed Applications Joe Loyall, Rick Schantz, Rodrigo Vanegas, James Megquier,
1 Applying Adaptive Middleware, Modeling, and Real-Time CORBA Capabilities to Ensure End-to- End QoS Capabilities of Video Streams BBN Technologies Cambridge,
SCALABLE EVOLUTION OF HIGHLY AVAILABLE SYSTEMS BY ABHISHEK ASOKAN 8/6/2004.
1 5/30/98LCR ‘98 BBN Technologies QoS Aspect Languages and their Runtime Integration Joseph P. Loyall, David E. Bakken, Richard E. Schantz, John A. Zinky,
Distribution and components. 2 What is the problem? Enterprise computing is Large scale & complex: It supports large scale and complex organisations Spanning.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
Presented By:- Sudipta Dhara Roll Table of Content Table of Content 1.Introduction 2.How it evolved 3.Need of Middleware 4.Middleware Basic 5.Categories.
 Common Object Request Broker Architecture  An industry standard developed by OMG to help in distributed programming.
CRG talk on Tuesday, August 19, 2003 SeyedMasoud Sadjadi Software Engineering and Networking Systems Laboratory Department of.
1 BBN Technologies Quality Objects (QuO): Adaptive Management and Control Middleware for End-to-End QoS Craig Rodrigues, Joseph P. Loyall, Richard E. Schantz.
1 010/02 Aspect-Oriented Interceptors Pattern 1/4/2016 ACP4IS 2003John Zinky BBN Technologies Aspect-Oriented Interceptors Pattern Dynamic Cross-Cutting.
G.v. Bochmann, revised Jan Comm Systems Arch 1 Different system architectures Object-oriented architecture (only objects, no particular structure)
Middleware for Fault Tolerant Applications Lihua Xu and Sheng Liu Jun, 05, 2003.
CEN6502, Spring Understanding the ORB: Client Side Structure of ORB (fig 4.1) Client requests may be passed to ORB via either SII or DII SII decide.
Creating Telecommunication Services based on Object- Oriented Frameworks and SDL Dr Richard Sinnott GMD Fokus Berlin, Germany.
Joe Loyall, Rick Schantz, Gary Duzan
Common Object Request Broker Architecture (CORBA)
Middleware Policies for Intrusion Tolerance
CORBA Alegria Baquero.
Knowledge Byte In this section, you will learn about:
Middleware in Context Prof. Dave Bakken Cpt. S 464/564 Lecture
CORBA Alegria Baquero.
Inventory of Distributed Computing Concepts
Presentation transcript:

1 4/20/98ISORC ‘98 BBN Technologies Specifying and Measuring Quality of Service in Distributed Object Systems Joseph P. Loyall, Richard E. Schantz, John A. Zinky, David E. Bakken BBN Technologies Cambridge, Massachusetts, USA ISORC ‘98 April 20-22, 1998 Kyoto, Japan

2 4/20/98ISORC ‘98 BBN Technologies Many distributed systems have critical QoS requirements, e.g., real-time performance, fault tolerance, or dependability

3 4/20/98ISORC ‘98 BBN Technologies Distributed object middleware has emerged to solve heterogeneity and distribution problems Middleware makes programming distributed applications easier Standard programming interfaces hide platform and system dependencies Standard protocols, e.g., message formats, allow applications on different systems to interoperate Middleware provides higher level, application oriented programming building blocks Host 2 Impl Host 1 Impl Applications Host 2 Simulation Distributed Object Middleware Impl IDL Collaborative Planning IDL Hosts/Systems Workflow

4 4/20/98ISORC ‘98 BBN Technologies Wide-area distributed applications are (still) hard to build and maintain Current object-oriented middleware is not sufficiently transparent with respect to real-time, fault tolerance, and other non-functional issues, and does not sufficiently accommodate adaptive behavior WANs are unpredictable, dynamic environments Configuration for application changes over time Performance and system properties are buried under IDL’s functional interface, so one can’t easily help application adapt to changing environment reuse code for a new environment Programmers end up programming around the middleware to achieve real-time performance, predictability, security, etc. Host1 Client1 Host2 Client2 Host4 Client3 Object Resource Constrained Wide Area Network LAN Host3 Client4

5 4/20/98ISORC ‘98 BBN Technologies Distributed object middleware with QoS extensions is a powerful abstraction layer on which to build applications Ethernet TCP/IP QoS ATM RSVP Multicast Collaborative Planning WorkFlow Simulation Applications for geographically dispersed, heterogeneous environments Distributed objects are the first abstraction layer that unifies CPU, storage, and communications This interface needs to be hidden from applications It is too complicated It is changing too quickly CORBA + QuO

6 4/20/98ISORC ‘98 BBN Technologies Simple QuO example application Java Applet Client NextImage() Image Server Contract System Condition System Condition QuO Gateway IIOP Image Store Demo application displays a sequence of images retrieved from a remote CORBA image server object –Communication between client applet and image server object enhanced by QuO- supported mechanisms –Use DIRM module for assured bandwidth version –Use AQuA module to replicate image server

7 4/20/98ISORC ‘98 BBN Technologies System condition objects monitor QoS in the system system condition objects recognize changes in the system and notify the contracts that observe them QuO contracts notify client programs, users, managers, and other system condition objects through transition behavior System Condition Objects QuO applications specify, control, monitor, and adapt to QoS in the system Application Alternate Implementations Contract (operating regions) Servers Network ORB Replication Mgr Resource Reservation Manager IDS Specification of operating regions, alternate implementations, and adaptation strategies using QuO’s QDL Multiple layers of adaptation managers and mechanisms can adapt to changes in the system QuO contracts provide another layer of adaptation Client and user can also adapt Mechanisms and managers control QoS in the system a layer below QuO that provides ORB-level services, such as managed communi- cation, replication, or security contracts and delegates interface to these services through system condition objects

8 4/20/98ISORC ‘98 BBN Technologies The QuO designer provides contracts, system condition objects, and delegates in the application Contracts summarize the possible states of QoS in the system and behavior to trigger when QoS changes –Regions can be nested, representing different epochs at which QoS information becomes available, e.g., negotiated regions represent the levels of service a client expects to receive and a server expects to provide, while reality regions represent observed levels of service –Regions are defined by predicates over system condition objects –Transitions specify behavior to trigger when the active regions change System condition objects are used to measure and control QoS –Provide interfaces to system resources, client and object expectations, mechanisms, managers, and specialized ORB functions –Changes in system condition objects observed by contracts can cause region transitions –Methods on system condition objects can be used to access QoS controls provided by resources, mechanisms, managers, and ORBs Delegates provide local state for remote objects –Upon method call/return, delegate can check the current contract state and choose behavior based upon the current state of QoS –For example, delegate can choose between alternate methods, alternate remote object bindings, perform local processing of data, or simply pass the method call or return through

9 4/20/98ISORC ‘98 BBN Technologies QuO Adds QoS Control and Measurement into the DOC Remote Method Call ClientNetworkServer Application Developer Qosketeer Mechanism Developer Logical Method Call Client Delegate ORB Proxy Specialized ORB Contract SysCond Object Delegate ORB Proxy Specialized ORB Contract SysCond Network Mechanism/Property Manager

10 4/20/98ISORC ‘98 BBN Technologies Major Components of the QuO Framework Quality Description Languages (QDL) –Analogous to CORBA’s Interface Description Language (IDL) –Support the specification of QoS contracts delegates and their adaptive behaviors connection, creation, and initialization of QuO application components –QuO includes code generators that parse QDL descriptions and generates Java and C++ code for contracts, delegates, creation, and initialization QuO Runtime Kernel –Contract evaluator –Factory object which instantiates contract and system condition objects System Condition Objects –Implemented as CORBA objects –We have a growing library of system condition objects for reuse

11 4/20/98ISORC ‘98 BBN Technologies QuO Architecture  Big Picture System Conditions QuO Runtime System (Java) Application (C++ or Java) Functional Delegate (C++ or Java) premethod postmethod set client expectation ORB set object expectation system event Contract

12 4/20/98ISORC ‘98 BBN Technologies QuO runtime implementation The QuO kernel is written in Java and consists of a contract evaluator and a factory object that instantiates contract objects and system condition objects when they are needed Contract classes are Java code generated from CDL code System condition objects are CORBA objects, interface in IDL, implementation in Java, although the implementation could be written in another language Delegate objects are generated from CDL, SDL, and IDL code; delegates are generated in both Java and C++ Client code replaces its bind to the remote object with a connect call, the delegate makes the bind call

13 4/20/98ISORC ‘98 BBN Technologies Client Client Code Reference Delegate Proxy Connect Callback Factory QuO Kernel Syscond ORB Contract Network ControlManager QuO Kernel Contract SC ORB Proxy Object 1) Client calls delegate 2) Delegate evaluates contract 3) Measurement system conditions are signaled 4) Contract snapshots value of system conditions 5) Contract is re-evaluated 6) Region transitions trigger callbacks 7) Current region is returned 8) If QoS is acceptable, delegate passes the call to the remote object 9) Remote object returns value 10) Contract is re-evaluated... 11) Return value given to client Del. 9 Client calls delegate, which triggers contract evaluation and chooses behavior based upon current regions

14 4/20/98ISORC ‘98 BBN Technologies QuO’s Quality Description Languages (QDL) Contract Description Language (CDL) –expected regions of QoS –reality regions of QoS –transitions for adapting to changing levels of service Structure Description Language (SDL) –behavior alternatives for remote objects and their delegates –alternate bindings and connection strategies Resource Description Language (RDL) –available system resources and their status Implementation CDLSDLRDL QDL IDL QDL + IDL Compiler QuO application QuO Runtime ORB

15 4/20/98ISORC ‘98 BBN Technologies Measured capacity >= 10 As_expected: Insufficient_resources: Measured capacity < 10 Contracts summarize system conditions into negotiated and reality regions and define transitions between them Negotiated regions represent the expected behavior of client and server objects, and reality regions represent observed system behaviors Predicates using system condition objects determine which regions are valid Transitions occur when a region becomes invalid and another becomes valid Transitions might trigger adaptation by the client, object, ORB, or system Normal: Expected capacity >= 10 Degraded: Expected capacity < 10 Expected capacity >= 2 As_expected: Extra_resources: Measured capacity < 10 Measured capacity >= 2 Measured capacity < 2 Insufficient_resources: Measured capacity >= 10 Unusable: Expected capacity < 2 As_expected: Extra_resources: Measured capacity < 2 Measured capacity >= 2 = Expected Region = Reality Region

16 4/20/98ISORC ‘98 BBN Technologies typedef sequence LongSeq; interface Targeting {. long calculate_distance_to_target(in long xcoord, in long ycoord); LongSeq calculate_distance_to_target_multicast(in long xcoord, in long ycoord); }; Quality Description Languages for Specifying Operating Regions and Adaptive Behaviors CORBA IDL Code Generator Code Generator CDL contract Replication( object client, object server ) is... negotiated regions are region Low_Cost :... region Available : when client.expectations.requested > 1 => reality regions are region Too_Low : when measured region Normal : when measured > 1 => transitions are transition any->Too_Low : client.callbacks.availability_degraded(); transition any->Normal : client.callbacks.availability_back_to_normal();... transitions are... end Replication; delegate behavior for Targeting and repl_contract is call calculate_distance_to_target : region Available.Normal : { ret_array = remoteObj->calculate_distance_to_target_multicast(xcoord, ycoord); } region Available.TooLow : // possible intrusion; be careful return calculate_distance_to_target : region Available.Normal : { retval = ret_array[0]; } default : pass_through end delegate behavior; SDL QoS Adaptive Application QoS Adaptive Application

17 4/20/98ISORC ‘98 BBN Technologies CDL contract to control resource reservation

18 4/20/98ISORC ‘98 BBN Technologies SDL describes a delegate’s adaptive behavior: pass a method call through, call an alternate method, or perform local functionality delegate behavior for ImageServer and ManagedCommunication is call nextImage : region CriticalMode.ReservationAvailable.ReservationUp : pass_through region CriticalMode.ReservationAvailable.ReservationDown : region CriticalMode.NoReservation : { // rendering the image is likely to fail because we don't // necessarily have the bandwidth needed, so don't perform // remote method call throw RenderFailedException; } region NormalMode : pass_through default : pass_through end delegate behavior; This is written in SDL prototype version 0.1 SDL is still under development; the next versions will include multi-language support, choosing between remote objects, and connection strategies

19 4/20/98ISORC ‘98 BBN Technologies Status of QuO QuO version 0.6 (internal release only) done, including the QuO kernel, code generators for CDL and an initial version of SDL, and a small library of system condition objects Currently working on two prototype applications of QuO –AQuA, which addresses availability through object replication –DIRM, which addresses managed communication through resource reservation Continuing development of the QuO framework –Multiple contracts, layering of delegates, contracts on the client and the server side –SDL development, including binding/rebinding strategies and connection/initialization descriptions –More example applications, libraries of system condition objects