



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Distributed Software Develop; Subject: Computer Science; University: University of San Francisco (CA); Term: Unknown 1989;
Typology: Study notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!




??
-^ Networking overview^ •^ Seven-layer model •^ Intro to Distributed Systems^ •^ Characteristics^ •^ Desirable Properties^ •^ Dealing with Time
Department of Computer Science — University of San Francisco – p. 2/
??
-^ Networking overview^ •^ Seven-layer model •^ Intro to Distributed Systems^ •^ Characteristics^ •^ Desirable Properties^ •^ Dealing with Time
Department of Computer Science — University of San Francisco
??
-^ Modern network design takes advantage of the idea of^ layering •^ A particular service or module is constructed as a black box. •^ Users of that service do not need to know its internals, justits interface. •^ This makes it easy to later build new modules (or layers)that use the lower layers. •^ For example, HTTP is built on top of TCP.^ •^ A web browser does not typically need to worry aboutthe implementation of TCP, just that it works. •^ Unlike OO modules, the layers in a networked systemcomprise protocols that span multiple machines.
Department of Computer Science — University of San Francisco – p. 5/
??
??
Department of Computer Science — University of San Francisco – p. 8/
??
Department of Computer Science — University of San Francisco
??
-^ This is the lowest-level layer, responsible for transmitting 0sand 1s. •^ Governs transmission rates, full or half-duplex, etc. •^ A modem works at the physical layer. •^ Lots of interesting problems at this level that we won’t getinto ...
Department of Computer Science — University of San Francisco – p. 11/
??
??
??
-^ There are lots of wrinkles and extensions to HTTP^ •^ Cookies to help save state^ •^ CGI, SOAP to pass data and execute code as the resultof an HTTP request.^ •^ Web caching to store data closer to clients. •^ These are all possible because HTTP is an open protocol. •^ This is also what makes it possible for different companiesto write web browsers and web servers that seamlessly worktogether.
Department of Computer Science — University of San Francisco –
-^ The modern networking stack can be conceptually brokeninto a set of layers. •^ Each layer has a specific, well-defined function.^ •^ Acts as a black box •^ Higher-level layers build on the functionality of lower-levellayers. •^ We’ll be primarily concerned with the Transport andApplication layers.
Department of Computer Science — University of San Francisco – p. 22/
??
-^ Networking overview^ •^ Seven-layer model •^ Intro to Distributed Systems^ •^ Characteristics^ •^ Desirable Properties^ •^ Dealing with Time
Department of Computer Science — University of San Francisco – p. 23/
??
Department of Computer Science — University of San Francisco –
Department of Computer Science — University of San Francisco – p. 25/
??
Department of Computer Science — University of San Francisco – p. 26/
??
Department of Computer Science — University of San Francisco –
-^ Transparency •^ Flexibility •^ Dependability •^ Performance •^ Scalability
Department of Computer Science — University of San Francisco – p. 28/
??
-^ The goal of transparency is a
single-system image
-^ From the user’s POV, it looks like a single machine. • Types of transparency: •^ Location transparency - Users cannot tell where theirresources are actually located. •^ Migration transparency - Resources can move withoutchanging their names. •^ Replication transparency - the number of copies of aresource is hidden from users. •^ Concurrency transparency - Users can share resourceswithout being aware of other users. •^ Parallelism transparency - A task can be run on multiplemachines without the user being aware of it.
Department of Computer Science — University of San Francisco – p. 29/
??
-^ Is transparency always a good thing? What is the downside?
Department of Computer Science — University of San Francisco –
b^ on message delay
-^ Every process^ p^
has a local clock^ C
which drifts at ap rate of^ r >^0 and^ ∀
′p and ∀t > t: C(t)−C− 1 p (1 + r)≤ ′(t)p≤^ (1 +^ r)′ (^) t−t
-^ In English, clock drift has an upper and lower bound. •^ Also, bounds on the amount of time needed for aprocess to execute a single step. • Synchronous communication allows you to implementapproximately synchronized clocks, even in the presence offailure.
Department of Computer Science — University of San Francisco – p. 37/
??
relevant^ chages in the same order.^ •^ Example: updating a replicated database. • Depending on the communication model, this may be quitedificult. • Insight: often, it doesn’t matter exactly what time anoperation happens, but what order events occur in. • (exception: hard real-time systems)
Department of Computer Science — University of San Francisco – p. 38/
??
??
-^ The algorithms we’ll look at in this class will not need todepend on the^ absolute
time that something happens.
-^ Instead, we’ll be interested in the
logical^ time, or^ causal order^ in which events occur. • As long as all processes agree on the order in which a set ofevents that influence each other occurs, we’re OK. • We’ll spend time next week looking at this problem.
Department of Computer Science — University of San Francisco – p. 41/
??
-^ There are lots of desirable properties and design issues fordistributed systems.^ •^ Performance, scalability, reliability, flexibility,transparency^ •^ Often, we must sacrifice one for another^ •^ Some (e.g. Parallel transparency) are not possible withtoday’s technology. •^ Communication can be either
synchronous^ or^ asynchronous
-^ Time is a very sticky problem to deal with in distributedsystems. •^ Characterizing types of failure will help us identify what ouralgorithms and systems can and cannot stand up to.
Department of Computer Science — University of San Francisco –