System types. Distributed systems

Similar documents
Distributed Systems Architectures. Ian Sommerville 2006 Software Engineering, 8th edition. Chapter 12 Slide 1

Distributed Systems Architectures. Ian Sommerville 2006 Software Engineering, 8th edition. Chapter 12 Slide 1

Distributed systems. Distributed Systems Architectures. System types. Objectives. Distributed system characteristics.

Administrative Stuff. We are now in week 11 No class on Thursday About one month to go. Spend your time wisely Make any major decisions w/ Client

Software Paradigms (Lesson 10) Selected Topics in Software Architecture

Distributed systems. Distributed Systems Architectures

INTRODUCTION TO Object Oriented Systems BHUSHAN JADHAV

CAS 703 Software Design

Performance Evaluation of Java And C++ Distributed Applications In A CORBA Environment

EPL603 Topics in Software Engineering

1.264 Lecture 16. Legacy Middleware

UNIT 4 CORBA 4/2/2013 Middleware 59

Distributed Object-Based Systems The WWW Architecture Web Services Handout 11 Part(a) EECS 591 Farnam Jahanian University of Michigan.

What is CORBA? CORBA (Common Object Request Broker Architecture) is a distributed object-oriented client/server platform.

Real-time & Embedded Systems Workshop July 2007 Building Successful Real-time Distributed Systems in Java

DS 2009: middleware. David Evans

Today: Distributed Objects. Distributed Objects

Client/Server-Architecture

Distributed Computing

Appendix A - Glossary(of OO software term s)

Advanced Lectures on knowledge Engineering

CORBA (Common Object Request Broker Architecture)

SOFTWARE ENGINEERING DECEMBER. Q2a. What are the key challenges being faced by software engineering?

AQUILA. Project Defense. Sandeep Misra. (IST ) Development of C++ Client for a Java QoS API based on CORBA

Distributed Systems. Bina Ramamurthy. 6/13/2005 B.Ramamurthy 1

CORBA and COM TIP. Two practical techniques for object composition. X LIU, School of Computing, Napier University

Overview. Distributed Systems. Distributed Software Architecture Using Middleware. Components of a system are not always held on the same host

Distributed Objects. Object-Oriented Application Development

Requirements for TINA Platform towards Information Sharing Business. Long-term Trend of Telephone Business

Client Server & Distributed System. A Basic Introduction

RIKA: Component Architectures

Distributed Systems: Models and Design

Modularity. Object Request Broker. Object Request Broker. These slides are based on Wikipedia and other Web sources (URLs given)

Irbid National University, Irbid, Jordan. 1. The concept of distributed corporate systems

Integrating Fragmented Objects into a CORBA Environment

Oracle Tuxedo. CORBA Technical Articles 11g Release 1 ( ) March 2010

CHAPTER 1 Fundamentals of Distributed System. Issues in designing Distributed System

Module 1 - Distributed System Architectures & Models

Today: Distributed Middleware. Middleware

Distributed Environments. CORBA, JavaRMI and DCOM

Notes. Submit homework on Blackboard The first homework deadline is the end of Sunday, Feb 11 th. Final slides have 'Spring 2018' in chapter title

Distributed OS and Algorithms

CSCI 4717 Computer Architecture

Outline. Definition of a Distributed System Goals of a Distributed System Types of Distributed Systems

CORBA Object Transaction Service

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR (ODD SEMESTER) QUESTION BANK

Software. Networked multimedia. Buffering of media streams. Causes of multimedia. Browser based architecture. Programming

Interconnection of Distributed Components: An Overview of Current Middleware Solutions *

Distributed Objects and Remote Invocation. Programming Models for Distributed Applications

CHAPTER 1: OPERATING SYSTEM FUNDAMENTALS

Chapter 3. Database Architecture and the Web

Lecture 9: MIMD Architectures

Adaptive Middleware. Self-Healing Systems. Guest Lecture. Prof. Priya Narasimhan. Assistant Professor of ECE and ISRI Carnegie Mellon University

Electronic Payment Systems (1) E-cash

