F1.3/4 Naming/Coordination Flashcards

1
Q

What are some examples of Flat naming?

A

Broadcasting
Forwarding Pointer
Home-based approach

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain broadcasting naming

A

Request entity to return its current location (for example ARP)

Drawbacks: Cannot scale beyond LAN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain Forwarding pointer and one drawback with it

A

When the entity moves, it leaves a pointer to next location

Drawback: Geographical scalability problems, too long chain of pointers introduce problems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain home-based approach

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the problem with physical clocks? And whats the solution

A

Problem: We need the exact time
Solution: Universal Coordinated Time (UTC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s Internal- and External synchronization?

A

Internal: Keep clocks precise
External: Keep clocks accurate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What’s the berkely algorithm?

A

Let time server scan machines, calculate the average time of all machines and inform each machine on how to correct their time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does logical clocks do?

A

Count number of events that occurred instead of time elapsed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain lamports logical clocks

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What an assumption of Total-ordered multicast?

A

Communication is reliable and that we are using FIFO

How well did you know this?
1
Not at all
2
3
4
5
Perfectly