Skip to main content
Top

2020 | OriginalPaper | Chapter

Leadership Uniformity in Raft Consensus Algorithm

Authors : Elias Iosif, Klitos Christodoulou, Marios Touloupou, Antonios Inglezakis

Published in: Information Systems

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The Raft consensus algorithm constitutes a widely-used algorithm not only in the broader area of distributed systems, ut also in private/permissioned blockchains such as Hyperledger Fabric. A Raft-based distributed system (RDS) strongly relies on leader election, which involves a number of time-related parameters. In the Raft-related literature, the process according to which those parameters are set is an under-researched area. Specifically, the use of the uniform distribution is the dominant approach. Motivated by this realization, in this work, we focus on these time parameters proposing the notion of “leadership uniformity” in combination with a series of performance metrics. Leadership uniformity is based on the desirable characteristic of having equality among the nodes who serve as leaders. The proposed performance metrics are straightforward adaptations of widely-used measurements from broad disciplines such as estimation theory. The experimental results of this work justify the appropriateness of the proposed notion of leadership uniformity. Specifically, the best performance was yielded by the utilization of normal distribution from which the time parameters under investigation were drawn.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
In many cases, this number should be less than the \(50\%\) of total number of nodes.
 
2
Raft can only tolerate crash failures and not malicious nodes.
 
3
In a message–passing distributed system a global clock does not apply [32], so, the timings are encoded as (numerical) indices.
 
