Advertisement

Stochastic Modeling for Performance Evaluation of Database Replication Protocols

  • Peter Popov
  • Kizito Salako
  • Vladimir Stankovic
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9259)

Abstract

Performance is often the most important non-functional property for database systems and associated replication solutions. This is true at least in industrial contexts. Evaluating performance using real systems, however, is computationally demanding and costly. In many cases, choosing between several competing replication protocols poses a difficulty in ranking these protocols meaningfully: the ranking is determined not so much by the quality of the competing protocols but, instead, by the quality of the available implementations. Addressing this difficulty requires a level of abstraction in which the impact on the comparison of the implementations is reduced, or entirely eliminated. We propose a stochastic model for performance evaluation of database replication protocols, paying particular attention to: (i) empirical validation of a number of assumptions used in the stochastic model, and (ii) empirical validation of model accuracy for a chosen replication protocol. For the empirical validations we used the TPC-C benchmark. Our implementation of the model is based on Stochastic Activity Networks (SAN), extended by bespoke code. The model may reduce the cost of performance evaluation in comparison with empirical measurements, while keeping the accuracy of the assessment to an acceptable level.

Keywords

Stochastic modeling Database replication protocols Performance evaluation Diverse redundancy 

Notes

Acknowledgement

This work was supported in part by the UK’s Engineering and Physical Sciences Research Council (EPSRC) through the DIDERO-PC project (EP/J022128/1). We would like to thank the anonymous reviewers and Bev Littlewood for useful comments about an earlier version of the paper.

References

  1. 1.
    Sousa, A., et al.: Testing the dependability and performance of group communication based database replication protocols. In: Proceedings of the International Conference on Dependable Systems and Networks (DSN 2005) (2005)Google Scholar
  2. 2.
    Pedone, F., Guerraoui, R., Schiper, A.: The database state machine approach. Distrib. Parallel Databases 14(1), 71–98 (2003)CrossRefGoogle Scholar
  3. 3.
    Agrawal, R., Carey, M.J., Livny, M.: Concurrency control performance modeling: alternatives and implications. ACM Trans. Database Syst. 12(4), 609–654 (1987)CrossRefGoogle Scholar
  4. 4.
    Nicola, M., Jarke, M.: Performance modeling of distributed and replicated databases. IEEE Trans. Knowl. Data Eng. 12(4), 645–672 (2000)CrossRefGoogle Scholar
  5. 5.
    Osman, R., Knottenbelt, W.J.: Database system performance evaluation models: a survey. Perform. Eval. 69(10), 471–493 (2012)CrossRefGoogle Scholar
  6. 6.
    Graham, C., et al.: The möbius modeling tool. In: Ninth International Workshop on Petri Nets and Performance Models (PNPM 2001), Aachen, Germany (2001)Google Scholar
  7. 7.
    Sanders, W.H., Meyer, J.F.: Stochastic activity networks: formal definitions and concepts. In: Brinksma, E., Hermanns, H., Katoen, J.-P. (eds.) EEF School 2000 and FMPA 2000. LNCS, vol. 2090, pp. 315–343. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  8. 8.
    Popov, P., Stankovic, V.: Improvements Relating to Database Replication, p. 60. City University London: EU (2013) (EPO, Editor)Google Scholar
  9. 9.
    Cecchet, E., Marguerite, J., Zwaenepoel, W.: C-JDBC: Flexible database clustering middleware. In: USENIX Annual Technical Conference, Freenix (2004)Google Scholar
  10. 10.
    Gashi, I., Popov, P., Strigini, L.: Fault tolerance via diversity for off-the-shelf products: a study with SQL database servers. IEEE Trans. Dependable Secure Comput. 4(4), 280–294 (2007)CrossRefGoogle Scholar
  11. 11.
    Vandiver, B., et al.: Tolerating byzantine faults in transaction processing systems using commit barrier scheduling. In: Proceedings of 21st ACM SIGOPS Symposium on Operating Systems Principles, pp. 59–72. ACM: Stevenson, Washington (2007)Google Scholar
  12. 12.
    Berenson, H., et al.: A Critique of ANSI SQL Isolation levels. In: SIGMOD International Conference on Management of Data, San Jose, California, United States. ACM Press, New York (1995)Google Scholar
  13. 13.
    Stankovic, V.: Performance implications of using diverse redundancy for database replication. In: Centre for Software Reliability, p. 169. City University London, London (2008)Google Scholar
  14. 14.
    Fuller, W.A.: Introduction to Statistical Time Series. Wiley, New York (1996)MATHGoogle Scholar
  15. 15.
    Osborne, J.W.: Best Practices in Data Cleaning: A Complete Guide to Everything You Need to Do Before and After Collecting Your Data. Sage Publishing, Thousand Oaks (2012)Google Scholar
  16. 16.
    Garcia, R., Rodrigues, R., Preguica, N.: Efficient middleware for byzantine fault tolerant database replication. In: Proceedings of the Sixth Conference on Computer systems (EuroSys 2011), pp. 107–122. ACM, Salzburg (2011)Google Scholar
  17. 17.
    Vandiver, B.: Detecting and tolerating byzantine faults in database systems. In: Programming Methodology Group, p. 176. Massachusetts Institute of Technology, Boston (2008)Google Scholar
  18. 18.
    Brocklehurst, S., et al.: Recalibrating Software Reliability Models. IEEE Trans. Softw. Eng. 16(4), 458–470 (1990)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Peter Popov
    • 1
  • Kizito Salako
    • 1
  • Vladimir Stankovic
    • 1
  1. 1.Centre for Software ReliabilityCity University LondonLondonUK

Personalised recommendations