chapter 4 Flashcards
Due to the absence of shared memory in distributed systems, how does communication occur?
processes build messages in their own address space and then execute system calls to send them
what is the drawback of the OSI model?
- focuses on message passing only
- unneeded functionality
- violates access transparency
list and explain low-level layers?
- physical - bit implementation and transmission b/n sender and receiver.
- datalink - slices bits into frames for flow and error control
- network - describes packet routing
what is the lowest-level interface for many DS?
network layer
what is the transport layer in a DS?
- provides actual communication facilities [ TCP UDP ]
what is the middleware layer in a DS?
- provides common services and protocols to be used by d/t applications
give examples of services provided by the middleware layer?
- un marshaling
- naming - easy resource sharing
- security
- scaling - replication / caching
list types of communications.
- transient, persistent, synchronous, async
what is a transient comm?
comm server discards messages if not received by receiver
what is persistent comm?
comm server stores messages until they are delivered
what is a sync comm?
sender is blocked until its request is accepted
_____________ aims at a high level persistent async comm?
message oriented middleware
well engineered procedures operate in ___________?
isolation / blackbox
_____________ is used to hide comm b/n caller and callee?
procedure call methods
what does wrapping a parameter mean?
transforming a value into bytes
what does packing parameters into messages mean?
parameter marshaling
which of the f.f assumption is false?
A. while a procedure is executing, parameter values should not be assumed
B. any data operated on is passed in by parameters
C. global data references can not be operated on
D. none
C
___________ is used to achieve access transparency?
remote reference mechanism
how can remote references be used in RPC?
passed in as parameters
what type of RPC comm gets rid of strict req / rep policy?
- async, allows the client to continue without a reply from server