FMOODS 2009, FORTE 2009: Formal Techniques for Distributed Systems pp 73-89 | Cite as

On Model-Checking Optimistic Replication Algorithms

  • Hanifa Boucheneb
  • Abdessamad Imine
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5522)

Abstract

Collaborative editors consist of a group of users editing a shared document. The Operational Transformation (OT) approach is used for supporting optimistic replication in these editors. It allows the users to concurrently update the shared data and exchange their updates in any order since the convergence of all replicas, i.e. the fact that all users view the same data, is ensured in all cases. However, designing algorithms for achieving convergence with the OT approach is a critical and challenging issue. In this paper, we address the verification of OT algorithms with a model-checking technique. We formally define, using tool UPPAAL, the behavior and the convergence requirement of the collaborative editors, as well as the abstract behavior of the environment where these systems are supposed to operate. So, we show how to exploit some features of such systems and the tool UPPAAL to attenuate the severe state explosion problem. We have been able to show that if the number of users exceeds 2 then the convergence property is not satisfied for five OT algorithms. A counterexample is provided for every algorithm.

Keywords

Convergence Property Local Operation Concrete Model Broadcast Channel Symbolic Model 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

References

  1. 1.
    Alur, R., Dill, D.: A theory of timed automata. Theoretical Computer Science 126(2), 183–235 (1994)CrossRefMATHGoogle Scholar
  2. 2.
    Bérard, B., Bouyer, P., Petit, A.: Analysing the pgm protocol with uppaal. International Journal of Production Research 42(14), 2773–2791 (2004)CrossRefGoogle Scholar
  3. 3.
    Boucheneb, H., Imine, A.: Experiments in model-checking optimistic replication algorithms. Research Report 6510, INRIA (April 2008)Google Scholar
  4. 4.
    Ellis, C.A., Gibbs, S.J.: Concurrency control in groupware systems. In: SIGMOD Conference, vol. 18, pp. 399–407 (1989)Google Scholar
  5. 5.
    Imine, A.: Conception formelle d’algorithmes de réplication optimiste. Vers l’édition Collaborative dans les réseaux Pair-à-Pair. Ph.d thesis, University of Henri Poincaré, Nancy, France (December 2006)Google Scholar
  6. 6.
    Imine, A., Molli, P., Oster, G., Rusinowitch, M.: Proving correctness of transformation functions in real-time groupware. In: ECSCW 2003, Helsinki, Finland, September 14-18 (2003)Google Scholar
  7. 7.
    Imine, A., Rusinowitch, M., Oster, G., Molli, P.: Formal design and verification of operational transformation algorithms for copies convergence. Theoretical Computer Science 351(2), 167–183 (2006)CrossRefMATHGoogle Scholar
  8. 8.
    Larsen, K., Pettersson, P., Yi, W.: Uppaal in a nutshell. Journal of Software Tools for Technology Transfer 1(1-2), 134–152 (1997)CrossRefMATHGoogle Scholar
  9. 9.
    Ressel, M., Nitsche-Ruhland, D., Gunzenhauser, R.: An integrating, transformation-oriented approach to concurrency control and undo in group editors. In: ACM CSCW 1996, Boston, USA, November 1996, pp. 288–297 (1996)Google Scholar
  10. 10.
    Suleiman, M., Cart, M., Ferrié, J.: Serialization of concurrent operations in a distributed collaborative environment. In: ACM GROUP 1997, November 1997, pp. 435–445 (1997)Google Scholar
  11. 11.
    Suleiman, M., Cart, M., Ferrié, J.: Concurrent operations in a distributed and mobile collaborative environment. In: IEEE ICDE 1998, pp. 36–45 (1998)Google Scholar
  12. 12.
    Sun, C., Ellis, C.: Operational transformation in real-time group editors: issues, algorithms, and achievements. In: ACM CSCW 1998, pp. 59–68 (1998)Google Scholar
  13. 13.
    Sun, C., Jia, X., Zhang, Y., Yang, Y., Chen, D.: Achieving convergence, causality-preservation and intention-preservation in real-time cooperative editing systems. ACM Trans. Comput.-Hum. Interact. 5(1), 63–108 (1998)CrossRefGoogle Scholar
  14. 14.
    Sun, C., Xia, S., Sun, D., Chen, D., Shen, H., Cai, W.: Transparent adaptation of single-user applications for multi-user real-time collaboration. ACM Trans. Comput.-Hum. Interact. 13(4), 531–582 (2006)CrossRefGoogle Scholar
  15. 15.
    Vidot, N., Cart, M., Ferrié, J., Suleiman, M.: Copies convergence in a distributed real-time collaborative environment. In: ACM CSCW 2000, Philadelphia, USA (December 2000)Google Scholar

Copyright information

© IFIP International Federation for Information Processing 2009

Authors and Affiliations

  • Hanifa Boucheneb
    • 1
  • Abdessamad Imine
    • 2
  1. 1.Laboratoire VeriForm, École Polytechnique de MontréalCanada
  2. 2.INRIA Grand-Est & Nancy-UniversitéFrance

Personalised recommendations