[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3465480.3466922acmconferencesArticle/Chapter ViewAbstractPublication PagesdebsConference Proceedingsconference-collections
research-article

An experimental framework for improving the performance of BFT consensus for future permissioned blockchains

Published: 28 June 2021 Publication History

Abstract

Permissioned Blockchains are increasingly considered in enterprise use-cases, many of which do not require geo-distribution, or even disallow it due to legislation. Examples include countrywide networks, such as Alastria, or those deployed using cloud-based platforms such as IBM Blockchain Platform. We expect these blockchains to eventually run in environments with high bandwidth and low latency modern networks, as well as with advanced programmable hardware accelerators.
Even though there is renewed interest in BFT consensus algorithms with various proposals targeting Permissioned Blockchains, related work does not optimize for fast networks and does not incorporate hardware accelerators - we make the case that doing so will pay off in the long run. To this end, we re-implemented the seminal PBFT algorithm in a way that allows us to measure different configurations of the protocol. Through this we explore the benefits of various common optimization strategies and show that the protocol is unlikely to saturate more than 10Gbps networks without relying on specialized hardware-based offloading.
Based on the experimental results, we discuss two concrete ways in which the cost of consensus in Permissioned Blockchains could be reduced in high-speed networking environments, namely, offloading to SmartNICs and implementing the protocol on standalone FPGAs.

References

[1]
Amazon managed blockchain. https://aws.amazon.com/managed-blockchain/.
[2]
Bitcoin transaction size visualization. https://bitcoinvisuals.com/chain-tx-size.
[3]
Caribou: Distributed smart storage built with FPGAs. https://github.com/fpgasystems/caribou.
[4]
Ibm blockchain platform. https://www.ibm.com/blockchain/platform.
[5]
Open source SHA256 implementation. https://github.com/secworks/sha256.
[6]
Scalable network stack supporting TCP/IP, RoCEv2, UDP/IP at 10-100Gbit/s. https://github.com/fpgasystems/fpga-network-stack.
[7]
Vitis security library, xilinx. https://xilinx.github.io/Vitis_Libraries/security/index.html.
[8]
Zotech FPGA-based RSA accelerator. https://github.com/ZoTechGroup/zt_rsa.
[9]
Alastria network report 2019. https://alastria.io/wp-content/uploads/2019/04/2019-04-23_Alastria-Corporate-presentation_v00.08.pdf, 2019.
[10]
Amiri, M. J., Agrawal, D., and Abbadi, A. E. Caper: a cross-application permissioned blockchain. Proceedings of the VLDB Endowment 12, 11 (2019), 1385--1398.
[11]
Androulaki, E., Barger, A., Bortnikov, V., Cachin, C., Christidis, K., De Caro, A., Enyeart, D., Ferris, C., Laventman, G., Manevich, Y., et al. Hyperledger fabric: a distributed operating system for permissioned blockchains. In Proceedings of the Thirteenth EuroSys Conference (2018), ACM, p. 30.
[12]
Azaria, A., Ekblaw, A., Vieira, T., and Lippman, A. Medrec: Using blockchain for medical data access and permission management. In 2016 2nd International Conference on Open and Big Data (OBD) (2016), IEEE, pp. 25--30.
[13]
Behl, J., Distler, T., and Kapitza, R. Hybrids on steroids: Sgx-based high performance bft. In Proceedings of the Twelfth European Conference on Computer Systems (2017), ACM, pp. 222--237.
[14]
Bessani, A., Sousa, J., and Alchieri, E. E. State machine replication for the masses with bft-smart. In 2014 44th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (2014), IEEE, pp. 355--362.
[15]
Bosshart, P., Daly, D., Gibb, G., Izzard, M., McKeown, N., Rexford, J., Schlesinger, C., Talayco, D., Vahdat, A., Varghese, G., et al. P4: Programming protocol-independent packet processors. ACM SIGCOMM Computer Communication Review 44, 3 (2014), 87--95.
[16]
Brown, R. G., Carlyle, J., Grigg, I., and Hearn, M. Corda: an introduction. R3 CEV, August 1 (2016), 15.
[17]
Buehler, K., Chiarella, D., Heidegger, H., Lemerle, M., Lal, A., and Moon, J. Beyond the hype: Blockchains in capital markets. Tech. rep., McKinsey Working Papers on Corporate & Investment Banking, 2015.
[18]
Castro, M., and Liskov, B. Practical byzantine fault tolerance and proactive recovery. ACM Transactions on Computer Systems (TOCS) 20, 4 (2002), 398--461.
[19]
Castro, M., Liskov, B., et al. Practical byzantine fault tolerance. In OSDI (1999), vol. 99, pp. 173--186.
[20]
Clement, A., Kapritsos, M., Lee, S., Wang, Y., Alvisi, L., Dahlin, M., and Riche, T. Upright cluster services. In Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles (2009), ACM, pp. 277--290.
[21]
Clement, A., Marchetti, M., Wong, E., Alvisi, L., and Dahlin, M. Bft: the time is now. In Proceedings of the 2nd Workshop on Large-Scale Distributed Systems and Middleware (2008), ACM, p. 13.
[22]
Dang, H., Dinh, T. T. A., Loghin, D., Chang, E.-C., Lin, Q., and Ooi, B. C. Towards scaling blockchain systems via sharding. In SIGMOD '19 (2019), p. 123--140.
[23]
Dang, H. T., Bressana, P., Wang, H., Lee, K. S., Weatherspoon, H., Canini, M., Zilberman, N., Pedone, F., and Soulé, R. P4xos: Consensus as a network service. Tech. rep., Research Report 2018-01. USI. http://www.inf.usi.ch/research_publication.htm, 2018.
[24]
Dinh, T. T. A., Wang, J., Chen, G., Liu, R., Ooi, B. C., and Tan, K.-L. Blockbench: A framework for analyzing private blockchains. SIGMOD '17, p. 1085--1100.
[25]
Eran, H., Zeno, L., Tork, M., Malka, G., and Silberstein, M. {NICA}: An infrastructure for inline acceleration of network applications. In 2019 {USENIX} Annual Technical Conference ({USENIX} {ATC} 19) (2019), pp. 345--362.
[26]
Firestone, D., Putnam, A., Mundkur, S., Chiou, D., Dabagh, A., Andrewartha, M., Angepat, H., Bhanu, V., Caulfield, A., Chung, E., et al. Azure accelerated networking: Smartnics in the public cloud. In 15th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 18) (2018), pp. 51--66.
[27]
Gavrielatos, V., Katsarakis, A., and Nagarajan, V. Odyssey: The impact of modern hardware on strongly-consistent replication protocols. In EuroSys '21 (2021), p. 245--260.
[28]
Gorenflo, C., Lee, S., Golab, L., and Keshav, S. FastFabric: Scaling Hyperledger Fabric to 20,000 transactions per second. In IEEE ICBC (2019).
[29]
Gramoli, V. From blockchain consensus back to byzantine consensus. Future Generation Computer Systems (2017).
[30]
Gueta, G. G., Abraham, I., Grossman, S., Malkhi, D., Pinkas, B., Reiter, M., Seredinschi, D.-A., Tamir, O., and Tomescu, A. Sbft: a scalable and decentralized trust infrastructure. In 2019 49th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN) (2019), IEEE, pp. 568--580.
[31]
Güneysu, T., and Paar, C. Ultra high performance ecc over nist primes on commercial fpgas. In International Workshop on Cryptographic Hardware and Embedded Systems (2008), Springer, pp. 62--78.
[32]
Gupta, S., Hellings, J., and Sadoghi, M. Scaling blockchain databases through parallel resilient consensus paradigm. In ICDE '21 (2021).
[33]
Gupta, S., Rahnama, S., Hellings, J., and Sadoghi, M. Resilientdb: Global scale resilient blockchain fabric. Proc. VLDB Endow. 13, 6 (2020), 868--883.
[34]
Gupta, S., Rahnama, S., and Sadoghi, M. Permissioned blockchain through the looking glass: Architectural and implementation lessons learned. In ICDCS '20 (2020), pp. 754--764.
[35]
Hunt, P., Konar, M., Junqueira, F. P., and Reed, B. Zookeeper: Wait-free coordination for internet-scale systems. In USENIX ATC '10 (2010).
[36]
István, Z., Sidler, D., Alonso, G., and Vukolic, M. Consensus in a box: Inexpensive coordination in hardware. In 13th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 16) (2016), pp. 425--438.
[37]
István, Z., Sorniotti, A., and Vukolić, M. Streamchain: Do blockchains need blocks? In Proceedings of the 2nd Workshop on Scalable and Resilient Infrastructures for Distributed Ledgers (2018), ACM, pp. 1--6.
[38]
Jin, X., Li, X., Zhang, H., Foster, N., Lee, J., Soulé, R., Kim, C., and Stoica, I. Netchain: Scale-free sub-rtt coordination. In 15th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 18) (2018), pp. 35--49.
[39]
Kapitza, R., Behl, J., Cachin, C., Distler, T., Kuhnle, S., Mohammadi, S. V., Schröder-Preikschat, W., and Stengel, K. Cheapbft: resource-efficient byzantine fault tolerance. In Proceedings of the 7th ACM european conference on Computer Systems (2012), ACM, pp. 295--308.
[40]
Knežević, M., Nikov, V., and Rombouts, P. Low-latency ecdsa signature verification---a road toward safer traffic. IEEE Transactions on Very Large Scale Integration (VLSI) Systems 24, 11 (2016), 3257--3267.
[41]
Korpela, K., Hallikas, J., and Dahlberg, T. Digital supply chain transformation toward blockchain integration. In proceedings of the 50th Hawaii international conference on system sciences (2017).
[42]
Kotla, R., Alvisi, L., Dahlin, M., Clement, A., and Wong, E. Zyzzyva: speculative byzantine fault tolerance. In ACM SIGOPS Operating Systems Review (2007), vol. 41, ACM, pp. 45--58.
[43]
Kwon, J. Tendermint: Consensus without mining. Draft v. 0.6, fall 1, 11 (2014).
[44]
Lamport, L. Paxos made simple. ACM SIGACT News 32, 4 (2001), 51--58.
[45]
Pismenny, B., Lesokhin, I., Liss, L., and Eran, H. Tls offload to network devices, 2016.
[46]
Poke, M., and Hoefler, T. Dare: High-performance state machine replication on rdma networks. In Proceedings of the 24th International Symposium on High-Performance Parallel and Distributed Computing (2015), ACM, pp. 107--118.
[47]
Ruiz, J. Public-permissioned blockchains as common-pool resources (alastria blockchain ecosystem), 2020.
[48]
Russinovich, M., Ashton, E., Avanessians, C., Castro, M., Chamayou, A., Clebsch, S., Costa, M., Fournet, C., Kerner, M., Krishna, S., Maffre, J., Moscibroda, T., Nayak, K., Ohrimenko, O., Schuster, f., Schuster, R., Shamis, A., Vrousgou, O., and Wintersteiger, C. Ccf: A framework for building confidential verifiable replicated services.
[49]
Santos, N., and Schiper, A. Achieving high-throughput state machine replication in multi-core systems. In 2013 IEEE 33rd International Conference on Distributed Computing Systems (2013), Ieee, pp. 266--275.
[50]
Sharma, A., Schuhknecht, F. M., Agrawal, D., and Dittrich, J. Blurring the lines between blockchains and database systems: the case of hyperledger fabric. In SIGMOD'19 (2019), ACM.
[51]
Sousa, J., and Bessani, A. Separating the wheat from the chaff: An empirical design for geo-replicated state machines. In SRDS '15 (2015), pp. 146--155.
[52]
Stathakopoulou, C., David, T., and Vukolić, M. Mir-bft: High-throughput bft for blockchains. arXiv preprint arXiv:1906.05552 (2019).
[53]
Thakkar, P., and Nathan, S. Scaling hyperledger fabric using pipelined execution and sparse peers. arXiv, March 2020. https://arxiv.org/abs/2003.05113.
[54]
Vukolić, M. The quest for scalable blockchain fabric: Proof-of-work vs. bft replication. In International workshop on open problems in network security (2015), Springer, pp. 112--125.
[55]
Wang, C., Jiang, J., Chen, X., Yi, N., and Cui, H. Apus: Fast and scalable paxos on rdma. In Proceedings of the 2017 Symposium on Cloud Computing (2017), ACM, pp. 94--107.
[56]
Williams, B., Aguirre Esparza, L., Poole, W., and Poole, S. Exploring mellanox bluefield smartnics as accelerators for heterogeneous architectures. Tech. rep., Los Alamos National Lab.(LANL), Los Alamos, NM (United States), 2019.
[57]
Yin, M., Malkhi, D., Reiter, M. K., Gueta, G. G., and Abraham, I. Hotstuff: Bft consensus with linearity and responsiveness. In Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing (2019), ACM, pp. 347--356.