Literature
1.
go back to reference Lamport, L.: The part-time parliament. In: Concurrency: The Works of Leslie Lamport, pp. 277–317 (2019) Lamport, L.: The part-time parliament. In: Concurrency: The Works of Leslie Lamport, pp. 277–317 (2019)
2.
go back to reference Howard, H., Schwarzkopf, M., Madhavapeddy, A., Crowcroft, J.: Raft refloated: do we have consensus? ACM SIGOPS Oper. Syst. Rev. 49(1), 12–21 (2015)CrossRef Howard, H., Schwarzkopf, M., Madhavapeddy, A., Crowcroft, J.: Raft refloated: do we have consensus? ACM SIGOPS Oper. Syst. Rev. 49(1), 12–21 (2015)CrossRef
3.
go back to reference Lamport, L., Massa, M.: Cheap Paxos. In: International Conference on Dependable Systems and Networks, 2004, pp. 307–314. IEEE (2004) Lamport, L., Massa, M.: Cheap Paxos. In: International Conference on Dependable Systems and Networks, 2004, pp. 307–314. IEEE (2004)
5.
6.
go back to reference Ongaro, D., Ousterhout, J.: In search of an understandable consensus algorithm. In: 2014 USENIX Annual Technical Conference, pp. 305–319 (2014) Ongaro, D., Ousterhout, J.: In search of an understandable consensus algorithm. In: 2014 USENIX Annual Technical Conference, pp. 305–319 (2014)
7.
go back to reference Bano, S., et al.: SoK: consensus in the age of blockchains. In: Proceedings of the 1st ACM Conference on Advances in Financial Technologies, pp. 183–198 (2019) Bano, S., et al.: SoK: consensus in the age of blockchains. In: Proceedings of the 1st ACM Conference on Advances in Financial Technologies, pp. 183–198 (2019)
8.
go back to reference IBM: Build and run a smart contract on a Hyperledger Fabric network with the Raft ordering service (2020) IBM: Build and run a smart contract on a Hyperledger Fabric network with the Raft ordering service (2020)
10.
go back to reference Wood, G., et al.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Proj. Yellow Pap. 151(2014), 1–32 (2014) Wood, G., et al.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Proj. Yellow Pap. 151(2014), 1–32 (2014)
11.
go back to reference Schwartz, D., Youngs, N., Britto, A., et al.: The Ripple protocol consensus algorithm. Ripple Labs Inc. White Pap. 5(8) (2014) Schwartz, D., Youngs, N., Britto, A., et al.: The Ripple protocol consensus algorithm. Ripple Labs Inc. White Pap. 5(8) (2014)
12.
go back to reference Howard, H.: ARC: analysis of raft consensus. Technical report UCAM-CL-TR-857, University of Cambridge, Computer Laboratory (2014) Howard, H.: ARC: analysis of raft consensus. Technical report UCAM-CL-TR-857, University of Cambridge, Computer Laboratory (2014)
15.
go back to reference Liu, Y.A., Chand, S., Stoller, S.D.: Moderately complex Paxos made simple: high-level specification of distributed algorithm. Computing Research Repository (2017) Liu, Y.A., Chand, S., Stoller, S.D.: Moderately complex Paxos made simple: high-level specification of distributed algorithm. Computing Research Repository (2017)
16.
go back to reference Chandra, T.D., Griesemer, R., Redstone, J.: Paxos made live: an engineering perspective. In: Proceedings of the twenty-sixth annual ACM symposium on Principles of distributed computing, pp. 398–407 (2007) Chandra, T.D., Griesemer, R., Redstone, J.: Paxos made live: an engineering perspective. In: Proceedings of the twenty-sixth annual ACM symposium on Principles of distributed computing, pp. 398–407 (2007)
17.
go back to reference Themistocleous, M., Christodoulou, K., Iosif, E., Louca, S., Tseas, D.: Blockchain in academia: where do we stand and where do we go? In: Proceedings of the 53rd Hawaii International Conference on System Sciences (2020) Themistocleous, M., Christodoulou, K., Iosif, E., Louca, S., Tseas, D.: Blockchain in academia: where do we stand and where do we go? In: Proceedings of the 53rd Hawaii International Conference on System Sciences (2020)
18.
go back to reference Huang, D., Ma, X., Zhang, S.: Performance analysis of the raft consensus algorithm for private blockchains. IEEE Trans. Syst. Man Cybern. Syst. 50(1), 172–181 (2020)CrossRef Huang, D., Ma, X., Zhang, S.: Performance analysis of the raft consensus algorithm for private blockchains. IEEE Trans. Syst. Man Cybern. Syst. 50(1), 172–181 (2020)CrossRef
19.
go back to reference Nakagawa, T., Hayashibara, N.: Resource management for raft consensus protocol. Int. J. Space-Based Situated Comput. 8(2), 80–87 (2018)CrossRef Nakagawa, T., Hayashibara, N.: Resource management for raft consensus protocol. Int. J. Space-Based Situated Comput. 8(2), 80–87 (2018)CrossRef
20.
go back to reference Sakic, E., Kellerer, W.: Response time and availability study of RAFT consensus in distributed SDN control plane. IEEE Trans. Netw. Serv. Manage. 15(1), 304–318 (2017)CrossRef Sakic, E., Kellerer, W.: Response time and availability study of RAFT consensus in distributed SDN control plane. IEEE Trans. Netw. Serv. Manage. 15(1), 304–318 (2017)CrossRef
21.
go back to reference : The Linux Foundations Projects. OpenDaylight (2019) : The Linux Foundations Projects. OpenDaylight (2019)
22.
24.
go back to reference Wang, R., Zhang, L., Xu, Q., Zhou, H.: K-Bucket based Raft-like consensus algorithm for permissioned blockchain. In: 2019 IEEE 25th International Conference on Parallel and Distributed Systems (ICPADS), pp. 996–999 (2019) Wang, R., Zhang, L., Xu, Q., Zhou, H.: K-Bucket based Raft-like consensus algorithm for permissioned blockchain. In: 2019 IEEE 25th International Conference on Parallel and Distributed Systems (ICPADS), pp. 996–999 (2019)
25.
go back to reference Kademlia: a design specification. XLattice (2019) Kademlia: a design specification. XLattice (2019)
26.
go back to reference Baliga, A., Subhod, I., Kamat, P., Chatterjee, S.: Performance evaluation of the Quorum blockchain platform. arXiv preprint arXiv:1809.03421 (2018) Baliga, A., Subhod, I., Kamat, P., Chatterjee, S.: Performance evaluation of the Quorum blockchain platform. arXiv preprint arXiv:​1809.​03421 (2018)
27.
go back to reference Christodoulou, K., Iosif, E., Inglezakis, A., Themistocleous, M.: Consensus crash testing: exploring Ripple’s decentralization degree in adversarial environments. Future Internet 12(3), 53 (2020)CrossRef Christodoulou, K., Iosif, E., Inglezakis, A., Themistocleous, M.: Consensus crash testing: exploring Ripple’s decentralization degree in adversarial environments. Future Internet 12(3), 53 (2020)CrossRef
28.
go back to reference Ren, L., Ward, P.A.S.: Distributed consensus and fault tolerance mechanisms. In: Li, K.-Ch., Bertino, E., Chen, X., Jiang, H. (eds.) Essentials of Blockchain Technology. 1st edn. (2019) Ren, L., Ward, P.A.S.: Distributed consensus and fault tolerance mechanisms. In: Li, K.-Ch., Bertino, E., Chen, X., Jiang, H. (eds.) Essentials of Blockchain Technology. 1st edn. (2019)
29.
go back to reference Lamport, L., et al.: Paxos made simple. ACM Sigact News 32(4), 18–25 (2001) Lamport, L., et al.: Paxos made simple. ACM Sigact News 32(4), 18–25 (2001)
30.
go back to reference Ongaro, D.: Consensus: bridging theory and practice. Ph.D. thesis, Stanford University (2014) Ongaro, D.: Consensus: bridging theory and practice. Ph.D. thesis, Stanford University (2014)
31.
go back to reference Arora, V., Mittal, T., Agrawal, D., El Abbadi, A., Xue, X., et al.: Leader or majority: why have one when you can have both? improving read scalability in Raft-like consensus protocols. In: 9th \(\{\)USENIX\(\}\) Workshop on Hot Topics in Cloud Computing (HotCloud 17) (2017) Arora, V., Mittal, T., Agrawal, D., El Abbadi, A., Xue, X., et al.: Leader or majority: why have one when you can have both? improving read scalability in Raft-like consensus protocols. In: 9th \(\{\)USENIX\(\}\) Workshop on Hot Topics in Cloud Computing (HotCloud 17) (2017)
32.
go back to reference Coulouris, G.F., Dollimore, J., Kindberg, T.: Distributed Systems: Concepts and Design. Pearson Education (2005) Coulouris, G.F., Dollimore, J., Kindberg, T.: Distributed Systems: Concepts and Design. Pearson Education (2005)
33.
go back to reference Kay, S.M.: Fundamentals of Statistical Signal Processing. Prentice Hall PTR (1993) Kay, S.M.: Fundamentals of Statistical Signal Processing. Prentice Hall PTR (1993)
34.
go back to reference Almeida, V., Bestavros, A., Crovella, M., De Oliveira, A.: Characterizing reference locality in the www. In: Fourth International Conference on Parallel and Distributed Information Systems, pp. 92–103. IEEE (1996) Almeida, V., Bestavros, A., Crovella, M., De Oliveira, A.: Characterizing reference locality in the www. In: Fourth International Conference on Parallel and Distributed Information Systems, pp. 92–103. IEEE (1996)
35.
go back to reference Underwood, R., Anderson, J., Apon, A.: Measuring network latency variation impacts to high performance computing application performance. In: Proceedings of the 2018 ACM/SPEC International Conference on Performance Engineering, pp. 68–79 (2018) Underwood, R., Anderson, J., Apon, A.: Measuring network latency variation impacts to high performance computing application performance. In: Proceedings of the 2018 ACM/SPEC International Conference on Performance Engineering, pp. 68–79 (2018)
Metadata
Title
Leadership Uniformity in Raft Consensus Algorithm
Authors
Elias Iosif
Klitos Christodoulou
Marios Touloupou
Antonios Inglezakis
Copyright Year
2020
DOI
https://doi.org/10.1007/978-3-030-63396-7_9

Premium Partner