SimpleChubby: a simple distributed lock service

نویسندگان

  • Jing Pu
  • Mingyu Gao
  • Hang Qu
چکیده

We implement a distributed lock service called SimpleChubby similar to the original Google Chubby lock service[1]. It intends to help implement distributed synchronization. SimpleChubby exposes a simple Unix-like file system interface combined with lock primitives and event subscription. Leveraging such interface, we build three distributed synchronization applications, namely leader election, group membership, and distributed barriers. SimpleChubby uses a server-client architecture, and we put great efforts to achieve fault tolerance where [1] does not provide many details. Server fault tolerance is achieved by combining the Viewstamp protocol [4] which we implement from scratch and a server-client cooperation mechanism to recover non-persistent server states. Server failure is transparent to users, and client failure is handled correctly by reclaiming its holding locks. In the following, SimpleChubby API and its semantics are described in section 2, the system architecture and normal-case processing mechanism are described in section 3, the fault tolerance mechanism is discussed in section 4, and in section 5, three applications are shown to illustrate how SimpleChubby API is used to build distributed synchronization applications, and to give a detailed description about the system workflow.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ZooKeeper: Wait-free Coordination for Internet-scale Systems

In this paper, we describe ZooKeeper, a service for coordinating processes of distributed applications. Since ZooKeeper is part of critical infrastructure, ZooKeeper aims to provide a simple and high performance kernel for building more complex coordination primitives at the client. It incorporates elements from group messaging, shared registers, and distributed lock services in a replicated, c...

متن کامل

DISTRIBUTED SYSTEMS B534 SURVEY PAPER The Chubby Lock Service

This is a survey paper written for the class B534, Distributed Systems. The purpose of this paper is to encourage us to learn new things about how distributed systems come to work in reality and how they are actually evaluated and applied. The topic which is to be presented in this paper is the Chubby Lock service that is implemented by Google and is part of Google Labs. An important point to t...

متن کامل

Distributed Lock Manager

In this paper, we describe Distributed Lock Manager to provide reader with thorough insight into the functionality and evolution of distributed lock manager. Apart from the fact that at present, different solutions for implementation of DLM are available in the market, the insight presented applies to all, in general. We also describe Chubby lock service which is intended to provide coarse-grai...

متن کامل

Distributed Generic Name Service

On many distributed platforms, consensus among multiple servers should be obtained in order to maintain consistent system state. Paxos has been selected as the core of many different distributed services, such as lock services and storage services. This report presents an empirical study on a name service based on Paxos in a virtualized environment. Details of the design as well as matters conc...

متن کامل

Bizur: A Key-value Consensus Algorithm for Scalable File-systems

Bizur is a consensus algorithm exposing a key-value interface. It is used by a distributed file-system that scales to 100s of servers, delivering millions of IOPS, both data and metadata, with consistent low-latency. Bizur is aimed for services that require strongly consistent state, but do not require a distributed log; for example, a distributed lock manager or a distributed service locator. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014