02e - ΣΔΥ50 - ΟΣΣ3 - P2P - Pastry

download 02e - ΣΔΥ50 - ΟΣΣ3 - P2P - Pastry

of 12

Transcript of 02e - ΣΔΥ50 - ΟΣΣ3 - P2P - Pastry

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    1/12

    (P2P systems)

    To Pastry

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    2/12

    P2P ,

    2

    (overlay network)

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    3/12

    P2P

    3

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    4/12

    Pastry;

    To Pastry P2P , DHT.

    (keys) (values)

    () .

    , .

    DHT , (lookup (key)),

    . 4

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    5/12

    Pastry 128-bitGUID(global unique

    identifier) IP public key

    GUID 2b(b 2

    4, GUID 4 16 ) GUIDs

    namespace(0 21281 ).

    O(log2bN) N:

    : (Leaf Set, L)

    (Routing table, R)

    (Neighborhood Set, M)

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    6/12

    Pastry

    Leaf set: L

    ( L

    8 16)

    Routing Table ( - prefix-

    based)

    Neighborhood Set:M

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    7/12

    log2bN

    2b1 (N )

    .

    i GUID

    GUID i, i+1 2b-1 GUID

    .

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    8/12

    GUID: 10233102 (b= 2, L= 8)0 1 2 3

    02212102 22301203 31203203

    11301233 12230203 13021022

    10031203 10132102 10323302

    10200230 10211302 1022302

    10230322 10231000 10232121

    10233001 10233232

    10233120

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    9/12

    ()D leaf set, leaf

    D prefix GUID GUID

    , D prefix GUID , GUID

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    10/12

    A: GUID D: Li: i

    th GUID leaf set LD

    : lth D

    shl(A, B): prefix GUID/A BRi

    : (l, i)th

    (1) D leaf set

    (2) (

    )

    (3) ( )

    : A. Rowstron and P. Druschel.

    "Pastry: Scalable, decentralized object location and routing

    for large-scale peer-to-peer systems".

    IFIP/ACM Middleware Conference, Nov 2001 pp. 329-350.

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    11/12

    Pastry

    11

    0 FFFFF....F (2128-1)

    65A1FC

    D13DA

    D471F1

    D467C4

    D46A1C

    .

    : 0

    (2128-1).

    65A1FC

    D46A1C

    8 (l = 4).

    (-

    ).

  • 7/25/2019 02e - 50 - 3 - P2P - Pastry

    12/12

    (1) A. Rowstron and P. Druschel, "Pastry: Scalable, distributed objectlocation and routing for large-scale peer-to-peer systems". IFIP/ACMInternational Conference on Distributed Systems Platforms(Middleware), Heidelberg, Germany, pages 329-350, November, 2001

    (2) Jeff Odom slides:http://x1.cs.umd.edu/818/docs/pastry.ppt