Memory-Efficient index for cache invalidation mechanism with OpenJPA

  • Authors:
  • Miki Enoki;Yosuke Ozawa;Hiroshi Horii;Tamiya Onodera

  • Affiliations:
  • IBM Research, Tokyo, Japan;IBM Research, Tokyo, Japan;IBM Research, Tokyo, Japan;IBM Research, Tokyo, Japan

  • Venue:
  • WISE'12 Proceedings of the 13th international conference on Web Information Systems Engineering
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

OpenJPA is an implementation of the Java Persistence API (JPA) for Apache, with a caching layer for database queries. However the caching performance is poor when an application includes write transactions, because the OpenJPA cache-invalidation mechanism is coarse-grained and this results in a low cache hit rate. In this research, we implemented an index mechanism for cache invalidation optimized for the data access patterns. The sizes of the index can be adjusted for the available cache memory. The results of our benchmark indicated that the optimized index drastically improved the performance of OpenJPA even with a small index size in various data access pattern scenarios.