Next-Generation Architecture for Virtual Prototyping

Distributed Technologies - overview & GIPSY Communication Procedure

Gustavo Alonso, ETH Zürich. Web services: Concepts, Architectures and Applications - Chapter 1 2

FTRMI: Fault-Tolerant Transparent RMI

data dependence Data dependence Structure dependence

JAYARAM. COLLEGE OF ENGINEERING AND TECHNOLOGY Pagalavadi, Tiruchirappalli (An approved by AICTE and Affiliated to Anna University)

Introduction to Web Services & SOA

Java- and CORBA-Based Network Management. Mika Leppinen, Pekka Pulkkinen, and Aapo Rautiainen

Patterns Architectural Styles Archetypes

Distributed Middleware. Distributed Objects

02 - Distributed Systems

QuickSpecs. Compaq NonStop Transaction Server for Java Solution. Models. Introduction. Creating a state-of-the-art transactional Java environment

Middleware: Challenges and Evolution from Procedural to Service Orientation

Crossbar switch. Chapter 2: Concepts and Architectures. Traditional Computer Architecture. Computer System Architectures. Flynn Architectures (2)

Lecture 06: Distributed Object

DISTRIBUTED COMPUTER SYSTEMS ARCHITECTURES

Chapter 1: Distributed Information Systems

Introduction to Grid Technology

Distributed Systems Principles and Paradigms

Distributed Systems Middleware

Lecture 5: Object Interaction: RMI and RPC

Agent and Object Technology Lab Dipartimento di Ingegneria dell Informazione Università degli Studi di Parma. Distributed and Agent Systems

Introduction to Web Services & SOA

Software Engineering Chap.7 - Design and Implementation

DISTRIBUTED SYSTEMS [COMP9243] Distributed Object based: Lecture 7: Middleware. Slide 1. Slide 3. Message-oriented: MIDDLEWARE

Functional Requirements for Grid Oriented Optical Networks

Mohsin Qasim Syed Abbas Ali

Introduction to Distributed Systems. INF5040/9040 Autumn 2018 Lecturer: Eli Gjørven (ifi/uio)

Limitations of Object-Based Middleware. Components in CORBA. The CORBA Component Model. CORBA Component

Introduction. Distributed Systems. Introduction. Introduction. Instructor Brian Mitchell - Brian

Computer Systems Architecture. Adapted from material provided by Sang Shin at

Application Servers in E-Commerce Applications

02 - Distributed Systems

Verteilte Systeme (Distributed Systems)

Plug-and-Play Network Service Configuration Using CORBA

The Impact of SOA Policy-Based Computing on C2 Interoperation and Computing. R. Paul, W. T. Tsai, Jay Bayne

ACRONYMS AND GLOSSARY

Distributed Systems. The main method of distributed object communication is with remote method invocation

Design Process Overview. At Each Level of Abstraction. Design Phases. Design Phases James M. Bieman

~ Ian Hunneybell: CBSD Revision Notes (07/06/2006) ~

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

FIPA Agent Software Integration Specification

The Common Object Request Broker Architecture (CORBA)

GUI framework communication via the WWW

Quality Objects (QuO): Adaptive Management and Control Middleware for End-to-End QoS

Chapter 16. Layering a computing infrastructure

Transcription:

System types 1 Personal systems that are designed to run on a personal computer or workstation Distributed systems where the system software runs on a loosely integrated group of cooperating processors linked by a network Distributed systems 2 Virtually all large computer-based systems are now distributed systems Information processing is distributed over several computers rather than confined to a single machine Distributed software engineering is now very important 1

Distributed system characteristics 3 Resource sharing Concurrency Scalability Fault tolerance Transparency Distributed system disadvantages 4 Complexity Security Manageability Unpredictability 2

