A Distributed Lock Manager Using Paxos : Design and Implementation of Warlock, a Consensus Based Lock Manager
Locking primitives are one of the mechanisms used by distributed systems to synchronize access to shared data or to serialize their actions. Depending on the design, the locking service may constitute a single point of failure. This requires the manager itself to be distributed. Distributed solution...
Main Author: | |
---|---|
Format: | Others |
Language: | English |
Published: |
Uppsala universitet, Institutionen för informationsteknologi
2013
|
Online Access: | http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-198324 |
id |
ndltd-UPSALLA1-oai-DiVA.org-uu-198324 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-UPSALLA1-oai-DiVA.org-uu-1983242013-04-12T16:37:38ZA Distributed Lock Manager Using Paxos : Design and Implementation of Warlock, a Consensus Based Lock ManagerengYethadka, SukumarUppsala universitet, Institutionen för informationsteknologi2013Locking primitives are one of the mechanisms used by distributed systems to synchronize access to shared data or to serialize their actions. Depending on the design, the locking service may constitute a single point of failure. This requires the manager itself to be distributed. Distributed solutions that address this using weak consistency models might lead to diverging states which in some cases are not possible to merge within acceptable effort. Solutions that are based on strong consistency models dictate the requirement of a static cluster. We propose a design that combines Multi-Paxos algorithm with a reconfigurable state machine for a locking service. The primary goal of the service is strong consistency with availability and performance as secondary requirements. We demonstrate the feasibility of such a design by implementing it in Erlang and testing it to check if it conforms to specified requirements. We demonstrate that it can provide the throughput required for a large web application while guaranteeing strong consistency. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-198324IT ; 13 027application/pdfinfo:eu-repo/semantics/openAccess |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
description |
Locking primitives are one of the mechanisms used by distributed systems to synchronize access to shared data or to serialize their actions. Depending on the design, the locking service may constitute a single point of failure. This requires the manager itself to be distributed. Distributed solutions that address this using weak consistency models might lead to diverging states which in some cases are not possible to merge within acceptable effort. Solutions that are based on strong consistency models dictate the requirement of a static cluster. We propose a design that combines Multi-Paxos algorithm with a reconfigurable state machine for a locking service. The primary goal of the service is strong consistency with availability and performance as secondary requirements. We demonstrate the feasibility of such a design by implementing it in Erlang and testing it to check if it conforms to specified requirements. We demonstrate that it can provide the throughput required for a large web application while guaranteeing strong consistency. |
author |
Yethadka, Sukumar |
spellingShingle |
Yethadka, Sukumar A Distributed Lock Manager Using Paxos : Design and Implementation of Warlock, a Consensus Based Lock Manager |
author_facet |
Yethadka, Sukumar |
author_sort |
Yethadka, Sukumar |
title |
A Distributed Lock Manager Using Paxos : Design and Implementation of Warlock, a Consensus Based Lock Manager |
title_short |
A Distributed Lock Manager Using Paxos : Design and Implementation of Warlock, a Consensus Based Lock Manager |
title_full |
A Distributed Lock Manager Using Paxos : Design and Implementation of Warlock, a Consensus Based Lock Manager |
title_fullStr |
A Distributed Lock Manager Using Paxos : Design and Implementation of Warlock, a Consensus Based Lock Manager |
title_full_unstemmed |
A Distributed Lock Manager Using Paxos : Design and Implementation of Warlock, a Consensus Based Lock Manager |
title_sort |
distributed lock manager using paxos : design and implementation of warlock, a consensus based lock manager |
publisher |
Uppsala universitet, Institutionen för informationsteknologi |
publishDate |
2013 |
url |
http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-198324 |
work_keys_str_mv |
AT yethadkasukumar adistributedlockmanagerusingpaxosdesignandimplementationofwarlockaconsensusbasedlockmanager AT yethadkasukumar distributedlockmanagerusingpaxosdesignandimplementationofwarlockaconsensusbasedlockmanager |
_version_ |
1716580171766562816 |