Client_server
Client_server
Distributed Systems
This Week
Early Computers
Control Rooms
Centralized
controls
Complex
interfaces
Very complicate
Distributed Systems
A Today’s office ?!
Internet
Today’s Mainframes
• Centralized services
- Data storage
- Data indexing
(google & co.)
- Communication
(email, chat, sykpe)
- Rich Internet
Applications (RIA)
Distributed Systems
Mobile Computing
- Aim is to work
anywhere, anytime
- Home based work
- During travel,
in hotel, …
Distributed Systems
Centralized Systems
Distribution Cons
3 architectures
5 layers
Computing Layers
– File Server
– Network (N-tier)
Distributed Systems
Client/Server Architecture
Client/Server Architecture
Clients
Thin client – a personal computer that does not
have to be very powerful because it only presents
the user interface to the user.
– Largely for interaction with processing layers
– Increasingly PDA’s, Handhelds or Smart phones
Fat client – a typically powerful personal computer
– capable of independent application processes
– Also notebook computer or workstation
Distributed Systems
Client/Server Architecture
Servers
• DATA, PROCESS & INTERFACE layers
distributed across client PCs and one, or more,
servers (typically more powerful / capable than file
server)
Distributed Systems
Distribution Types
• Distributed Presentation
Client/Server Architecture
Distributed Presentation
• Distributed Presentation
– Presentation & presentation logic layers reside on client
– Rest of the system could be an existing legacy
database
• Good, because
– Rapid implementation
– Fast, familiar interface to existing database
• Bad because
– System functionality can’t be significantly improved
– Doesn’t maximise client PC potential
Distributed Systems
• Good, because
– Only application server need be maintained to ensure
integrity (beware stored procedures embedded in
database)
– Simplified, stable client configuration & maintenance
– Greater flexibility
• Bad, because
– Complexity of design / how best to partition the system?
– Available prototypes?
– Again, potential withdrawn from client PCs
Distributed Systems
3-tier system
Data
Business logic /
process /
application
Interface /
presentation
Distributed Systems
DATA
STORE & DATA LAYER
MANIPULATION DATABASE
RETRIEVE
LAYER
Distributed Systems
Distributed Data
& Application
• User
• Client
• Application
Server
• Database
Server
Distributed Systems
Network Architecture
for Information Systems
The greatest potential of this approach is its
applicability to redesign of traditional
information systems to run on an intranet
• Good, because
– Unified, easy-to-interpret presentation interface
– Enormous flexibility
– Java, etc. allows platform independence
– Unified content structure (HTML)
• Bad, because
– Technologies involved are undergoing rapid
development
– Any others? Security? Pace of working life?
Distributed Systems
Network Computing
System:
Internet/Intranet
• User
• Client
• Web Server
• Application Server
• Database Server
Distributed Systems
Relational Databases
A database example
Distributed Systems