distributed systems-a brief introduction

Upload: khoadpla

Post on 03-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Distributed systems-A Brief Introduction

    1/30

    Distributed Systems

    A Brief Introduction

  • 7/28/2019 Distributed systems-A Brief Introduction

    2/30

    OUTLINE BRIEF HISTORY.

    WHAT ARE DISTRIBUTED SYSTEMS ?

    ? WHY DISTRIBUTED SYSTEMS ? ?

    ADVANTAGES OF D.S. OVER THE

    CENTRALIZED SYSTEM. ADVANTAGES OF D.S. OVER

    INDEPENDENT PCS.

  • 7/28/2019 Distributed systems-A Brief Introduction

    3/30

    OUTLINE (Contd.) ORGANISATION OF DISTRIBUTED

    SYSTEM.

    GOALS OF D.S.

    Resource Sharing.

    Openness.

    Transparency.

    Scalability.

  • 7/28/2019 Distributed systems-A Brief Introduction

    4/30

    OUTLINE (Contd.) Concurrency.

    TYPES OF DISTRIBUTED SYSTEMS.

    Distributed Computing Systems.

    Distributed Information Systems.

    Distributed Pervasive Systems. SUMMARY.

  • 7/28/2019 Distributed systems-A Brief Introduction

    5/30

    HISTORY 1945~1985

    Computers were large and expensive.

    No way to connect them.

    All systems were Centralized Systems.

    Mid-1980s

    Powerful microprocessors.

    High Speed Computer Networks (LANs , WANs).

  • 7/28/2019 Distributed systems-A Brief Introduction

    6/30

    HISTORY (Contd.)

    Then came the

    DISTRIBUTED

    SYSTEMS

  • 7/28/2019 Distributed systems-A Brief Introduction

    7/30

    What are Distributed Systems ? ?

    A distributed system is a piece of software that

    ensures that: a collection ofindependent computers appears

    to its users as a single coherent system.

    Two aspects:

    (1) independent computers and (2) single

    system => middleware.

  • 7/28/2019 Distributed systems-A Brief Introduction

    8/30

    EXAMPLES World Wide Web (WWW) is the biggest

    example of distributed system.

    Others are

    The internet

    An intranet which is a portion of the internet

    managed by an organization

  • 7/28/2019 Distributed systems-A Brief Introduction

    9/30

    WHY DISTRIBUTED

    SYSTEMS ? ?

    availability of powerful yet cheap

    microprocessors (PCs, workstations),

    continuing advances in communication

    technology

  • 7/28/2019 Distributed systems-A Brief Introduction

    10/30

    ADVANTAGES OF D.S. OVER

    CENTRALIZED SYSTEM: Economics:

    A collection of microprocessors offer a better

    price/performance than mainframes. Low

    price/performance ratio: cost effective way to

    increase computing power.

    Reliability:

    If one machine crashes, the system as a whole

    can still survive. Higher availability and

    improved reliability.

  • 7/28/2019 Distributed systems-A Brief Introduction

    11/30

    ADVANTAGES (Contd.)

    Speed: a distributed system may have more

    total computing power than a mainframe.

    Ex.: 10,000 CPU chips, each running at 50

    MIPS. Not possible to build 500,000 MIPS

    single processor.

    Enhanced performance through loaddistributing.

  • 7/28/2019 Distributed systems-A Brief Introduction

    12/30

    ADVANTAGES (Contd.)

    Incremental growth: Computing power

    can be added in small increments. This

    leads to Modular expandability

  • 7/28/2019 Distributed systems-A Brief Introduction

    13/30

    ADVANTAGES OF D.S. OVER

    INDEPENDENT PCs:

    Data sharing: allow many users to access

    to a common data base.

    Resource Sharing: expensive peripherals

    like color printers.

  • 7/28/2019 Distributed systems-A Brief Introduction

    14/30

    ADVANTAGES (Contd.)

    Communication: enhance human-to-

    human communication. E.g.: email, chat.

    Flexibility: spread the workload over the

    available machines

  • 7/28/2019 Distributed systems-A Brief Introduction

    15/30

    ORGANIZATION OF D.S.:

    A distributed system organized as middleware.

    The middleware layer extends over multiple machines, and offers each

    application the same interface.

  • 7/28/2019 Distributed systems-A Brief Introduction

    16/30

    GOALS OF D.S. :

    Resource Sharing.

    Openness.

    Transparency.

    Scalability.

    Concurrency.

  • 7/28/2019 Distributed systems-A Brief Introduction

    17/30

    RESOURCESHARING: With Distributed Systems, it is easier for users to

    access remote resources and to share resourceswith other users.

    Examples: printers, files, Web pages, etc

    A distributed system should also make it easier forusers to exchange information.

    Easier resource and data exchange could causesecurity problemsa distributed system shoulddeal with this problem.

  • 7/28/2019 Distributed systems-A Brief Introduction

    18/30

    OPENNESS:

    The openness of DS is determined primarily

    by the degree to which new resource-

    sharing services can be added and be madeavailable for use by a variety of client

    programs.

  • 7/28/2019 Distributed systems-A Brief Introduction

    19/30

    TRANSPARENCY:

    It hides the fact that the processes and

    resources are physically distributed across

    multiple computers.

    Transparency is of various forms as

    follows:

  • 7/28/2019 Distributed systems-A Brief Introduction

    20/30

    TRANSPARENCY (Contd.)

  • 7/28/2019 Distributed systems-A Brief Introduction

    21/30

    SCALABILITY:

    A system is described as scalable if it

    remains effective when there is a significant

    increase in the number of resources and thenumber of users.

    Challenges:

    Controlling the cost of resources or money.

    Controlling the performance loss.

  • 7/28/2019 Distributed systems-A Brief Introduction

    22/30

    CONCURRENCY:

    There is a possibility that several clients

    will attempt to access a shared resource at

    the same time.

    Any object that represents a shared resource

    in a distributed system must be responsible

    for ensuring that operates correctly in aconcurrent environment.

  • 7/28/2019 Distributed systems-A Brief Introduction

    23/30

    TYPES OF D.S. :

    Distributed Computing Systems.

    Cluster Computing Systems.

    Grid Computing Systems.

    Distributed Information Systems.

    Distributed Pervasive Systems.

  • 7/28/2019 Distributed systems-A Brief Introduction

    24/30

    DISTRIBUTED COMPUTING

    SYSTEMS:

    Goal: High performance computing tasks.

    Cluster Computing Systems:

    A supercomputer built from off the

    shelf computer in a high-speed network

    (usually a LAN)

    Most common use: a single program is run

    in parallel on multiple machines

  • 7/28/2019 Distributed systems-A Brief Introduction

    25/30

    (Contd.)

    Grid Computing Systems:

    Contrary to clusters, grids are usually

    composed of different types of computers

    (hardware, OS, network, security, etc.)

    Resources from different organizations are

    brought together to allow collaboration

    Examples: SETI@home, WWW

  • 7/28/2019 Distributed systems-A Brief Introduction

    26/30

    DISTRIBUTED

    INFORMATION SYSTEMS:

    Goal: Distribute information across severalServers.

    Remote processes called Clients access theservers to manipulate the information

    Different communication models are used.

    The most usual are RPC (Remote ProcedureCalls) and the object oriented RMI (RemoteMethod Invocations)

  • 7/28/2019 Distributed systems-A Brief Introduction

    27/30

    (Contd.)

    Often associated with Transaction systems

    Examples:

    Banks;

    Travel agencies;

    Rent-a-Cars; Etc

  • 7/28/2019 Distributed systems-A Brief Introduction

    28/30

    DISTRIBUTED PERVASIVE

    SYSTEMS:

    These are the distributed systems involving mobile

    and embedded computer devices like Small,

    wireless, battery-powered devices (PDAs, smartphones, sensors, wireless surveillance cams,

    portable ECG monitors, etc.)

    These systems characterized by their instability

    when compared to more traditional distributedsystems

  • 7/28/2019 Distributed systems-A Brief Introduction

    29/30

    (Contd.)

    Pervasive Systems are all around us, and ideallyshould be able to adapt to the lack of humanadministrative control:

    Automatically connect to a different network;

    Discover services and react accordingly;

    Automatic self configuration (E.g.: UPnP

    Universal Plug and Play) Examples: Home Systems, Electronic Health

    Care Systems, Sensor Networks, etc.

  • 7/28/2019 Distributed systems-A Brief Introduction

    30/30

    SUMMARY

    Distributed systems are everywhere

    Internet, intranet, wireless networks.

    Resource sharing is the main motivating

    factor for constructing distributed systems.

    The construction of distributed systems

    produces many challenges like Securecommunication over public networks.