skip to main content
10.1145/2955193.2955205acmotherconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
research-article

The CAT theorem and performance of transactional distributed systems

Published:25 July 2016Publication History

ABSTRACT

We argue that transactional distributed database/storage systems need to view the impossibility theorem in terms of the contention, abort rate, and throughput, rather than via the traditional CAP theorem. Motivated by Jim Gray, we state a new impossibility theorem, which we call the CAT theorem (Contention-Abort-Throughput). We present experimental results from the performance of several transactional systems w.r.t. the CAT impossibility spectrum.

References

  1. Amazon RDS MySQL. https://aws.amazon.com/rds/mysql/. Last accessed May 2016.Google ScholarGoogle Scholar
  2. Emulab. https://www.emulab.net/. Last accessed May 2016.Google ScholarGoogle Scholar
  3. MongoDB. https://www.mongodb.org/. Last accessed May 2016.Google ScholarGoogle Scholar
  4. Ms azure SQL. https://azure.microsoft.com/en-us/services/sql-database/. Last accessed May 2016.Google ScholarGoogle Scholar
  5. Riak. http://basho.com/products/. Last accessed May 2016.Google ScholarGoogle Scholar
  6. Abadi, D. Consistency tradeoffs in modern distributed database system design: CAP is only part of the story. IEEE Computer 45, 2 (2012), 37--42. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Aguilera, M. K., Leners, J. B., and Walfish, M. Yesquel: Scalable SQL storage for web applications. In Proceedings of the 25th Symposium on Operating Systems Principles (2015), SOSP '15. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Bailis, P., Davidson, A., Fekete, A., Ghodsi, A., Hellerstein, J. M., and Stoica, I. Highly available transactions: Virtues and limitations. Proc. VLDB Endow. 7, 3 (Nov. 2013), 181--192. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Brewer, E. CAP twelve years later: How the "rules" have changed. IEEE Computer 45, 2 (2012), 23--29. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Brewer, E. A. A certain freedom: thoughts on the CAP theorem. In Proceedings of the 29th Annual ACM Symposium on Principles of Distributed Computing, PODC'10. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Brewer, E. A. Towards robust distributed systems (invited talk). In Proceedings of the Nineteenth Annual ACM Symposium on Principles of Distributed Computing (2000), PODC '00, ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Cooper, B. F., Silberstein, A., Tam, E., Ramakrishnan, R., and Sears, R. Benchmarking cloud serving systems with YCSB. In Proceedings of the First ACM Symposium on Cloud Computing (2010), SoCC '10, ACM, pp. 143--154. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Coulouris, G., Dollimore, J., Kindberg, T., and Blair, G. Distributed Systems: Concepts and Design, 5th ed. Addison-Wesley Publishing Company, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. DeCandia, G., Hastorun, D., Jampani, M., Kakulapati, G., Lakshman, A., Pilchin, A., Sivasubramanian, S., Vosshall, P., and Vogels, W. Dynamo: Amazon's highly available key-value store. In Proceedings of the 21st ACM Symposium on Operating Systems Principles 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Dey, A., Fekete, A., Nambiar, R., and Röhm, U. YCSB+T: benchmarking web-scale transactional databases. In Workshops Proceedings of the Thirtieth International Conference on Data Engineering Workshops, Chicago, IL, USA, March 31 - April 4 (2014), ICDE '14, pp. 223--230.Google ScholarGoogle ScholarCross RefCross Ref
  16. Dragojević, A., Narayanan, D., Nightingale, E. B., Renzelmann, M., Shamis, A., Badam, A., and Castro, M. No compromises: Distributed transactions with consistency, availability, and performance. In Proceedings of the 25th Symposium on Operating Systems Principles (2015), SOSP '15. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Escriva, R., Wong, B., and Sirer, E. G. Warp: Lightweight multi-key transactions for key-value stores. Computing Research Repository.Google ScholarGoogle Scholar
  18. Faleiro, J. M., and Abadi, D. J. FIT: A distributed database performance tradeoff. IEEE Data Eng. Bulletin 38, 1 (2015), 10--17.Google ScholarGoogle Scholar
  19. Gilbert, S., and Lynch, N. Brewer's conjecture and the feasibility of consistent, available, partition-tolerant web services. ACM Special Interest Group on Algorithms and Computation Theory 33, 2 (June 2002), 51--59. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Gilbert, S., and Lynch, N. A. Perspectives on the CAP theorem. IEEE Computer 45, 2 (2012), 30--36. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Gray, J., Helland, P., O'Neil, P. E., and Shasha, D. The dangers of replication and a solution. In Proceedings of the 1996 ACM Special Interest Group on Management of Data, Montreal, Quebec, Canada, June 4-6, 1996. (1996), SIGMOD '96, pp. 173--182. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Kung, H. T., and Robinson, J. T. On optimistic methods for concurrency control. ACM Transaction on Database Systems 6, 2 (1981), 213--226. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Lakshman, A., and Malik, P. Cassandra: a decentralized structured storage system. Operating Systems Review 44, 2 (2010), 35--40. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Lee, C., Park, S. J., Kejriwal, A., Matsushita, S., and Ousterhout, J. Implementing linearizability at large scale and low latency. In Proceedings of the 25th Symposium on Operating Systems Principles (2015), SOSP '15, ACM, pp. 71--86. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Li, C., Porto, D., Clement, A., Gehrke, J., Preguiça, N., and Rodrigues, R. Making geo-replicated systems fast as possible, consistent when necessary. In Proceedings of the Tenth USENIX Conference on Operating Systems Design and Implementation (2012), OSDI'12. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Lloyd, W., Freedman, M. J., Kaminsky, M., and Andersen, D. G. Don't settle for eventual: Scalable causal consistency for wide-area storage with COPS. In Proceedings of the Twenty-Third ACM Symposium on Operating Systems Principles (2011), SOSP '11, ACM, pp. 401--416. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Sirer, E. G. Why CAP is flawed and what this means for next generation data stores. LADIS, 2015.Google ScholarGoogle Scholar
  28. Wei, X., Shi, J., Chen, Y., Chen, R., and Chen, H. Fast in-memory transaction processing using RDMA and HTM. In Proceedings of the 25th Symposium on Operating Systems Principles (2015), SOSP '15, ACM, pp. 87--104. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Xie, C., Su, C., Littley, C., Alvisi, L., Kapritsos, M., and Wang, Y. High-performance ACID via modular concurrency control. In Proceedings of the 25th Symposium on Operating Systems Principles (2015), SOSP '15, ACM, pp. 279--294. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Zhang, I., Sharma, N. K., Szekeres, A., Krishnamurthy, A., and Ports, D. R. K. Building consistent transactions with inconsistent replication. In Proceedings of the 25th Symposium on Operating Systems Principles (2015), SOSP '15. Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Other conferences
    DCC '16: Proceedings of the 4th Workshop on Distributed Cloud Computing
    July 2016
    63 pages
    ISBN:9781450342209
    DOI:10.1145/2955193

    Copyright © 2016 ACM

    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 ACM 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]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 25 July 2016

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article

    Acceptance Rates

    Overall Acceptance Rate10of36submissions,28%

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader