Download presentation
Presentation is loading. Please wait.
Published byKatherine Ball Modified over 9 years ago
1
CRG talk on Tuesday, August 19, 2003 SeyedMasoud Sadjadi www.cse.msu.edu/~sadjadis Software Engineering and Networking Systems Laboratory Department of Computer Science and Engineering Michigan State University www.cse.msu.edu/sens ACT: Adaptive CORBA Template
2
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 2 Agenda Motivation Background ACT ACT + QuO Example Pervasive Computing ACT Background Motivation ACT + QuO ExampleOverview: PerCom Conclusion
3
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 3 Motivation Problem –Distributed applications comprise autonomous programs typically hosted on heterogeneous platforms and distributed over heterogeneous networks. –Traditional middleware such as CORBA masks the distribution of resources across a network and hide differences among computing platforms and networks. –Adaptive middleware provides acceptable quality-of- service, security, fault-tolerance, and so on over different underlying technologies. –However, adding new adaptive functionality to an extant application is complicated when: – The source code of the application is unavailable. – The source code is available but modifying it directly is undesirable. – The application is required to run continuously and cannot be easily taken off-line for upgrade. ACT Background Motivation ACT + QuO ExampleOverview: PerCom Conclusion
4
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 4 Middleware Layers –Domain-Services Tailored to a specific class of distributed applications –Common-Services Functionality such as fault tolerance, security, load balancing and transactions –Distribution Programming-language abstraction –Host-Infrastructure Platform-abstraction Schmidt [8] decomposed middleware into four layers: Schmidt’s Middleware layers [2] Note: an adaptive middleware project may fall in more than one layer. Middleware Layers Applications Domain-Specific Middleware Services Common Middleware Services Distribution Middleware Host-Infrastructure Middleware Operating Systems and Protocols Hardware Devices System Platform Motivation BackgroundOverview: Layers CORBA ACT ACT + QuO Example PerCom Conclusion Interceptors
5
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 5 CORBA CORBA –Common Object Request Broker Architecture. –A distributed object framework by OMG. –Supports distributed object-oriented computing across heterogeneous hardware devices, operating systems, network protocols, and programming languages. Components Object Servant Client IDL Compiler Stub Skeleton ORB Core GIOP/IIOP CORBA architecture [3]. Motivation BackgroundOverview: CORBA Layers ACT ACT + QuO Example PerCom Conclusion Interceptors
6
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 6 CORBA Portable Interceptors CORBA Request Portable Interceptors Applications Client request flow Client Application Client ORB Servant Server Application reply flow Domain-Services Common-Services Distribution Host-Infrastructure System Platform Client-Request Interceptor Server ORB Server-Request Interceptor Network StubSkeleton Motivation BackgroundOverview: Interceptors CORBA ACT ACT + QuO Example PerCom Conclusion Layers
7
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 7 Agenda ACT Background Motivation ACT + QuO Example Pervasive Computing Motivation Background ACT ACT + QuO ExampleOverview: PerCom Conclusion
8
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 8 Adaptive CORBA Template (ACT) ACT features –supports “unanticipated” adaptation in CORBA applications. –enables dynamic improvements to CORBA applications in response to changes in their functional requirements or in non-functional concerns, such as quality-of-service, fault-tolerance, and security. –provides a generic model for constructing and enhancing adaptive CORBA frameworks. Extended QuO FrameworkAdaptive CORBA C++ Framework Adaptive CORBA Java Framework Adaptive CORBA Template Motivation Background ACT ACT + QuO ExampleOverview: PerCom Conclusion Features Architecture Core Interaction
9
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 9 ACT Architecture The flow of a request/reply in an ACT-ready application Applications Client Client Application Servant Server Application Domain-Services Common-Services Distribution Host-Infrastructure System Platform Network Client GI Client ORB Server GI Server ORB Client ACT CoreServer ACT Core request flowreply flow GI: generic interceptor Motivation Background ACT ACT + QuO ExampleOverview: PerCom Conclusion Architecture Features Core Interaction
10
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 10 ACT Core Components The flow of a request/reply in ACT core components Client ORB Dynamic Interceptors Client ACT Core Rule-Based Interceptor Proxy Decision Maker Event Mediator Client Generic Interceptor request flow to/from the host-infra. middleware reply flow to/from the common-services middleware Motivation Background ACT ACT + QuO ExampleOverview: PerCom Conclusion Core Architecture Features Interaction
11
ClientClient ORBClient GIClient RBIProxyDMEMServer ORB #1 request()#2 intercepting the request#3 intercepting the request #4 raising ForwardRequest exception#5 raising ForwardRequest exception #6 modifying the request target #7 intercepting the request#8 intercepting the request #9 no exception is raised#10 no exception is raised #11 forwarding the request to the proxy #16 forwarding the modified request or a new request to the original application CORBA object #17 intercepting the modified request#18 intercepting the modified request #19 no exception is raised#20 no exception is raised #15 return#14 return #12 consult#13 event #21 sending the modified request to the Server Application #22 sending the reply to the modified request back to the Client Application #23 intercepting the reply#24 intercepting the reply #25 no exception is raised#26 no exception is raised #27 sending the reply to the modified request back to the proxy #32 sending the modified reply to the request back to the client#31 return#30 return #28 consult#29 event #33 intercepting the modified reply#34 intercepting the modified reply #35 no exception is raised#36 no exception is raised#37 return reply request message return message (reply or exception)
12
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 12 Agenda ACT + QuO Background Motivation ACT Example Pervasive Computing Motivation Background ACT + QuO ACT ExampleOverview: PerCom Conclusion
13
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 13 Quality Objects (QuO) Background The flow of a request/reply in a typical QuO application Contract Client ORBServer ORB Applications Client request flow Client Application Servant Server Application reply flow Domain-Services Common-Services Distribution Host-Infrastructure System Platform Network Client Wrapper Server Wrapper Client QuO CoreServer QuO Core ContractSCs SCs: sytem conditions SCs Motivation Background ACT + QuO ACT ExampleOverview: PerCom Conclusion QuO Background ACT + QuO
14
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 14 Coupling ACT with QuO The flow of a request/reply in extended QuO framework Motivation Background ACT + QuO ACT ExampleOverview: PerCom Conclusion ACT + QuO QuO Background
15
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 15 Agenda Example Background Motivation ACT ACT + QuO Pervasive Computing Motivation Background Example ACT ACT + QuOOverview: PerCom Conclusion
16
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 16 Case Study: A Surveillance App A large image taken from a laboratory for surveillance Motivation Background Example ACT ACT + QuOOverview: PerCom Conclusion Introduction ACT Utilities QuO Adaptation ACT + QuO Evaluation
17
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 17 Surveillance Application (1) Using QuO “UserAdapt” qosket for dynamic adaptation Motivation Background Example ACT ACT + QuOOverview: PerCom Conclusion QuO Adaptation ACT Utilities Introduction ACT + QuO Evaluation
18
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 18 Surveillance Application (2) Choosing small images to save some bandwidth Motivation Background Example ACT ACT + QuOOverview: PerCom Conclusion QuO Adaptation ACT Utilities Introduction ACT + QuO Evaluation
19
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 19 Surveillance Application (3) Motivation Background Example ACT ACT + QuOOverview: PerCom Conclusion ACT Utilities QuO Adaptation Introduction ACT + QuO Evaluation
20
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 20 Surveillance Application (4) Dynamic weaving of “UserAdaptFrameRate” qosket Motivation Background Example ACT ACT + QuOOverview: PerCom Conclusion ACT + QuO ACT Utilities Introduction QuO Adaptation Evaluation
21
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 21 Surveillance Application (5) Choosing slow frame rate using the new qosket Motivation Background Example ACT ACT + QuOOverview: PerCom Conclusion ACT + QuO ACT Utilities Introduction QuO Adaptation Evaluation
22
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 22 ACT + QuO Evaluation Evaluating the ACT overhead –Small overhead –Negligible Motivation Background Example ACT ACT + QuOOverview: PerCom Conclusion Evaluation ACT Utilities Introduction QuO Adaptation ACT + QuO
23
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 23 ACT + QuO Evaluation The frame rate in the surveillance application –At point 60, a one time delay is introduced for loading ACT core component and making the application ACT-ready. –The overhead introduced by ACT is negligible Motivation Background Example ACT ACT + QuOOverview: PerCom Conclusion Evaluation ACT Utilities Introduction QuO Adaptation ACT + QuO
24
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 24 Agenda Pervasive Computing Background Motivation ACT ACT + QuO Example Motivation Background PerCom ACT ACT + QuOOverview: Example Conclusion
25
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 25 Pervasive Computing Motivation –Using extant CORBA application in pervasive computing transparently. Challenges –Transparent Hand-off Using active/passive application replication Requires generic proxies –Heterogeneous devices and networks Small devices Wireless networks Mobile computing –Extended period of disconnection –IP changes –Application specific unanticipated adaptation Such as the surveillance application Motivation Background PerCom ACT ACT + QuOOverview: Example Conclusion Motivation Discussion ACT Solution
26
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 26 ACT Solution for PerCom ACT for PerCom Motivation Background PerCom ACT ACT + QuOOverview: Example Conclusion ACT Solution Discussion Motivation Client ORB Dynamic Interceptors Client ACT Core Rule-Based Interceptor Generic Proxy Decision Maker Event Mediator Client Generic Interceptor request flow to/from the host-infra. middleware reply flow to/from the common-services middleware DSIDII Log –Generic proxy –DSI & DII –Logging –Active/ passive replica consistency –Async. method invocation –Time out –Heartbeat –Dynamic weaving of qoskets
27
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 27 Discussion How do you evaluate this approach to support pervasive computing? Motivation Background PerCom ACT ACT + QuOOverview: Example Conclusion Discussion Motivation ACT Solution
28
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 28 Conclusion ACT supports unanticipated adaptation in CORBA application transparently. ACT can be used to construct adaptive CORBA frameworks. ACT can be used to enhance existing adaptive CORBA frameworks. ACT can be used to enable or improve the interoperability among different adaptive middleware approaches. The overhead introduced by ACT is negligible. Motivation Background Conclusion ACT ACT + QuOOverview: Example PerCom
29
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 29 References [1] S. M. Sadjadi and P. K. McKinley. Act: An adaptive corba template to support unanticipated adaptation. Technical Report MSU-CSE-03-22, Department of Computer Science, Michigan State University, East Lansing, Michigan, August 2003. [2] Douglas C. Schmidt. Middleware for real-time and embedded systems. Communications of the ACM, 45(6), June 2002. [3] http://www.cs.wustl.edu/~schmidt/corba-overview.html. [4] John A. Zinky, David E. Bakken, and Richard E. Schantz. Architectural support for quality of service for CORBA objects. Theory and Practice of Object Systems, 3(1), 1997. [5] Victor C. Zandy and Barton P. Miller. Reliable network connections. In ACM MobiCom 2002, Atlanta, September 2002. [6] C. Marchetti, L. Verde, and R. Baldoni. CORBA request portable interceptors: A performance analysis. In the 3nd International Symposium on Distributed Objects and Applications (DOA 2001), Rome, Italy, Sept. 2001. [7] L. Moser, P. Melliar-Smith, P. Narasimhan, L. Tewksbury, and V. Kalogeraki. The eternal system: an architecture for enterprise applications. In the 3rd International Enterprise Distributed Object Computing Conference (EDOC'99), July 1999. Motivation Background ACT ACT + QuOOverview: Example PerCom Conclusion
30
CRG presentation on Aug. 19, 2003ACT: Adaptive CORBA Template by S. M. Sadjadi 30 Questions? Thank you! Motivation Background ACT ACT + QuOOverview: Example PerCom Conclusion
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.