

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Chris Brooks Department of Computer Science University of San Francisco ?? Department of Computer Science — University of San Francisco – p.1/
What is a distributed system? (Couloris) “A distributed system is one in which hardware or software components communicate or coordinate their actions only by passing messages.” (Tanenbaum) “A distributed system is a collection of independent computers that appear to the users of the system as a single computer.” (Lamport) “You know you have one when the crash of a computer you’ve never heard of stops you from getting any work done.” All of these get at different aspects of the issue ... ?? Department of Computer Science — University of San Francisco – p.2/
Can share expensive resources or data Economics A collection of PCs can provide better price/performance than a single mainframe. Speed A distributed system will often have more computing power than a single mainframe. Inherent distribution Often, your data/users/resources are geographically distributed ?? Department of Computer Science — University of San Francisco – p.3/
Reliability If one node fails, the rest of the system can continue Incremental growth Components can be added or replaced in small increments.. ?? Department of Computer Science — University of San Francisco – p.4/
Software design is much more complicated. Lack of appropriate tools/languages Disagreement on principles: how much should users know about the system? How much the system handle on a user’s behalf? Potential network saturation Privacy and security issues Allowing resources to be shared can lead to data leakage Extra sysadmin work
Transparency Flexibility Dependability Performance Scalability
single-system image The goal of transparency is a From the user’s POV, it looks like a single machine. Types of transparency: Location transparency - Users cannot tell where their resources are actually located. Migration transparency - Resources can move without changing their names. Replication transparency - the number of copies of a resource is hidden from users. Concurrency transparency - Users can share resources without being aware of the presence of other users. Parallelism transparency - A task can be run on ?? Department of Computer Science — University of San Francisco – p.7/ multiple machines without the user being aware of it.
Is transparency always a good thing? What is the downside? ?? Department of Computer Science — University of San Francisco – p.8/
Flexibility refers to how easy or difficult it is to change or reconfigure a system. The research question is how to best provide flexibility. In the OS world, this debate shows up in the comparison of monolithic kernels and microkernels. Monolithic kernel - Provides most services on its own Microkernel - Only handles a simple set of services. Most other services are implemented at the user level. Microkernel is very flexible and modular; services can be added, deleted, or moved without much reconfiguration. Monolithic kernel gives better performance. ?? Department of Computer Science — University of San Francisco – p.9/
There are several different aspects of reliability: Availability: what fraction of the time is the system usable? Integrity: Data must be kept consistent. (this sometimes clashes with availability) Security: Unauthorized usage must be prevented. Fault tolerance: How unpleasantly does the system fail? Is data lost? Can recovery happen? ?? Department of Computer Science — University of San Francisco – p.10/
Performance is trickier than it appears. lots of possible metrics Response time Throughput System utilization Network capacity Typically, communication costs dominate parallelism that we would coarser-grained This leads to a see in a parallel computer.
Client/server model Remote Procedure Call Distributed Shared Memory Group Communication/multicast/Peer-to-peer Distributed objects Web services