Docsity

Processes, Clients and Servers - Distributed Operating Systems - Lecture Slides, Slides of Operating Systems

Partial preview of the text

Download Processes, Clients and Servers - Distributed Operating Systems - Lecture Slides and more Slides Operating Systems in PDF only on Docsity!

Processes

Clients and Servers

Client-Server Systems

user client Client process System Hardware server Server process System Hardware request response

Overview (I)

  • Common communication patterns in distributed applications
    • Client-Server
    • Group (Multicast)
  • Client: process that requests service
  • Server: process that provides service
  • Client usually blocks until server responds

Overview (II)

  • Client usually invoked by ender users when they require service
  • Sever usually waits for incoming requests
  • Server can have many clients making concurrent requests
  • Server usually a program with special privileges

Middleware

Client process Client middleware Hardware Server process Server middleware Hardware Exchange protocol OS/network services OS/network services

Middleware

  • Definitions
    • A set of common business-unaware services that

enable applications and end-users to interact with

each other across a network

  • DS services that have standard programming

interfaces and protocols, services “sit in the middle”

above OS and network software and below industry-

specific applications

  • The “/” in client/server applications
  • Software nobody wants to pay for 

Commercial Middleware

  • Middleware components that provide only one service
    • HTTP for retrieving remote documents, SUNRPC for RPC
  • Middleware environments that combine many services
    • Integrates RPC, security, directory, time and file services
    • DCE, CORBA, Microsoft DCOM, .NET
  • Compound middleware environments that combine many middleware environments into a single framework - E.g., transaction management + RPC/RMI, Tuxedo

Application Software Architectures

  • Many applications can be considered/designed to be made up of three software components or logical tiers - user interface, processing layer, data layer

Gartner Configurations

Remote Presentation

Remote Data

Distributed Data

Motivation for Multi-Tier Architecture?

Motivation for Multi-Tier Architecture

  • Database implementation independency
  • “Business logic” concentrated in one place
  • Performance improvements & scalability, e.g., - batching requests from many clients to the database - database and business logic tiers implemented by multiple servers