Design Patterns for Developing and Using Real-Time CORBA Object Request Brokers

Total Page:16

File Type:pdf, Size:1020Kb

Design Patterns for Developing and Using Real-Time CORBA Object Request Brokers Design Patterns for Developing and Using Real-time CORBA Object Request Brokers Douglas C. Schmidt [email protected] Washington University, St. Louis www.cs.wustl.edu/schmidt/TAO4.ps.gz Sp onsors Bellcore, Bo eing, CDI, DARPA, Ko dak, Lucent, Motorola, NSF, OTI, SAIC, Siemens SCR, Siemens MED, Siemens ZT, and Sprint High-p erformance, Real-time ORBs Douglas C. Schmidt Motivation: the Distributed Software Crisis Symptoms DX IMAGE STORE { Hardware gets smaller, faster, cheap er ATM LAN { Software gets larger, slower, DIAGNOSTIC re exp ensive STATIONS mo Culprits ATM MAN Accidental and inherent CLUSTER { ATM IMAGE y LAN STORE complexit Solutions MODALITIES CENTRAL Middleware, frameworks, (CT, MR, CR) IMAGE { STORE and patterns comp onents, 1 y, St. Louis Universit Washington Douglas C. Schmidt High-p erformance, Real-time ORBs Sources of Complexity for Distributed Applications PRINTER Inherent complexity COMPUTER { Latency FILE Reliability CD ROM SYSTEM { { Partitioning (1) STAND-ALONE APPLICATION ARCHITECTURE { Ordering TIME NAME SERVICE CYCLE Accidental Complexity SERVICE SERVICE DISPLAY SERVICE { Low-level APIs FI LE Poor debugging to ols NETWORK SERVICE { Algorithmic PRINT { SERVICE CD ROM decomp osition Continuous re-invention PRINTER FILE SYSTEM { (2) DISTRIBUTED APPLICATION ARCHITECTURE 2 Washington University, St. Louis High-p erformance, Real-time ORBs Douglas C. Schmidt Techniques for Improving Software Quality and Pro ductivity Proven solutions APPLICATION NETWORKING Comp onents SPECIFIC { LOGIC INVOKES MATH ADTS Self-contained, \pluggable" EVENT USER DATA ADTs LOOP INTERFACE BASE { Frameworks (A) CLASS LIBRARY Reusable, \semi-complete" ARCHITECTURE applications NETWORKING USER Patterns MATH { INTERFACE Problem/solution pairs in a APPLICATION CALL INVOKES SPECIFIC BACKS LOGIC EVENT context LOOP Architecture S { ADT DATABASE Families of related patterns (B) APPLICATION FRAMEWORK ARCHITECTURE and comp onents 3 y, St. Louis Universit Washington Douglas C. Schmidt High-p erformance, Real-time ORBs Motivation for Real-time Middleware Many applications require TRACKING SATELLITES STATION guarantees PEERS QoS { e.g., telecom, avionics, WWW STATUS INFO Existing middleware do esn't WIDE AREA rt QoS e ectively NETWORK supp o COMMANDS BULK DATA TRANSFER { e.g., CORBA, DCOM, DCE GATEWAY Solutions must be integrated Vertically and horizontally LOCAL AREA NETWORK { GROUND STATION PEERS 4 Washington University, St. Louis High-p erformance, Real-time ORBs Douglas C. Schmidt Candidate Solution: CORBA in args Goals of CORBA CLIENT operation() SERVANT Simplify distribution out args + return value { by automating Object lo cation IDL DSI SKELETON activation IDL and DII ORB OBJECT STUBS INTERFACE ADAPTER Parameter rshaling ORB ma GIOP/IIOP Demultiplexing CORE Error handling STANDARD INTERFACE STANDARD LANGUAGE MAPPING { Provide foundation ORB-SPECIFIC INTERFACE STANDARD PROTOCOL for higher-level rba.html schmidt/co www.cs.wustl.edu/ services 5 y, St. Louis Universit Washington Douglas C. Schmidt High-p erformance, Real-time ORBs Limitations of CORBA for Real-time Systems in args Limitations CLIENT operation() SERVANT Lack of QoS out args + return value { sp eci cations Lack of QoS IDL { DSI SKELETON rcement IDL enfo DII ORB OBJECT STUBS INTERFACE ADAPTER { Lack of real-time rogramming ORB p GIOP/IIOP CORE features Lack of p erformance STANDARD INTERFACE STANDARD LANGUAGE { MAPPING optimizations ORB-SPECIFIC INTERFACE STANDARD PROTOCOL www.cs.wustl.edu/schmidt/ORB- endsystem.ps.gz 6 Washington University, St. Louis High-p erformance, Real-time ORBs Douglas C. Schmidt The ACE ORB TAO TAO Overview in args operation() CLIENT SERVANT A high-p erformance, out args + return value { real-time ORB Telecom and RIDL SKELETON fo cus REAL-TIME avionics RIDL ORB QOS OBJECT STUBS INTERFACE Leverages the ACE ADAPTER { framework REAL-REAL-TIMETIME Runs on RTOSs, RIOP ORB CORE POSIX, and Win32 OS KERNEL OS KERNEL REAL-TIME I/O REAL-TIME I/O Related work SUBSYSTEM SUBSYSTEM HIGH-SPEED HIGH-SPEED QuO at BBN NETWORK ADAPTERS NETWORK NETWORK ADAPTERS { { ARMADA at U. AO.html schmidt/T www.cs.wustl.edu/ Mich. 7 y, St. Louis Universit Washington Douglas C. Schmidt High-p erformance, Real-time ORBs The ADAPTIVE Communication Environment ACE SELF-CONTAINED MIDDLEWARE ACE Overview DISTRIBUTED JAWS ADAPTIVE APPLICATIONS SERVICE WEB SERVER THE ACE ORB Concurrent OO COMPONENTS TOKEN GATEWAY { SERVER SERVER (TAO) networking LOGGING NAME TIME SERVER SERVER SERVER framework SERVICE CORBA Ported to C++ FRAMEWORKS ACCEPTOR CONNECTOR { HANDLER HANDLER Java ADAPTIVE SERVICE EXECUTIVE (ASX) and PROCESS/ Runs on RTOSs, C++ THREAD LOG SERVICE SHARED { MANAGERS MSG CONFIG- MALLOC WRAPPERS REACTOR/ URATOR and PROACTOR POSIX, SYNCH SPIPE SOCK_SAP/ FIFO MEM SYSV WRAPPERS SAP TLI_SAP SAP MAP WRAPPERS OS ADAPTATION LAYER Win32 C PROCESSES/ STREAM SOCKETS/ NAMED SELECT/ DYNAMIC MEMORY SYSTEM APIS THREADS PIPES TLI PIPES IO COMP LINKING MAPPING V IPC Related work PROCESS/THREAD COMMUNICATION VIRTUAL MEMORY SUBSYSTEM SUBSYSTEM SUBSYSTEM { x-Kernel GENERAL POSIX AND WIN32 SERVICES { SysV STREAMS www.cs.wustl.edu/schmidt/ACE.html 8 Washington University, St. Louis High-p erformance, Real-time ORBs Douglas C. Schmidt ACE Statistics ACE contain > 125,000 lines of C++ Currently used by dozens of companies { Over 10 p erson-years of e ort { Bellcore, Bo eing, Ported to UNIX, Win32, MVS, and Ericsson, Ko dak, emb edded platforms Lucent, Motorola, SAIC, Siemens, { e.g., VxWorks, Chorus, LynxOS, StorTek, etc. pSoS Supp orted commercially Large user community { www.riverace.com CE- schmidt/A { www.cs.wustl.edu/ users.html 9 y, St. Louis Universit Washington Douglas C. Schmidt High-p erformance, Real-time ORBs Applying ORBs to Real-time Avionics Domain Challenges HUD Air Nav Frame { Perio dic 3:PUSH (DEMARSHALED DATA) deterministic deadlines EVENT real-time CHANNEL { COTS infrastructure { Op en systems 2:PUSH (EVENTS) Sensor Sensor Sensor proxy proxy proxy OBJECT REQUEST BROKER 1: SENSORS GENERATE DATA 10 Washington University, St. Louis High-p erformance, Real-time ORBs Douglas C. Schmidt Visualizing Perio ds for Avionics Op erations 11 y, St. Louis Universit Washington Douglas C. Schmidt High-p erformance, Real-time ORBs Real-time Features and Optimizations in TAO in args operation() PRESENTATION CLIENT SERVANT LAYER out args + return value OPTIMIZATIONS DATA COPYING OPTIMIZATIONS IDL REQUEST SKELETON DEMUXING AND IDL ORB OBJECT DISPATCHING STUBS INTERFACE ADAPTER OPTIMIZATIONS THREADING ORB OPTIMIZATIONS CORE GIOP PROTOCOL OS KERNEL OS KERNEL OPTIMIZATIONS CONNECTION I/O SUBSYSTEM MANAGEMENT OS I/O SUBSYSTEM OS I/O SUBSYSTEM OPTIMIZATIONS OPTIMIZATIONS NETWORK ADAPTERS NETWORK ADAPTERS NETWORK NETWORK ADAPTER OPTIMIZATIONS 12 Washington University, St. Louis High-p erformance, Real-time ORBs Douglas C. Schmidt Providing QoS to CORBA Op erations Design Challenges PERIODIC SCHEDULING AND DISPATCHING P TIME { Sp ecifying/enforcing QoS requirements C C { Fo cus on Op erations up on Objects TTT T+PTPT+2P Rather than on communication P: PERIOD C: REQUEST COMPUTATION TIME channels or threads/synchronization Initial fo cus RT Operation { Determinisitic deadlines struct RT_Info Static scheduling { { Time_t worstcase_exec_time_; Time_t cached_exec_time_; Solution approach Period_t period_; Importance importance_; sequence<RT_Info> dependencies_; { Servants publish resource e.g., CPU }; deadlines and p erio dic requirements { Most clients are also servants 13 y, St. Louis Universit Washington Douglas C. Schmidt High-p erformance, Real-time ORBs TAO's Real-time Scheduling Service Comp onents struct RT_Info { OFF-LINE 3: POPULATE SCHEDULER wc_exec_time_; RT_INFO cached_exec_time_; REPOSITORY Oine period_; { importance_; Assess schedule RT_INFO dependencies_; REPOSITORY }; feasibility 4: ASSESS 1: CONSTRUCT CALL Assign thread and SCHEDULABILITY CHAINS OF RT_OPERATIONS DEPENDS UPON = 5: ASSIGN OS THREAD 2: IDENTIFY THREADS EXECUTES AFTER PRIORITIES AND queue priorities DISPATCH QUEUE RT RT RT ORDERING Online 6: SUPPLY { Operation Operation Operation RUN-TIME PRIORITIES SUBPRIORITIES SCHEDULER Supply priorities to OBJECT ADAPTER TO ORB ORB CORE Priority/ MODE 0 endsystem Subpriority ORB MODE 1 Table Per Mode CURRENT MODE 2 via O 1 MODE dispatcher MODE 3 SELECTOR I/O SUBSYSTEM table lo okup www.cs.wustl.edu /sc hm idt /T AO. ps .gz 14 Washington University, St. Louis High-p erformance, Real-time ORBs Douglas C. Schmidt TAO's Real-time ORB Endsystem Architecture U Solution Approach R CLIENTS SERVANTS Z U STUBS SKELETONS Integrate RT dispatcher into E { N SERVANT DEMUXER R endsystem T QoQoSS ORB O I API OBJECT Supp ort multiple request C { M ADAPTER O strategies E scheduling ORB CORE P e.g., RMS, RMS with Y S C Preemption, and REACTOR REACTOR REACTOR REACTOR B Deferred H (20 HZ)HZ) (10 HZ)HZ) (5 HZ)HZ) (1 HZ)HZ) U E EDF F D Requests ordered across F { U E priorities by OS L SOCKET QUEUE DEMUXER thread I/I/OO R E SUBSYSTEM S dispatcher R { Requests ordered within ATM PORT INTERFACE riorities based on data CONTROLLER (APIC) p and imp ortance dep endencies 15 y, St. Louis Universit Washington Douglas C. Schmidt High-p erformance, Real-time ORBs Priority Inversion Exp eriments One high priority client Servants SCHEDULER RUNTIME Object Adapter 1..n low priority clients ... C 0 C 1 ... C n Server factory implements ORB Core Requests thread-p er-rate I/O SUBSYSTEM Highest real-time Client Server { priority for high priority client Lowest real-time ATM Switch { riority
Recommended publications
  • Design and Performance of a Modular Portable Object Adapter for Distributed, Real-Time, and Embedded CORBA Applications
    Design and Performance of a Modular Portable Object Adapter for Distributed, Real-Time, and Embedded CORBA Applications Raymond Klefstad, Arvind S. Krishna, and Douglas C. Schmidt g fklefstad, krishnaa, schmidt @uci.edu Electrical and Computer Engineering Dept. University of California, Irvine, CA 92697, USA Abstract of distributed computing from application developers to mid- dleware developers. It has been used successfully in large- ZEN is a CORBA ORB designed to support distributed, real- scale business systems where scalability, evolvability, and in- time, and embedded (DRE) applications that have stringent teroperability are essential for success. memory constraints. This paper discusses the design and per- Real-time CORBA [5] is a rapidly maturing DOC middle- formance of ZENs portable object adapter (POA) which is ware technology standardized by the OMG that can simplify an important component in a CORBA object request broker many challenges for DRE applications, just as CORBA has (ORB). This paper makes the following three contributions for large-scale business systems. Real-time CORBA is de- to the study of middleware for memory-constrained DRE ap- signed for applications with hard real-time requirements, such plications. First, it presents three alternative designs of the as avionics mission computing [6]. It can also handle ap- CORBA POA. Second, it explains how design patterns can be plications with stringent soft real-time requirements, such as applied to improve the quality and performance of POA im- telecommunication call processing and streaming video [7]. plementations. Finally, it presents empirical measurements ZEN [8] is an open-source Real-time CORBA object re- based on the ZEN ORB showing how memory footprint can quest broker (ORB) implemented in Real-time Java [9].
    [Show full text]
  • Servant Documentation Release
    servant Documentation Release Servant Contributors February 09, 2018 Contents 1 Introduction 3 2 Tutorial 5 2.1 A web API as a type...........................................5 2.2 Serving an API.............................................. 10 2.3 Querying an API............................................. 28 2.4 Generating Javascript functions to query an API............................ 31 2.5 Custom function name builder...................................... 38 2.6 Documenting an API........................................... 38 2.7 Authentication in Servant........................................ 43 3 Cookbook 51 3.1 Structuring APIs............................................. 51 3.2 Serving web applications over HTTPS................................. 54 3.3 SQLite database............................................. 54 3.4 PostgreSQL connection pool....................................... 56 3.5 Using a custom monad.......................................... 58 3.6 Basic Authentication........................................... 60 3.7 Combining JWT-based authentication with basic access authentication................ 62 3.8 File Upload (multipart/form-data)............................... 65 4 Example Projects 69 5 Helpful Links 71 i ii servant Documentation, Release servant is a set of packages for declaring web APIs at the type-level and then using those API specifications to: • write servers (this part of servant can be considered a web framework), • obtain client functions (in haskell), • generate client functions for other programming
    [Show full text]
  • Concurrency Patterns for Easier Robotic Coordination
    Concurrency Patterns for Easier Robotic Coordination Andrey Rusakov∗ Jiwon Shin∗ Bertrand Meyer∗† ∗Chair of Software Engineering, Department of Computer Science, ETH Zurich,¨ Switzerland †Software Engineering Lab, Innopolis University, Kazan, Russia fandrey.rusakov, jiwon.shin, [email protected] Abstract— Software design patterns are reusable solutions to Guarded suspension – are chosen for their concurrent nature, commonly occurring problems in software development. Grow- applicability to robotic coordination, and evidence of use ing complexity of robotics software increases the importance of in existing robotics frameworks. The paper aims to help applying proper software engineering principles and methods such as design patterns to robotics. Concurrency design patterns programmers who are not yet experts in concurrency to are particularly interesting to robotics because robots often have identify and then to apply one of the common concurrency- many components that can operate in parallel. However, there based solutions for their applications on robotic coordination. has not yet been any established set of reusable concurrency The rest of the paper is organized as follows: After design patterns for robotics. For this purpose, we choose six presenting related work in Section II, it proceeds with a known concurrency patterns – Future, Periodic timer, Invoke later, Active object, Cooperative cancellation, and Guarded sus- general description of concurrency approach for robotics pension. We demonstrate how these patterns could be used for in Section III. Then the paper presents and describes in solving common robotic coordination tasks. We also discuss detail a number of concurrency patterns related to robotic advantages and disadvantages of the patterns and how existing coordination in Section IV.
    [Show full text]
  • Servant Documentation Release
    servant Documentation Release Servant Contributors March 07, 2016 Contents 1 Introduction 3 2 Tutorial 5 2.1 A web API as a type...........................................5 2.2 Serving an API..............................................9 2.3 Querying an API............................................. 25 2.4 Generating Javascript functions to query an API............................ 28 2.5 Documenting an API........................................... 30 3 Helpful Links 35 i ii servant Documentation, Release servant is a set of packages for declaring web APIs at the type-level and then using those API specifications to: • write servers (this part of servant can be considered a web framework), • obtain client functions (in haskell), • generate client functions for other programming languages, • generate documentation for your web applications • and more... All in a type-safe manner. Contents 1 servant Documentation, Release 2 Contents CHAPTER 1 Introduction servant has the following guiding principles: • concision This is a pretty wide-ranging principle. You should be able to get nice documentation for your web servers, and client libraries, without repeating yourself. You should not have to manually serialize and deserialize your resources, but only declare how to do those things once per type. If a bunch of your handlers take the same query parameters, you shouldn’t have to repeat that logic for each handler, but instead just “apply” it to all of them at once. Your handlers shouldn’t be where composition goes to die. And so on. • flexibility If we haven’t thought of your use case, it should still be easily achievable. If you want to use templating library X, go ahead. Forms? Do them however you want, but without difficulty.
    [Show full text]
  • Design Patterns
    Design Patterns Andy Verkeyn April 2001 - March 2003 Third version [email protected] http://allserv.rug.ac.be/~averkeyn Contents Contents ______________________________________________________________________ 1 Foreword _____________________________________________________________________ 1 Introduction___________________________________________________________________ 1 Iterator _______________________________________________________________________ 2 Adapter (class)_________________________________________________________________ 4 Adapter (object) ________________________________________________________________ 5 Decorator _____________________________________________________________________ 7 Singleton _____________________________________________________________________ 9 Chain of responsibility _________________________________________________________ 12 Observer_____________________________________________________________________ 14 Command____________________________________________________________________ 16 Bridge_______________________________________________________________________ 18 Factory method _______________________________________________________________ 20 Abstract factory _______________________________________________________________ 21 Proxy _______________________________________________________________________ 22 Other patterns used in Java _____________________________________________________ 24 Foreword This text is mainly taken from the excellent book “Design patterns: Elements of reusable Object- Oriented
    [Show full text]
  • IC Coder's Club Design Patterns (In C++)
    Andrew W. Rose Simple exercise You have been tasked to move this pile from A to B Simple exercise You have been tasked to move this pile from A to B You have three resources available to you: a) Bare hands b) A stack of timber c) A horse and cart Simple exercise You have been tasked to move this pile from A to B You have three resources available to you: a) Bare hands b) A stack of timber c) A horse and cart How do you achieve the task in the quickest, least-painful way, which won’t leave you up-to-your-neck in the produce you are moving, nor smelling of it? Software analogy a) Bare hands b) A stack of timber c) A horse and cart Software analogy a) Bare hands b) A stack of timber c) A horse and cart Do a task manually Software analogy a) Bare hands b) A stack of timber c) A horse and cart Design Do a task the tools manually yourself Software analogy a) Bare hands b) A stack of timber c) A horse and cart Benefit from Design Do a task someone the tools manually else’s yourself hard work Software analogy a) Bare hands b) A stack of timber c) A horse and cart Benefit from someone else’s This is the purpose of design patterns! hard work Motivation I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his data structures more important: Bad programmers worry about the code; good programmers worry about data structures and their relationships.
    [Show full text]
  • Performance and Tuning Handbook for Websphere On
    Front cover Performance Monitoring and Best Practices for WebSphere on z/OS Learn to build a monitoring and profiling environment Discover a comprehensive discussion of parameters Acquire knowledge about best practices Alex Louwe Kooijmans Tony J. Cox Ruud Huisman Magdalena Marsh Koelli Mungee Brian S Paskin Martina Schmidt Thomas Schulze Javier Voos Franck Yu ibm.com/redbooks International Technical Support Organization Performance Monitoring and Best Practices for WebSphere on z/OS April 2007 SG24-7269-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (April 2007) This edition applies to WebSphere Application Server Version 6.02 and Version 6.1 for z/OS. © Copyright International Business Machines Corporation 2007. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x Preface . xi The team that wrote this IBM Redbooks publication . .xi Become a published author . xiii Comments welcome. xv Chapter 1. Introduction. 1 1.1 The structure of the book . 2 1.2 How do you use this book . 2 1.3 Other sources of information . 5 Part 1. Our environment . 7 Chapter 2. Our infrastructure . 9 Chapter 3. Our sample workload . 19 3.1 IBM Trade V6.1 . 21 3.2 ITSO Trader V6.1 . 23 3.3 Business transaction scenarios. 26 3.3.1 IBM Trade V6.1 business transaction scenarios. 27 3.3.2 ITSO Trader V6.1 business transaction scenarios . 29 3.4 Workloads . 30 3.4.1 Workload scripts .
    [Show full text]
  • Server Models Unit 3 - Server Models Techdocs WP101740, WP102110
    Unit 1a - Overview © 2013 IBM Corporation IBM Advanced Technical Skills WebSphere Application Server V8.5 for z/OS WBSR85 WBSR85 WebSphere Application ServerUnit z/OS 3 - V8.5Server Models Unit 3 - Server Models TechDocs WP101740, WP102110 Unit 1a - 1 Unit 3 - Server Models This page intentionally left blank IBM Americas Advanced Technical Skills 2 © 2013 IBM Corporation Gaithersburg, MD Unit 3 - 2 Unit 3 - Server Models Overview With WAS z/OS V8.5 we now have two server models to choose from: Traditional Multi-JVM Model Liberty Profile Model "Application Server" "Application Server" Liberty Controller Servant Profile Region WLM Regions Server Instance ● Two or more JVMs make up an ● One JVM makes up an application application server instance server instance ● CR does the request handling, SR ● Lightweight, composable and hosts the applications dynamic updates ● Full Java EE server runtime ● Web applications at this time ● Administration through DMGR and ● Simple configuration and Admin Console as seen in Unit 2 administrative model ● Includes "Granular RAS" function ● Not part of the traditional WAS cell or which we'll explore in this unit administrative model Traditional WAS z/OS model ... IBM Americas Advanced Technical Skills 3 © 2013 IBM Corporation Gaithersburg, MD With WAS z/OS V8.5 we now have two "server models" to consider -- the traditional model with the multiple JVMs and the full set of Java EE functions, and the new "Liberty Profile" model which is intended to offer a lighter, more dynamic alternative when the traditional model is deemed more than adequate. In this unit we'll cover both, starting with the traditional model, which will include a discussion of work distribution to multiple servant regions, WLM service and reporting classes, the XML classification file and the V8 function called "Granular RAS," which allows functional behavior to be driven down to the request level.
    [Show full text]
  • Software Frameworks, Architectural and Design Patterns
    Journal of Software Engineering and Applications, 2014, 7, 670-678 Published Online July 2014 in SciRes. http://www.scirp.org/journal/jsea http://dx.doi.org/10.4236/jsea.2014.78061 Software Frameworks, Architectural and Design Patterns Njeru Mwendi Edwin Department of Computing, Jomo Kenyatta University of Agricluture & Technology, Nairobi, Kenya Email: [email protected] Received 21 April 2014; revised 20 May 2014; accepted 14 June 2014 Copyright © 2014 by author and Scientific Research Publishing Inc. This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/ Abstract Software systems can be among the most complex constructions in engineering disciplines and can span into years of development. Most software systems though implement in part what has already been built and tend to follow known or nearly known architectures. Although most soft- ware systems are not of the size of say Microsoft Windows 8, complexity of software development can be quick to increase. Thus among these methods that are the most important is the use of ar- chitectural and design patterns and software frameworks. Patterns provide known solutions to re-occurring problems that developers are facing. By using well-known patterns reusable compo- nents can be built in frameworks. Software frameworks provide developers with powerful tools to develop more flexible and less error-prone applications in a more effective way. Software frame- works often help expedite the development process by providing necessary functionality “out of the box”. Providing frameworks for reusability and separation of concerns is key to software de- velopment today.
    [Show full text]
  • Pattern-Oriented Software Architecture, Volume 2.Pdf
    Pattern-Oriented Software Architecture, Patterns for Concurrent and Networked Objects, Volume 2 by Douglas Schmidt, Michael Stal, Hans Rohnert and Frank Buschmann ISBN: 0471606952 John Wiley & Sons © 2000 (633 pages) An examination of 17 essential design patterns used to build modern object- oriented middleware systems. 1 Table of Contents Pattern-Oriented Software Architecture—Patterns for Concurrent and Networked Objects, Volume 2 Foreword About this Book Guide to the Reader Chapter 1 - Concurrent and Networked Objects Chapter 2 - Service Access and Configuration Patterns Chapter 3 - Event Handling Patterns Chapter 4 - Synchronization Patterns Chapter 5 - Concurrency Patterns Chapter 6 - Weaving the Patterns Together Chapter 7 - The Past, Present, and Future of Patterns Chapter 8 - Concluding Remarks Glossary Notations References Index of Patterns Index Index of Names 2 Pattern-Oriented Software Architecture—Patterns for Concurrent and Networked Objects, Volume 2 Douglas Schmidt University of California, Irvine Michael Stal Siemens AG, Corporate Technology Hans Rohnert Siemens AG, Germany Frank Buschmann Siemens AG, Corporate Technology John Wiley & Sons, Ltd Chichester · New York · Weinheim · Brisbane · Singapore · Toronto Copyright © 2000 by John Wiley & Sons, Ltd Baffins Lane, Chichester, West Sussex PO19 1UD, England National 01243 779777 International (+44) 1243 779777 e-mail (for orders and customer service enquiries): <[email protected]> Visit our Home Page on http://www.wiley.co.uk or http://www.wiley.com All rights reserved.
    [Show full text]
  • The House Servant's Directory
    Blank Page B l a n k P a g e Blank Page Blank Page Blank Page THE HOUSE SERVANT'S DIRECTORY, OR A MONITOR FOR PRIVATE FAMILIES : COMPRISING HINTS ON THE ARRANGEMENT AND PERFORMANCE OF SERVANTS' WORK, WITH GENERAL RULES FOR SETTING OUT TABLES AND SIDEBOARDS IN FIRST ORDER ; T H E A R T OF IN ALL ITS BRANCHES ; AND LIKEWISE HOW TO CONDUCT LARGE AND SMALL PARTIES WITH ORDER ; WITH GENERAL DIRECTIONS FOR PLACING ON TABLE ALL KINDS OF JOINTS, FISH, FOWL, &c. W ITH FULL INSTRUCTIONS FOR CLEANING PLATE, BRASS, STEEL, GLASS, MAHOGANY ; AND LIKEW ISE ALL KINDS OF PATENT AND COMMON LAMPS : OBSERVATIONS ON SERVANTS’ BEHAVIOUR TO THEIR EMPLOYERS; AND UPWARDS OF 100 VARIOUS A N D USEFUL RECEIPTS. CHIEFLY COMPILED. FOR THE USE OF HOUSE SERVANTS ; AND IDENTICALLY MADE TO SUIT THE MANNERS AND CUSTOMS OF FAMILIES IN THE UNITED STATES. B y ROBERT ROBERTS. W ITH FRIENDLY ADVICE T O C O O K S AND HEADS OF FAMILIES, AND COMPLETE DIRECTIONS HOW TO BURN LEIG H COAL. BOSTON, MUNROE AND FRANCIS, 128 WASHINGTON-STREET. NEW YORK, CHARLES S. FRANCIS, 1 8 9 BROADWAY. 1827 DISTRICT OF MASSACHUSETTS, TO WIT : District Clerk's Office. Be it remembered, that on the ninth day of March, A.D. 1827, in the fifty-first year of the Independence of the United States of America, M u n r o e & F r a n c i s , of the said district, have deposited in this Of­ fice, the Title of a Book the right whereof they claims as Proprietors in the words following, to wit: The House Servants Directory or a Monitor for Private Families : comprising hints on the arrangement and performance of servants' work, with general rules for setting out Tables and Sideboards in first order ; the Art of Waiting in all its branches ; and likewise how to conduct Large and Small Parties with order 5 with general directions for plac­ ing on Table all kinds of Joints, Fish, Fowl, &c.
    [Show full text]
  • Monitoring Program Behaviour on SUPRENUM Abstract 1 Introduction
    Monitoring Program Behaviour on SUPRENUM Markus Siegle Richard Hofmann Institut f ur Informatik VI I UniversitatErlangenN urnberg Martensstrae Erlangen Germany email siegleimmdinformatikunierlangende Programmers need to have detailed knowledge of the func Abstract tional b ehaviour of their programs and for the consideration It is often very dicult for programmers of parallel computers of p erformance asp ects they need timing information as well to understand how their parallel programs b ehave at execu Usually metho ds such as proling and accounting do not pro tion time b ecause there is not enough insight into the inter vide sucient information they only give summary statistical actions b etween concurrent activities in the parallel machine results Therefore users often resort to rudimentary metho ds Programmers do not only wish to obtain statistical informa such as writing logles during program execution in order to tion that can b e supplied by proling for example They need obtain debug information and p erformance information ab out to have detailed knowledge ab out the functional b ehaviour of their programs But only a relatively small fraction of the their programs Considering p erformance asp ects they need needed information can b e obtained that way A ma jor prob timing information as well Monitoring is a technique well lem with multiprocessors is the absence of a global clo ck with suited to obtain information ab out b oth functional b ehaviour high resolution Global timing information is essential for de and timing Global
    [Show full text]