01 Introduction of Distributed System PDF
01 Introduction of Distributed System PDF
01 Introduction of Distributed System PDF
1. 2. 3. 4. 5. 6. 7. 8. What is Distributed System? Distributed System vs Centralized System Advantages of Distributed System Client / Server System Distributed Object Computing Distributed Object Architecture Advantages of Distributed Object Architecture Distributed Object Programming Techniques
Advantages of DSA
Companies are preferring their system decentralized and distributed, because Distributed System allows companies to have better customer services.
Share ability: Allows systems to use each others resources Expandability: Permits new systems to be added as members of the overall system Local Autonomy: Manage local resources Improved performance: Resource replication. Combined processing power of multiple computers provides much more processing power than a centralised system with multiple CPUs Improved reliability and availability: Disruption would not stop the whole system from providing its services as resources spread across multiple computers Potential cost reductions
Chapter 1: Distributed System 10
Client / Server
Client/server is a distributed computing model in which client applications request services from server processes. Clients and servers typically run on different computers interconnected by a computer network.
Client application is a process or program that sends messages to a server via the network. Those messages request the server to perform a specific task, such as looking up a customer record in a database or returning a portion of a file on the servers hard disk. Server process or program listens for client requests that are transmitted via the network. Servers receive those requests and perform actions such as database queries and reading files.
11
12
13
Three-tier Architectures
An important design consideration for large client/server systems is whether a client talks directly to the server, or whether an intermediary process is introduced in-between the client and the server. The former is a two-tier architecture, the latter is a threetier architecture. In the three-tier architecture, process between Server and client (intermediary) process is:
separate the clients and servers. cache frequently accessed server data to ensure better performance and scalability. Performance can be increased by having the intermediary process to distribute client requests to several servers such that requests execute in parallel. The intermediary can also act as a translation service by converting requests and replies to and from a mainframe format, or as a security service that grants server-access only to trusted clients.
Chapter 1: Distributed System 14
15
16
18
19
Middleware
A software layer that sits between applications and the network operating system to hide the different underlying platforms. Provides more distribution transparency. Instead of communicating through operations on low level sockets and using the interfaces of the local file system, middleware offers services for different machines to pass each other messages at a higher abstraction level. Java RMI, CORBA, and DCOM (Distributed Component Object Model).
20
21
22
23