Loading…
Rethink the Linearizability Constraints of Raft for Distributed Key-Value Stores
Distributed key-value stores have been widely used as NoSQL systems or the storage layer of distributed relational databases for various big data applications (e.g., social networking, graph processing, machine learning, etc.) due to their excellent scalability and adaptability. Although modern hard...
Saved in:
Main Authors: | , , , |
---|---|
Format: | Conference Proceeding |
Language: | English |
Subjects: | |
Online Access: | Request full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
cited_by | |
---|---|
cites | |
container_end_page | 1882 |
container_issue | |
container_start_page | 1877 |
container_title | |
container_volume | |
creator | Wang, Yangyang Wang, Zikai Chai, Yunpeng Wang, Xin |
description | Distributed key-value stores have been widely used as NoSQL systems or the storage layer of distributed relational databases for various big data applications (e.g., social networking, graph processing, machine learning, etc.) due to their excellent scalability and adaptability. Although modern hardware such as Flash-based SSDs and the high-speed network is commonly deployed in key-value stores to promote performance, the distributed consensus and consistency module (e.g., Raft) is typically the most time-consuming part in distributed systems. The reason lies in that Raft introduces some very strict constraints to ensure the linearizability. Therefore, in this paper, we rethink these constraints in-depth and find that some of them are not necessary, and can be broken to accelerate the performance significantly without breaking the linear consistency for distributed key-value storage systems. An improved distributed consensus algorithm called KV-Raft is proposed in this paper and implemented in an industry-level distributed key-value system, i.e., TiKV. The experimental results suggest that both the write and the read performance can be accelerated significantly by KV-Raft. For example, in the typical read/write-balanced case, KV-Raft promotes the system throughput by 53.6%, and reduce the average write and read latency by 37.8% and 29.4%, respectively. |
doi_str_mv | 10.1109/ICDE51399.2021.00170 |
format | conference_proceeding |
fullrecord | <record><control><sourceid>ieee_CHZPO</sourceid><recordid>TN_cdi_ieee_primary_9458806</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>9458806</ieee_id><sourcerecordid>9458806</sourcerecordid><originalsourceid>FETCH-LOGICAL-i203t-dc3815962a53b064397de1e5c28924bab00936505c6c477f8086f4eb30e0cf8c3</originalsourceid><addsrcrecordid>eNotjs1Kw0AURkdBsNQ8gS7mBVLvnf9ZSlq1WFDqD-7KJL1DR2siyXQRn96CfpsDZ3H4GLtCmCGCv15W84VG6f1MgMAZAFo4YYW3Dq1w6NEpecomQlpdgjDv56wYhg84zitEDRP2tKa8S-0nzzviq9RS6NNPqNM-5ZFXXTvkPqQ2D7yLfB1i5rHr-TwddaoPmbb8gcbyLewPxJ9z19Nwwc5i2A9U_HPKXm8XL9V9uXq8W1Y3qzIJkLncNtKh9kYELWswSnq7JSTdCOeFqkN9vCiNBt2YRlkbHTgTFdUSCJroGjlll3_dRESb7z59hX7ceKWdAyN_AbjPUCo</addsrcrecordid><sourcetype>Publisher</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype></control><display><type>conference_proceeding</type><title>Rethink the Linearizability Constraints of Raft for Distributed Key-Value Stores</title><source>IEEE Xplore All Conference Series</source><creator>Wang, Yangyang ; Wang, Zikai ; Chai, Yunpeng ; Wang, Xin</creator><creatorcontrib>Wang, Yangyang ; Wang, Zikai ; Chai, Yunpeng ; Wang, Xin</creatorcontrib><description>Distributed key-value stores have been widely used as NoSQL systems or the storage layer of distributed relational databases for various big data applications (e.g., social networking, graph processing, machine learning, etc.) due to their excellent scalability and adaptability. Although modern hardware such as Flash-based SSDs and the high-speed network is commonly deployed in key-value stores to promote performance, the distributed consensus and consistency module (e.g., Raft) is typically the most time-consuming part in distributed systems. The reason lies in that Raft introduces some very strict constraints to ensure the linearizability. Therefore, in this paper, we rethink these constraints in-depth and find that some of them are not necessary, and can be broken to accelerate the performance significantly without breaking the linear consistency for distributed key-value storage systems. An improved distributed consensus algorithm called KV-Raft is proposed in this paper and implemented in an industry-level distributed key-value system, i.e., TiKV. The experimental results suggest that both the write and the read performance can be accelerated significantly by KV-Raft. For example, in the typical read/write-balanced case, KV-Raft promotes the system throughput by 53.6%, and reduce the average write and read latency by 37.8% and 29.4%, respectively.</description><identifier>EISSN: 2375-026X</identifier><identifier>EISBN: 9781728191843</identifier><identifier>EISBN: 172819184X</identifier><identifier>DOI: 10.1109/ICDE51399.2021.00170</identifier><identifier>CODEN: IEEPAD</identifier><language>eng</language><publisher>IEEE</publisher><subject>consensus ; Consensus algorithm ; High-speed networks ; key-value ; linearizability ; Machine learning ; Raft ; Relational databases ; Scalability ; Social networking (online) ; Writing</subject><ispartof>2021 IEEE 37th International Conference on Data Engineering (ICDE), 2021, p.1877-1882</ispartof><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/9458806$$EHTML$$P50$$Gieee$$H</linktohtml><link.rule.ids>309,310,780,784,789,790,27925,54555,54932</link.rule.ids><linktorsrc>$$Uhttps://ieeexplore.ieee.org/document/9458806$$EView_record_in_IEEE$$FView_record_in_$$GIEEE</linktorsrc></links><search><creatorcontrib>Wang, Yangyang</creatorcontrib><creatorcontrib>Wang, Zikai</creatorcontrib><creatorcontrib>Chai, Yunpeng</creatorcontrib><creatorcontrib>Wang, Xin</creatorcontrib><title>Rethink the Linearizability Constraints of Raft for Distributed Key-Value Stores</title><title>2021 IEEE 37th International Conference on Data Engineering (ICDE)</title><addtitle>ICDE</addtitle><description>Distributed key-value stores have been widely used as NoSQL systems or the storage layer of distributed relational databases for various big data applications (e.g., social networking, graph processing, machine learning, etc.) due to their excellent scalability and adaptability. Although modern hardware such as Flash-based SSDs and the high-speed network is commonly deployed in key-value stores to promote performance, the distributed consensus and consistency module (e.g., Raft) is typically the most time-consuming part in distributed systems. The reason lies in that Raft introduces some very strict constraints to ensure the linearizability. Therefore, in this paper, we rethink these constraints in-depth and find that some of them are not necessary, and can be broken to accelerate the performance significantly without breaking the linear consistency for distributed key-value storage systems. An improved distributed consensus algorithm called KV-Raft is proposed in this paper and implemented in an industry-level distributed key-value system, i.e., TiKV. The experimental results suggest that both the write and the read performance can be accelerated significantly by KV-Raft. For example, in the typical read/write-balanced case, KV-Raft promotes the system throughput by 53.6%, and reduce the average write and read latency by 37.8% and 29.4%, respectively.</description><subject>consensus</subject><subject>Consensus algorithm</subject><subject>High-speed networks</subject><subject>key-value</subject><subject>linearizability</subject><subject>Machine learning</subject><subject>Raft</subject><subject>Relational databases</subject><subject>Scalability</subject><subject>Social networking (online)</subject><subject>Writing</subject><issn>2375-026X</issn><isbn>9781728191843</isbn><isbn>172819184X</isbn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2021</creationdate><recordtype>conference_proceeding</recordtype><sourceid>6IE</sourceid><recordid>eNotjs1Kw0AURkdBsNQ8gS7mBVLvnf9ZSlq1WFDqD-7KJL1DR2siyXQRn96CfpsDZ3H4GLtCmCGCv15W84VG6f1MgMAZAFo4YYW3Dq1w6NEpecomQlpdgjDv56wYhg84zitEDRP2tKa8S-0nzzviq9RS6NNPqNM-5ZFXXTvkPqQ2D7yLfB1i5rHr-TwddaoPmbb8gcbyLewPxJ9z19Nwwc5i2A9U_HPKXm8XL9V9uXq8W1Y3qzIJkLncNtKh9kYELWswSnq7JSTdCOeFqkN9vCiNBt2YRlkbHTgTFdUSCJroGjlll3_dRESb7z59hX7ceKWdAyN_AbjPUCo</recordid><startdate>202104</startdate><enddate>202104</enddate><creator>Wang, Yangyang</creator><creator>Wang, Zikai</creator><creator>Chai, Yunpeng</creator><creator>Wang, Xin</creator><general>IEEE</general><scope>6IE</scope><scope>6IH</scope><scope>CBEJK</scope><scope>RIE</scope><scope>RIO</scope></search><sort><creationdate>202104</creationdate><title>Rethink the Linearizability Constraints of Raft for Distributed Key-Value Stores</title><author>Wang, Yangyang ; Wang, Zikai ; Chai, Yunpeng ; Wang, Xin</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-i203t-dc3815962a53b064397de1e5c28924bab00936505c6c477f8086f4eb30e0cf8c3</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2021</creationdate><topic>consensus</topic><topic>Consensus algorithm</topic><topic>High-speed networks</topic><topic>key-value</topic><topic>linearizability</topic><topic>Machine learning</topic><topic>Raft</topic><topic>Relational databases</topic><topic>Scalability</topic><topic>Social networking (online)</topic><topic>Writing</topic><toplevel>online_resources</toplevel><creatorcontrib>Wang, Yangyang</creatorcontrib><creatorcontrib>Wang, Zikai</creatorcontrib><creatorcontrib>Chai, Yunpeng</creatorcontrib><creatorcontrib>Wang, Xin</creatorcontrib><collection>IEEE Electronic Library (IEL) Conference Proceedings</collection><collection>IEEE Proceedings Order Plan (POP) 1998-present by volume</collection><collection>IEEE Xplore All Conference Proceedings</collection><collection>IEEE Xplore</collection><collection>IEEE Proceedings Order Plans (POP) 1998-present</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Wang, Yangyang</au><au>Wang, Zikai</au><au>Chai, Yunpeng</au><au>Wang, Xin</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>Rethink the Linearizability Constraints of Raft for Distributed Key-Value Stores</atitle><btitle>2021 IEEE 37th International Conference on Data Engineering (ICDE)</btitle><stitle>ICDE</stitle><date>2021-04</date><risdate>2021</risdate><spage>1877</spage><epage>1882</epage><pages>1877-1882</pages><eissn>2375-026X</eissn><eisbn>9781728191843</eisbn><eisbn>172819184X</eisbn><coden>IEEPAD</coden><abstract>Distributed key-value stores have been widely used as NoSQL systems or the storage layer of distributed relational databases for various big data applications (e.g., social networking, graph processing, machine learning, etc.) due to their excellent scalability and adaptability. Although modern hardware such as Flash-based SSDs and the high-speed network is commonly deployed in key-value stores to promote performance, the distributed consensus and consistency module (e.g., Raft) is typically the most time-consuming part in distributed systems. The reason lies in that Raft introduces some very strict constraints to ensure the linearizability. Therefore, in this paper, we rethink these constraints in-depth and find that some of them are not necessary, and can be broken to accelerate the performance significantly without breaking the linear consistency for distributed key-value storage systems. An improved distributed consensus algorithm called KV-Raft is proposed in this paper and implemented in an industry-level distributed key-value system, i.e., TiKV. The experimental results suggest that both the write and the read performance can be accelerated significantly by KV-Raft. For example, in the typical read/write-balanced case, KV-Raft promotes the system throughput by 53.6%, and reduce the average write and read latency by 37.8% and 29.4%, respectively.</abstract><pub>IEEE</pub><doi>10.1109/ICDE51399.2021.00170</doi><tpages>6</tpages></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | EISSN: 2375-026X |
ispartof | 2021 IEEE 37th International Conference on Data Engineering (ICDE), 2021, p.1877-1882 |
issn | 2375-026X |
language | eng |
recordid | cdi_ieee_primary_9458806 |
source | IEEE Xplore All Conference Series |
subjects | consensus Consensus algorithm High-speed networks key-value linearizability Machine learning Raft Relational databases Scalability Social networking (online) Writing |
title | Rethink the Linearizability Constraints of Raft for Distributed Key-Value Stores |
url | http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-27T18%3A26%3A26IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-ieee_CHZPO&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=Rethink%20the%20Linearizability%20Constraints%20of%20Raft%20for%20Distributed%20Key-Value%20Stores&rft.btitle=2021%20IEEE%2037th%20International%20Conference%20on%20Data%20Engineering%20(ICDE)&rft.au=Wang,%20Yangyang&rft.date=2021-04&rft.spage=1877&rft.epage=1882&rft.pages=1877-1882&rft.eissn=2375-026X&rft.coden=IEEPAD&rft_id=info:doi/10.1109/ICDE51399.2021.00170&rft.eisbn=9781728191843&rft.eisbn_list=172819184X&rft_dat=%3Cieee_CHZPO%3E9458806%3C/ieee_CHZPO%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-i203t-dc3815962a53b064397de1e5c28924bab00936505c6c477f8086f4eb30e0cf8c3%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_id=info:pmid/&rft_ieee_id=9458806&rfr_iscdi=true |