The problem e Application Integration and distributed processing are the same thing P Constructing information-sharing distributed systems from di Iverse sources ° heterogeneous networked physically disparate multi-vendor Distributed Systems Frameworks
Distributed Systems Frameworks 8 The Problem Application Integration and Distributed Processing are the same thing Constructing information-sharing distributed systems from diverse sources: heterogeneous networked physically disparate multi-vendor
常见分布式应用模式 Client- Server Computing Client code Server code Stub Skeleton Infrastructure Client Thin or fat? Distributed Systems Frameworks
Distributed Systems Frameworks 9 常见分布式应用模式 Client Code Stub Server Code Skeleton Infrastructure Client: Thin or Fat? • Client – Server Computing
常见分布式应用模式 ° Multi- Tier systems -- User Interface Persistent Store separates persistence from logic and logic from presentation all activity originates in user interface arrows represent client-server relation Distributed Systems Frameworks
Distributed Systems Frameworks 10 常见分布式应用模式 Multi-Tier Systems separates persistence from logic and logic from presentation all activity originates in user interface arrows represent client-server relation Business Logic User Interface Persistent Store
常见分布式应用模式 ° Web applications Firewall Http Servers Business ogIc CGI/ Servlets Data sto User Interface interaction initiated by user UI based on HTML, Java, Javascript,etc CGI/Servlet composes HTML, forwards interaction requests to business logic Distributed Systems Frameworks
Distributed Systems Frameworks 11 常见分布式应用模式 Web Applications interaction initiated by user UI based on HTML, Java, Javascript, etc. CGI/Servlet composes HTML, forwards interaction requests to business logic Business Logic User Interface Data Store Firewall HTTP Servers CGI / Servlets
常见分布式应用模式 Peer-to-Peer Systems Application Notifications Message Persistent Store queue User Interface (mixed initiative) Monitor Enterprise applications An architecture where there is no special machine or machines that provide a service or manage the network resources Instead all responsibilities are uniformly divided among all machines, known as peers. Peers can serve both as clients and servers. Distributed Systems Frameworks
Distributed Systems Frameworks 12 常见分布式应用模式 Peer-to-Peer Systems Application User Interface (mixed initiative) Persistent Store Monitor Enterprise Applications Message queue • An architecture where there is no special machine or machines that provide a service or manage the network resources. • Instead all responsibilities are uniformly divided among all machines, known as peers. Peers can serve both as clients and servers