Peer-to-Peer Flashcards

1
Q

Distinguish between centralised and decentralised P2P networks

A

In a centralised network, the directory system uses the client-server paradigm, but storing
and downloading of the files are done using peer-to-peer paradigm.
A decentralised network does not depend on a central directory system

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

What are the advantages and disadvantages of a centralised P2P network?

A

A central network makes the maintenance of the directory simple, but has such drawbacks
such as creating huge traffic and vulnerability to attacks.

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

What are the advantages and disadvantages of a decentralised P2P network?

A

A decentralised network generates less traffic and is less vulnerable to attacks, but is more
difficult to build.

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

Distinguish between structured and unstructured decentralised P2P networks.

A

In an unstructured network, the nodes are linked together randomly. A structured network
uses a predefined set of rules to link nodes together.

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

How many points in a DHT with m = 10?

A

The number of points is 210 or 1024

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

Explain problems encountered if IP addresses are used as the node identifiers in a DHT

A

There are not only IP addresses that we need to store; we need to store other identities such
as filenames. A hash function creates a unified set of id object entities

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

Explain two strategies used for storing an object in a DHT-based network.

A

The two strategies are called direct and indirect.
1) In the direct strategy, the object is stored in a peer whose ID is somehow closest to the
object ID.
2) In the indirect strategy, the object is stored in a peer that owns the object, but a reference
is stored in a peer whose ID is somehow closest to the object ID.

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