Cited By

View all
  • (2024)DIBA: A Re-Configurable Stream ProcessorIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2024.338119236:9(4550-4566)Online publication date: 1-Sep-2024
  • (2024)SpotLess: Concurrent Rotational Consensus Made Practical Through Rapid View Synchronization2024 IEEE 40th International Conference on Data Engineering (ICDE)10.1109/ICDE60146.2024.00157(1916-1929)Online publication date: 13-May-2024
  • (2023)Atomyze - The Scalable Hyperledger Fabric-Powered Blockchain Platform Revolutionizing Asset-Backed Tokenization2023 IEEE International Conference on Omni-layer Intelligent Systems (COINS)10.1109/COINS57856.2023.10189252(1-8)Online publication date: 23-Jul-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
DEBS '21: Proceedings of the 15th ACM International Conference on Distributed and Event-based Systems
June 2021
207 pages
ISBN:9781450385558
DOI:10.1145/3465480
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 28 June 2021

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Funding Sources

Conference

DEBS '21

Acceptance Rates

DEBS '21 Paper Acceptance Rate 7 of 26 submissions, 27%;
Overall Acceptance Rate 145 of 583 submissions, 25%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)44
  • Downloads (Last 6 weeks)5
Reflects downloads up to 12 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2024)DIBA: A Re-Configurable Stream ProcessorIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2024.338119236:9(4550-4566)Online publication date: 1-Sep-2024
  • (2024)SpotLess: Concurrent Rotational Consensus Made Practical Through Rapid View Synchronization2024 IEEE 40th International Conference on Data Engineering (ICDE)10.1109/ICDE60146.2024.00157(1916-1929)Online publication date: 13-May-2024
  • (2023)Atomyze - The Scalable Hyperledger Fabric-Powered Blockchain Platform Revolutionizing Asset-Backed Tokenization2023 IEEE International Conference on Omni-layer Intelligent Systems (COINS)10.1109/COINS57856.2023.10189252(1-8)Online publication date: 23-Jul-2023
  • (2022)QanaatProceedings of the VLDB Endowment10.14778/3551793.355183515:11(2839-2852)Online publication date: 1-Jul-2022
  • (2021)StreamChain: Building a Low-Latency Permissioned Blockchain For Enterprise Use-Cases2021 IEEE International Conference on Blockchain (Blockchain)10.1109/Blockchain53845.2021.00027(130-139)Online publication date: Dec-2021

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media