Skip to main content

Benchmarking and Performance Analysis for Distributed Cache Systems: A Comparative Case Study

  • Conference paper
  • First Online:
Performance Evaluation and Benchmarking for the Analytics Era (TPCTC 2017)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 10661))

Included in the following conference series:

Abstract

Caching critical pieces of information in memory or local hard drive is important for applications’ performance. Critical pieces of information could include, for example, information returned from I/O-intensive queries or computationally-intensive calculations. Apart from such, storing large amounts of data in a single memory is expensive and sometimes infeasible. Distributed cache systems come to offer faster access by exploiting the memory of more than one machine but they appear as one logical large cache. Therefore, analyzing and benchmarking these systems are necessary to study what and how factors, such as number of clients and data sizes, affect the performance. The majority of current benchmarks deal with the number of clients as “multiple-threads but all over one client connection”; this does not reflect the real scenarios where each thread has its own connection. This paper considered several benchmarking mechanisms and selected one for performance analysis. It also studied the performance of two popular open source distributed cache systems (Hazelcast and Infinispan). Using the selected benchmarking mechanism, results show that the performance of distributed cache systems is significantly affected by the number of concurrent clients accessing the distributed cache as well as by the size of the data managed by the cache. Furthermore, the conducted performance analysis shows that Infinispan outperforms Hazelcast in the simple data retrieval scenarios as well as most SQL-like queries scenarios, whereas Hazelcast outperforms Infinispan in SQL-like queries for small data sizes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 60.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/radargun/radargun/wiki.

  2. 2.

    https://github.com/brianfrankcooper/YCSB/wiki.

  3. 3.

    https://github.com/yardstick-benchmarks/yardstick.

  4. 4.

    http://tutorials.jenkov.com/java-performance/jmh.html.

  5. 5.

    https://github.com/ferasodh/Distributed-Caches-Benchmarking-Experiment.

  6. 6.

    http://jbossmarshalling.jboss.org/.

References

  1. Gridgain vs. hazelcast benchmarks. http://go.gridgain.com/Benchmark_GridGain_vs_Hazelcast.html. Accessed 28 May 2016

  2. Gridgain/apache ignite vs hazelcast benchmark. https://hazelcast.com/resources/benchmark-gridgain/. Accessed 28 May 2016

  3. Hazelcast documentation. http://docs.hazelcast.org/docs/3.6/manual/html-single/index.html#distributed-query. Accessed 28 May 2016

  4. Ignite vs. hazelcast benchmarks. http://www.gridgain.com/resources/benchmarks/ignite-vs-hazelcast-benchmarks/. Accessed 28 May 2016

  5. Infinispan. http://www.aosabook.org/en/posa/infinispan.html#fn10. Accessed 25 June 2017

  6. Infinispan documentation. http://infinispan.org/docs/8.2.x/index.html. Accessed 01 May 2016

  7. Red hat infinispan vs hazelcast benchmark. https://hazelcast.com/resources/benchmark-infinispan/. Accessed 28 May 2016

  8. Redis 3.0.7 vs hazelcast 3.6 benchmark. https://hazelcast.com/resources/benchmark-redis-vs-hazelcast/. Accessed 28 May 2016

  9. Agrawal, S., Chaudhuri, S., Das, G.: Dbxplorer: a system for keyword-based search over relational databases. In: Proceedings of 18th International Conference on Data Engineering, 2002, pp. 5–16. IEEE (2002)

    Google Scholar 

  10. Chen, S., Liu, Y., Gorton, I., Liu, A.: Performance prediction of component-based applications. J. Syst. Softw. 74(1), 35–43 (2005)

    Article  Google Scholar 

  11. Chen, X., Ho, C.P., Osman, R., Harrison, P.G., Knottenbelt, W.J.: Understanding, modelling, and improving the performance of web applications in multicore virtualised environments. In: Proceedings of the 5th ACM/SPEC International Conference on Performance Engineering, pp. 197–207. ACM (2014)

    Google Scholar 

  12. Cooper, B.F., Silberstein, A., Tam, E., Ramakrishnan, R., Sears, R.: Benchmarking cloud serving systems with YCSB. In: Proceedings of the 1st ACM Symposium on Cloud Computing, pp. 143–154. ACM (2010)

    Google Scholar 

  13. Das, A., Mueller, F., Gu, X., Iyengar, A.: Performance analysis of a multi-tenant in-memory data grid. In: 2016 IEEE 9th International Conference on Cloud Computing (CLOUD), pp. 956–959. IEEE (2016)

    Google Scholar 

  14. Denaro, G., Polini, A., Emmerich, W.: Early performance testing of distributed software applications. In: Proceedings of ACM SIGSOFT Software Engineering Notes, vol. 29, pp. 94–103. ACM (2004)

    Google Scholar 

  15. Dey, A., Fekete, A., Nambiar, R., Röhm, U.: YCSB+T: benchmarking web-scale transactional databases. In: Proceedings of 2014 IEEE 30th International Conference on Data Engineering Workshops (ICDEW), pp. 223–230. IEEE (2014)

    Google Scholar 

  16. Engelbert, C.: White paper: caching strategies. Technical rep., Hazelcast Company. https://hazelcast.com/resources/caching-strategies

  17. Evans, B.: White paper: an architect’s view of hazelcast. Technical rep., Hazelcast Company. https://hazelcast.com/resources/architects-view-hazelcast/

  18. Fedorowicz, J.: Database performance evaluation in an indexed file environment. ACM Trans. Database Syst. (TODS) 12(1), 85–110 (1987)

    Article  Google Scholar 

  19. Khazaei, H., Misic, J., Misic, V.B.: Performance analysis of cloud computing centers using m/g/m/m+r queuing systems. IEEE Trans. Parallel Distrib. Syst. 23(5), 936–943 (2012)

    Article  Google Scholar 

  20. Klems, M., Anh Lê, H.: Position paper: cloud system deployment and performance evaluation tools for distributed databases. In: Proceedings of the 2013 International Workshop on Hot Topics in Cloud Services, pp. 63–70. ACM (2013)

    Google Scholar 

  21. Paul, S., Fei, Z.: Distributed caching with centralized control. Comput. Commun. 24(2), 256–268 (2001)

    Article  Google Scholar 

  22. Wang, Q., Cherkasova, L., Li, J., Volos, H.: Interconnect emulator for aiding performance analysis of distributed memory applications. In: Proceedings of the 7th ACM/SPEC on International Conference on Performance Engineering, pp. 75–83. ACM (2016)

    Google Scholar 

  23. Wouw, S.V., Viña, J., Iosup, A., Epema, D.: An empirical performance evaluation of distributed SQL query engines. In: Proceedings of the 6th ACM/SPEC International Conference on Performance Engineering, pp. 123–131. ACM (2015)

    Google Scholar 

  24. Zhang, H., Tudor, B.M., Chen, G., Ooi, B.C.: Efficient in-memory data management: an analysis. Proc. VLDB Endowment 7(10), 833–836 (2014)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Haytham Salhi , Feras Odeh , Rabee Nasser or Adel Taweel .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Salhi, H., Odeh, F., Nasser, R., Taweel, A. (2018). Benchmarking and Performance Analysis for Distributed Cache Systems: A Comparative Case Study. In: Nambiar, R., Poess, M. (eds) Performance Evaluation and Benchmarking for the Analytics Era. TPCTC 2017. Lecture Notes in Computer Science(), vol 10661. Springer, Cham. https://doi.org/10.1007/978-3-319-72401-0_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-72401-0_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-72400-3

  • Online ISBN: 978-3-319-72401-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics