Towards verification of the pastry protocol using TLA+

  • Authors:
  • Tianxiang Lu;Stephan Merz;Christoph Weidenbach

  • Affiliations:
  • Max-Planck-Institut für Informatik, Saarbrücken, Germany and INRIA Nancy & LORIA, Nancy, France;INRIA Nancy & LORIA, Nancy, France;Max-Planck-Institut für Informatik, Saarbrücken, Germany

  • Venue:
  • FMOODS'11/FORTE'11 Proceedings of the joint 13th IFIP WG 6.1 and 30th IFIP WG 6.1 international conference on Formal techniques for distributed systems
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Pastry is an algorithm that provides a scalable distributed hash table over an underlying P2P network. Several implementations of Pastry are available and have been applied in practice, but no attempt has so far been made to formally describe the algorithm or to verify its properties. Since Pastry combines rather complex data structures, asynchronous communication, concurrency, resilience to churn and fault tolerance, it makes an interesting target for verification. We have modeled Pastry's core routing algorithms and communication protocol in the specification language TLA+. In order to validate the model and to search for bugs we employed the TLA+ model checker tlc to analyze several qualitative properties. We obtained non-trivial insights in the behavior of Pastry through the model checking analysis. Furthermore, we started to verify Pastry using the very same model and the interactive theorem prover tlaps for TLA+. A first result is the reduction of global Pastry correctness properties to invariants of the underlying data structures.