Top Banner
03/21/22 ROC/OceanStore Winter Ret reat 2002 1 Introspective Replica Management in OceanStore Dennis Geels
15

7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

1

Introspective Replica Management in OceanStore

Dennis Geels

Page 2: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

2

Problem Description

Page 3: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

3

Replica Data Structure

Heartbeats• Signed (name version) mapping

• Version Metadata• Chain of Metadata blocks for recent versions

• Resource Accounting• % of each version stored locally• Access frequency• Payment/contract info (eventually)

Page 4: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

4

Read Algorithm and Latencies

1) Open Replica– One Tapestry lookup round trip

2) Determine version– One round trip to parent replica

3) Read BTree– Round trip to parent replica per level of

BTree, or– Forward request to parent (one large transfer)

Page 5: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

5

Why Bother?

• Problems caused by poor Replica Management:

1) High access latency

2) Sensitivity to Network Failure

3) Poor load sharing

Page 6: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

6

Solution

1) Keep Replica near clients• Makes OceanStore behave like a local area

file system• Improves latency, robustness, load sharing

2) Do work ahead of time• Avoids initial wide-area hit

Page 7: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

7

How to Prefetch?

• Algorithm:1) Cluster files

– Manually / automatically

2) Detect access to Cluster– Possibly predict use via temporal patterns?

3) Prefetch Cluster in stages– Initiate read process

– More effort expended on most likely files

Page 8: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

8

Who Prefetches?

• Client machines– Access to user activity stream– Limited resources

• Proxy machine– Off-node helper with extra storage, better

network connectivity

Page 9: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

9

Where do we find proxies?

• Choose machine along search path– Saves work in following Tapestry lookup

• Keep proxy on retainer– Quick lookup, simple contracts

• Bulletin board– Post requests to third-party server– Any available proxy responds

Page 10: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

10

Example: Using Search Path

• Clients dispatch prefetch requests along normal read path

• Can use TTL to place more important replicas nearer

??

?

Tapestry lookup path

Page 11: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

11

Example: Proxies on Retainer

• Client machines maintain contact with small number of local proxies

• Can find resources off lookup path

• Direct communication, simple reputation management

?

Tapestry lookup path

?

Page 12: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

12

Example: Using Bulletin Board

• Third party accepts requests for various services

• Local proxies with available resources receive updates

• Very flexible, general infrastructure support for proxies

?

Tapestry lookup path

??

Page 13: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

13

Future Work

• Smart decisions when traffic dominated by updates– Fewer replicas often better

• Large scale testing, simulation

Page 14: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

14

Conclusion

Introspective Replica Management may negate the problems of wide-area storage

OceanStore will (hopefully) feel like a local network file system.

Page 15: 7/15/2015ROC/OceanStore Winter Retreat 2002 1 Introspective Replica Management in OceanStore Dennis Geels.

04/19/23 ROC/OceanStore Winter Retreat 2002

15

Acknowledgements

• My Wife, Cheryl