F1.3/4 Naming/Coordination Flashcards
(10 cards)
What are some examples of Flat naming?
Broadcasting
Forwarding Pointer
Home-based approach
Explain broadcasting naming
Request entity to return its current location (for example ARP)
Drawbacks: Cannot scale beyond LAN
Explain Forwarding pointer and one drawback with it
When the entity moves, it leaves a pointer to next location
Drawback: Geographical scalability problems, too long chain of pointers introduce problems
Explain home-based approach
Let a “home” keep track of where an entity is. If someone wants to connect to entity, first connect to the “home” and because the home knows where the entity is, it forwards the request to the entity.
What is the problem with physical clocks? And whats the solution
Problem: We need the exact time
Solution: Universal Coordinated Time (UTC)
What’s Internal- and External synchronization?
Internal: Keep clocks precise
External: Keep clocks accurate
What’s the berkely algorithm?
Let time server scan machines, calculate the average time of all machines and inform each machine on how to correct their time.
What does logical clocks do?
Count number of events that occurred instead of time elapsed.
Explain lamports logical clocks
Each process has a counter Ci , for each happening of that process, the counter increments. Attach the the Ci or t to each message to sync the system
What an assumption of Total-ordered multicast?
Communication is reliable and that we are using FIFO