chubby osdi 06
play

Chubby (OSDI 06) strong consistency, by Google Problem everyone - PowerPoint PPT Presentation

Chubby (OSDI 06) strong consistency, by Google Problem everyone needs consistency Paxos isnt the right abstraction (?) Solution distributed lock manager & filesystem Lock API Acquire, Release sequencer operations File API


  1. Chubby (OSDI ‘06) strong consistency, by Google

  2. Problem • everyone needs consistency • Paxos isn’t the right abstraction (?)

  3. Solution distributed lock manager & filesystem

  4. Lock API • Acquire, Release • sequencer operations

  5. File API • Open, Close • Create, Delete • GetContentsAndStat • SetContents, SetACL • event notifications

  6. Sessions • problem : clients can crash while holding locks • solution : locks get leases, too! • KeepAlive

  7. Internal Architecture • quorum of five replicas • master elected with lease • database log replicated via consensus

  8. Safety • crashes • communication delays • limited clock drift

  9. Failover • master fails to be reelected, lease expires • new master gathers state from clients before servicing requests • grace period freezes clients

  10. Handles Sequencers API Use Cases

Recommend


More recommend