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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
References
Gridgain vs. hazelcast benchmarks. http://go.gridgain.com/Benchmark_GridGain_vs_Hazelcast.html. Accessed 28 May 2016
Gridgain/apache ignite vs hazelcast benchmark. https://hazelcast.com/resources/benchmark-gridgain/. Accessed 28 May 2016
Hazelcast documentation. http://docs.hazelcast.org/docs/3.6/manual/html-single/index.html#distributed-query. Accessed 28 May 2016
Ignite vs. hazelcast benchmarks. http://www.gridgain.com/resources/benchmarks/ignite-vs-hazelcast-benchmarks/. Accessed 28 May 2016
Infinispan. http://www.aosabook.org/en/posa/infinispan.html#fn10. Accessed 25 June 2017
Infinispan documentation. http://infinispan.org/docs/8.2.x/index.html. Accessed 01 May 2016
Red hat infinispan vs hazelcast benchmark. https://hazelcast.com/resources/benchmark-infinispan/. Accessed 28 May 2016
Redis 3.0.7 vs hazelcast 3.6 benchmark. https://hazelcast.com/resources/benchmark-redis-vs-hazelcast/. Accessed 28 May 2016
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)
Chen, S., Liu, Y., Gorton, I., Liu, A.: Performance prediction of component-based applications. J. Syst. Softw. 74(1), 35–43 (2005)
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)
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)
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)
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)
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)
Engelbert, C.: White paper: caching strategies. Technical rep., Hazelcast Company. https://hazelcast.com/resources/caching-strategies
Evans, B.: White paper: an architect’s view of hazelcast. Technical rep., Hazelcast Company. https://hazelcast.com/resources/architects-view-hazelcast/
Fedorowicz, J.: Database performance evaluation in an indexed file environment. ACM Trans. Database Syst. (TODS) 12(1), 85–110 (1987)
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)
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)
Paul, S., Fei, Z.: Distributed caching with centralized control. Comput. Commun. 24(2), 256–268 (2001)
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)
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)
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)
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this paper
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)