Formalizing and Validating the P-Store Replicated Data Store in Maude

Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10644)

Abstract

P-Store is a well-known partially replicated transactional data store that combines wide-area replication, data partition, some fault tolerance, serializability, and limited use of atomic multicast. In addition, a number of recent data store designs can be seen as extensions of P-Store. This paper describes the formalization and formal analysis of P-Store using the rewriting logic framework Maude. As part of this work, this paper specifies group communication commitment and defines an abstract Maude model of atomic multicast, both of which are key building blocks in many data store designs. Maude model checking analysis uncovered a non-trivial error in P-Store; this paper also formalizes a correction of P-Store whose analysis did not uncover any flaw.

Notes

Acknowledgments

I would like to thank Nicolas Schiper for quick and friendly replies to my questions about P-Store, the anonymous reviewers for helpful comments, and Si Liu and José Meseguer for valuable discussions about P-Store and atomic multicast.

References

  1. 1.
    Ardekani, M.S., Sutra, P., Shapiro, M.: Non-monotonic snapshot isolation: scalable and strong consistency for geo-replicated transactional systems. In: SRDS 2013. IEEE Computer Society (2013)Google Scholar
  2. 2.
    Ardekani, M.S., Sutra, P., Shapiro, M.: G-DUR: a middleware for assembling, analyzing, and improving transactional protocols. In: Middleware 2014. ACM (2014)Google Scholar
  3. 3.
    Clavel, M., Durán, F., Eker, S., Lincoln, P., Martí-Oliet, N., Meseguer, J., Talcott, C.: All About Maude - A High-Performance Logical Framework. LNCS, vol. 4350. Springer, Heidelberg (2007)MATHGoogle Scholar
  4. 4.
    Grov, J., Ölveczky, P.C.: Formal modeling and analysis of Google’s Megastore in Real-Time Maude. In: Iida, S., Meseguer, J., Ogata, K. (eds.) Specification, Algebra, and Software. LNCS, vol. 8373, pp. 494–519. Springer, Heidelberg (2014)CrossRefGoogle Scholar
  5. 5.
    Guerraoui, R., Schiper, A.: Genuine atomic multicast in asynchronous distributed systems. Theor. Comput. Sci. 254(1–2), 297–316 (2001)MathSciNetCrossRefMATHGoogle Scholar
  6. 6.
    Liu, S., Ölveczky, P.C., Meseguer, J.: Modeling and analyzing mobile ad hoc networks in Real-Time Maude. J. Log. Algebr. Methods Program. 85(1), 34–66 (2016)MathSciNetCrossRefMATHGoogle Scholar
  7. 7.
    Liu, S., Ölveczky, P.C., Rahman, M.R., Ganhotra, J., Gupta, I., Meseguer, J.: Formal modeling and analysis of RAMP transaction systems. In: SAC 2016. ACM (2016)Google Scholar
  8. 8.
    Liu, S., Rahman, M.R., Skeirik, S., Gupta, I., Meseguer, J.: Formal modeling and analysis of Cassandra in Maude. In: Merz, S., Pang, J. (eds.) ICFEM 2014. LNCS, vol. 8829, pp. 332–347. Springer, Cham (2014)Google Scholar
  9. 9.
    Newcombe, C., Rath, T., Zhang, F., Munteanu, B., Brooker, M., Deardeuff, M.: How Amazon web services uses formal methods. Commun. ACM 58(4), 66–73 (2015)CrossRefGoogle Scholar
  10. 10.
    Ölveczky, P.C.: Formalizing and validating the P-Store replicated data store in Maude. http://folk.uio.no/peterol/WADT16/
  11. 11.
    Ölveczky, P.C.: Design and validation of cloud computing data stores using formal methods. In: Proceedings of the International Symposium on Intelligent Systems and Applications (ISA 2016) (2016). http://assured-cloud-computing.illinois.edu/publications/
  12. 12.
    Ölveczky, P.C., Thorvaldsen, S.: Formal modeling, performance estimation, and model checking of wireless sensor network algorithms in Real-Time Maude. Theor. Comput. Sci. 410(2–3), 254–280 (2009)MathSciNetCrossRefMATHGoogle Scholar
  13. 13.
    Schiper, N., Sutra, P., Pedone, F.: P-Store: genuine partial replication in wide area networks. Technical report, University of Lugano (2010)Google Scholar
  14. 14.
    Schiper, N., Sutra, P., Pedone, F.: P-Store: genuine partial replication in wide area networks. In: SRDS 2010. IEEE Computer Society (2010)Google Scholar
  15. 15.
    Sovran, Y., Power, R., Aguilera, M.K., Li, J.: Transactional storage for geo-replicated systems. In: SOSP 2011. ACM (2011)Google Scholar

Copyright information

© IFIP International Federation for Information Processing 2017

Authors and Affiliations

  1. 1.University of OsloOsloNorway
  2. 2.University of IllinoisUrbana-ChampaignUSA

Personalised recommendations