Automatic Configuration of Componentbased Distributed Systems - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Automatic Configuration of Componentbased Distributed Systems

Description:

Little or no support for managing inter-component dependencies. ... Software buses (POLYLITH) Software Architecture. Architecture Description Languages ... – PowerPoint PPT presentation

Number of Views:62
Avg rating:3.0/5.0
Slides: 23
Provided by: fabi7
Category:

less

Transcript and Presenter's Notes

Title: Automatic Configuration of Componentbased Distributed Systems


1
Automatic Configuration of Component-basedDistrib
uted Systems
  • Fabio kon
  • Advisor Roy H. Campbell
  • Department of Computer Science
  • University of Illinois at Urbana-Champaign
  • http//choices.cs.uiuc.edu/fabio

2
Introduction
  • Component-based technology
  • Building complex applications from off-the-shelf
    components.
  • Recent technologies
  • Activex controls
  • Enterprise Java Beans
  • CORBA Component Model (CCM)
  • 2K Distributed (meta-)Operating System

3
Problem
  • Little or no support for managing
    inter-component dependencies.
  • Components are created by different groups w/
    different methodologies
  • Systems are not reliable.
  • Difficult to support fault-tolerance.
  • Difficult to support dynamic reconfiguration.
  • Too many components added to the system.

4
Proposed Solution
  • OS and/or middleware must manage component
    dependencies.
  • Represent component dependence explicitly.
  • Two kinds of inter-component dependence
  • Prerequisites
  • Dynamic runtime dependencies
  • Use them to support automatic configuration.

5
Prerequisites
  • What a component needs to run
  • nature of hardware resources
  • share of the hardware resources
  • software services (i.e., components) it requires
  • Video Client example
  • PC with MPEG decoding card
  • 50 of 200MHZ CPU
  • CORBA Video Service

6
Handling Prerequisitesin 2K
Prerequisite Parser
Prerequisite Resolver
7
Prerequisite Parser
  • Prerequisite can be
  • 1.Name in the 2K Implementation Repository
  • 2.Name in the CORBA Naming Service
  • 3.ServiceTypeName and Constraint for the CORBA
    Trading Service.
  • 4.Component IOR (i.e., CORBA reference)

8
Simple Prerequisite Description Format (SPDF)
  • hardware requirements
  • machine_type SPARC
  • native_os Solaris
  • min_ram 5MB
  • optimal_ram 40MB
  • min_vm 30MB
  • optimal_vm 40MB
  • software requirements
  • FileSystem IR/sys/storage/DFS1.0 (optional)
  • TCPNetworking IR/sys/networking/BSD-sockets
  • WindowManager IR/sys/WinManagers/simpleWin
  • JVM IR/interp/Java/jvm1.2 (optional)

9
Prerequisite Resolver
  • Caching Pull-based Policy
  • 1. Locate prerequisite in the local machine
  • 2. If not present, contacts Implementation
    Repository or Trader.
  • The cache is a local repository of component
    implementations and IORs.

10
Dynamic Runtime Dependence
  • Represent dynamic inter-component dependencies.
  • Created on-the-fly by the Prerequisite Resolver.
  • System and application components can inspect and
    reconfigure the Dependence Graph.

11
ComponentConfiguratorFramework
12
Dynamic Reconfiguration
13
Updating the JVM
  • int WebBrowserConfiguratoreventOnHookedComponent
  • (ComponentConfigurator cc, Event
    e)
  • if (cc JVMConfigurator)
  • if (e REPLACED)
  • try
  • FrozenObjs fo currentJVM-gtfreezeAllObjs
    ()
  • currentJVM JVMConfigurator-gtimplementation
    ()
  • currentJVM-gtmeltObjects (fo)
  • catch (Exception exp)
  • throw new ReconfigurationFailed(exp)
  • else ...

14
Application Multimedia Distribution
15
The Multimedia Reflector
  • Applications
  • Live Multimedia Streaming
  • Stored Content Streaming
  • Audio/Videoconference
  • Multiple Channels
  • Multiple input and output Connections
  • Multiple Connection types

16
Applying the Framework
  • Prerequisites
  • used to customize the components of each
    Reflector
  • Resource reservation (memory and CPU)
  • ComponentConfigurators
  • represent intra- and inter-Reflector dependencies
  • support fault-tolerance

17
Related Work(in Operating Systems)
  • SOS (prerequisites)
  • Customizable OSes
  • Choices, Exokernel
  • Microkernels
  • Mach, SPIN, MicroChoices, L4

18
Related Work(in Dynamic Configuration)
  • Previous work focuses on application
    architecture
  • Software buses (POLYLITH)
  • Software Architecture
  • Architecture Description Languages
  • We focus on dependencies
  • The OS is also component-based and adaptable
  • Dynamic (runtime) reconfiguration
  • Resource management

19
Implementation Status and Ongoing Work
  • Completed
  • ComponentConfigurator Framework.
  • local C version applied to dynamicTAO.
  • AutoConfig Service with SPDF.
  • Ongoing work
  • Caching Prerequisite Resolver.
  • Apply CORBA version to the Multimedia
    Distribution System.
  • Measure performance and space overhead.

20
What I want to show with my Thesis
  • Component technologies must pay attention to
    component dependencies.
  • Middleware-based dependence management can make
    systems
  • easier to administer
  • automatically configurable
  • more reliable
  • dynamically adaptable

21
How to contact me
  • E-mail f-kon_at_cs.uiuc.edu
  • More Information
  • 2K Web site
  • http//choices.cs.uiuc.edu/2K
  • ComponentConfigurator source code and docs
  • http//choices.cs.uiuc.edu/2k/ComponentConfigurato
    r

22
The 2K Architecture
Write a Comment
User Comments (0)
About PowerShow.com