Distributed Systems Architectures 5 Architectural design for software that executes on more than one processor Issues in distributed system design Design issue Resource identification Description The resources in a distributed system are spread across different computers and a naming scheme has to be devised so that users can discover and refer to the resources that they need. An example of such a naming scheme is the URL (Uniform Resource Locator) that is used to identify WWW pages. If a meaningful and universally understood identification scheme is not used then many of these resources will be inaccessible to system users. Communications The universal availability of the Internet and the efficient implementation of Internet TCP/IP communication protocols means that, for most distributed systems, these are the most effective way for the computers to communicate. However, where there are specific requirements for performance, reliability etc. alternative approaches to communications may be used. Quality of service Software architectures The quality of service offered by a system reflects its performance, availability and reliability. It is affected by a number of factors such as the allocation of processes to processors in the system, the distribution of resources across the system, the network and the system hardware and the adaptability of the system. The software architecture describes how the application functionality is distributed over a number of logical components and how these components are distributed across processors. Choosing the right architecture for an application is essential to achieve the desired quality of service. 3

Topics covered 7 Multiprocessor architectures Client-server architectures Distributed object architectures CORBA Distributed systems architectures 8 Multiprocessor architectures System composed of multiple processes that may execute on different processors Client-server architectures Distributed services which are called on by clients. Servers that provide services are treated differently from clients that use services Distributed object architectures No distinction between clients and servers. Any object on the system may provide and use services from other objects 4

Multiprocessor architectures 9 Simplest distributed system model System composed of multiple processes which may execute on different processors Architectural model of many large realtime systems Distribution of process to processor may be pre-ordered or may be under the control of a dispatcher A multiprocessor traffic control system 10 Sensor processor Traffic flow processor Traffic light control processor Sensor control process Display process Light control process Traffic flow sensors and cameras Operator consoles Traffic lights 5

Client-server architectures 11 The application is modelled as a set of services that are provided by servers and a set of clients that use these services Clients know of servers but servers need not know of clients Clients and servers are logical processes The mapping of processors to processes is not necessarily 1 : 1 A client-server system 12 c2 c3 c4 c12 c1 s1 s4 c11 Server process c5 s2 s3 c10 c9 Client process c6 c7 c8 6

Computers in a C/S network 13 c1 c2 c3, c4 CC1 CC2 CC3 s1, s2 Network s3, s4 SC2 SC1 Server computer c5, c6, c7 CC4 CC5 c8, c9 c10, c11, c12 CC6 Client computer Thin and fat clients 14 Thin-client model In a thin-client model, all of the application processing and data management is carried out on the server. The client is simply responsible for running the presentation software. Fat-client model In this model, the server is only responsible for data management. The software on the client implements the application logic and the interactions with the system user. 7

Thin and fat clients 15 Thin-client model Client Presentation Server Data management Application processing Fat-client model Client Presentation Application processing Server Data management Thin client model 16 Used when legacy systems are migrated to client server architectures. The legacy system acts as a server in its own right with a graphical interface implemented on a client A major disadvantage is that it places a heavy processing load on both the server and the network 8

Fat client model 17 More processing is delegated to the client as the application processing is locally executed Most suitable for new C/S systems where the capabilities of the client system are known in advance More complex than a thin client model especially for management. New versions of the application have to be installed on all clients A client-server ATM system 18 ATM ATM Account server ATM Teleprocessing monitor Customer account database ATM 9

Layered application architecture 19 Presentation layer Concerned with presenting the results of a computation to system users and with collecting user inputs Application processing layer Concerned with providing application specific functionality e.g., in a banking system, banking functions such as open account, close account, etc. Data management layer Concerned with managing the system databases Application layers 20 Presentation layer Application processing layer Data management layer 10

Three-tier architectures 21 In a three-tier architecture, each of the application architecture layers may execute on a separate processor Allows for better performance than a thinclient approach and is simpler to manage than a fat-client approach A more scalable architecture - as demands increase, extra servers can be added A 3-tier C/S architecture 22 Presentation Server Server Client Application processing Data management 11

An internet banking system 23 Client HTTP interaction Client Web server Account service provision SQL query Database server SQL Customer account database Client Client Use of C/S architectures 24 Architecture Two-tier C/S architecture with thin clients Two-tier C/S architecture with fat clients Three-tier or multi-tier C/S architecture Applications Legacy system applications where separating application processing and data management is impractical Computationally-intensive applications such as compilers with little or no data management Data-intensive applications (browsing and querying) with little or no application processing. Applications where application processing is provided by COTS (e.g. Microsoft Excel) on the client Applications where computationally-intensive processing of data (e.g. data visualisation) is required. Applications with relatively stable end-user functionality used in an environment with well-established system management Large scale applications with hundreds or thousands of clients Applications where both the data and the application are volatile. Applications where data from multiple sources are integrated 12

Distributed object architectures 25 There is no distinction in a distributed object architectures between clients and servers Each distributable entity is an object that provides services to other objects and receives services from other objects Object communication is through a middleware system called an object request broker (software bus) However, more complex to design than C/S systems Distributed object architecture 26 o1 o2 o3 o4 S (o1) S (o2) S (o3) S (o4) Software bus o5 S (o5) o6 S (o6) 13

Advantages of distributed object architecture 27 It allows the system designer to delay decisions on where and how services should be provided It is a very flexible and scaleable system architecture that allows new resources to be added to it as required It is possible to reconfigure the system dynamically with objects migrating across the network as required Uses of distributed object architecture 28 As a logical model that allows you to structure and organize the system. In this case, you think about how to provide application functionality solely in terms of services and combinations of services As a flexible approach to the implementation of client-server systems. The logical model of the system is a clientserver model but both clients and servers are realized as distributed objects communicating through a software bus 14

Middleware 29 Software that manages and supports the different components of a distributed system. In essence, it sits in the middle of the system Middleware is usually off-the-shelf rather than specially written software CORBA 30 Common Object Request Broker Architecture (CORBA) is an international standard for an Object Request Broker - middleware to manage communications between distributed objects Several implementation of CORBA are available Distributed Component Object Model (DCOM) is an alternative approach by Microsoft to object request brokers CORBA has been defined by the Object Management Group (OMG) 15

Application structure 31 Application objects Standard objects, defined by the OMG, for a specific domain e.g. insurance Fundamental CORBA services such as directories and security management Horizontal (i.e. cutting across applications) facilities such as user interface facilities CORBA application structure 32 Application objects Domain facilities Horizontal CORBA facilities Object request broker CORBA services 16

CORBA standards 33 An object model for application objects A CORBA object is an encapsulation of state with a well-defined, language-neutral interface defined in an IDL (interface definition language) An object request broker that manages requests for object services A set of general object services of use to many distributed applications CORBA objects 34 CORBA objects are comparable, in principle, to objects in C++ and Java They MUST have a separate interface definition that is expressed using a common language (IDL) similar to C++ There is a mapping from this IDL to programming languages (C++, Java, etc.) Therefore, objects written in different languages can communicate with each other 17

Object request broker (ORB) 35 The ORB handles object communications. It knows of all objects in the system and their interfaces Using an ORB, the calling object binds an IDL stub that defines the interface of the called object Calling this stub results in calls to the ORB which then calls the required object through a published IDL skeleton (links the interface to the service implementation) 36 ORB-based object communications o1 o2 S (o1) S (o2) IDL stub IDL skeleton Object Request Broker 18

Inter-ORB communications 37 ORBs handle communications between objects executing on the same machine Several ORBS may be available and each computer in a distributed system will have its own ORB Inter-ORB communications are used for distributed object calls Inter-ORB communications 38 o1 o2 o3 o4 S (o1) S (o2) S (o3) S (o4) IDL IDL IDL IDL Object Request Broker Object Request Broker Network 19

CORBA services 39 Naming and trading services These allow objects to discover and refer to other objects on the network Notification services These allow objects to notify other objects that an event has occurred Transaction services These support atomic transactions and rollback on failure Additional Resources on CORBA 40 http://www.corba.org/ CORBA Success Stories http://www.corba.org/success.htm The Weather Channel (TWC) used CORBA and Linux to develop a system that provides reliability, doesn't require a high level of operational support and offers the ability to have detailed data logging. They were able to meet these needs and slash their software development time from months to weeks. http://www.corba.org/industries/publish/twc.h tm 20