{"id":90400,"date":"2019-04-05T16:00:24","date_gmt":"2019-04-05T13:00:24","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=90400"},"modified":"2019-04-04T10:29:22","modified_gmt":"2019-04-04T07:29:22","slug":"more-about-spring-cache-performance","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html","title":{"rendered":"More about Spring Cache Performance"},"content":{"rendered":"<p>This is a follow up to our <a href=\"https:\/\/plumbr.io\/blog\/performance-blog\/spring-cache-profiling\">last post<\/a> about Spring\u2019s cache abstraction.<\/p>\n<p>As engineers, you gain valuable experience by understanding the internals of some of the tools that you use. Understanding the behaviour of tools helps you become more mature when making design choices. &nbsp;In this post, we describe a benchmarking experiment and the results which will help you understand Spring\u2019s built-in annotations for caching.<\/p>\n<p>Take a look at the following two methods:<\/p>\n<div>\n<div id=\"highlighter_740282\" class=\"syntaxhighlighter  java\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"java color1\">@Cacheable<\/code><code class=\"java plain\">(value = <\/code><code class=\"java string\">\"time\"<\/code><code class=\"java plain\">, key = <\/code><code class=\"java string\">\"#p0.concat(#p1)\"<\/code><code class=\"java plain\">) <\/code><code class=\"java keyword\">public<\/code> <code class=\"java keyword\">long<\/code> <code class=\"java plain\">annotationWithSpel(String dummy1, String dummy2) {&nbsp; &nbsp;<\/code><code class=\"java keyword\">return<\/code> <code class=\"java plain\">System.currentTimeMillis(); } <\/code><code class=\"java color1\">@Cacheable<\/code><code class=\"java plain\">(value = <\/code><code class=\"java string\">\"time\"<\/code><code class=\"java plain\">) <\/code><code class=\"java keyword\">public<\/code> <code class=\"java keyword\">long<\/code> <code class=\"java plain\">annotationBased(String dummy1, String dummy2) {&nbsp; &nbsp;<\/code><code class=\"java keyword\">return<\/code> <code class=\"java plain\">System.currentTimeMillis(); }<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Here we have two very similar methods, each annotated with the built-in @Cacheable annotation from Spring Cache. The first one includes an expression written in the Spring Expression Language. The expression is used to configure how to calculate cache key using method parameters. The second one relies on Spring\u2019s default behaviour which is \u201call method parameters are considered as a key\u201d. Effectively, both the methods above actually result in exactly the same external behaviour.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>We ran some benchmark tests, that allowed us to measure their performance:<\/p>\n<div>\n<div id=\"highlighter_939538\" class=\"syntaxhighlighter  java\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"java plain\">Benchmark &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mode&nbsp; Cnt&nbsp;&nbsp;&nbsp;&nbsp; Score&nbsp;&nbsp;&nbsp; Error&nbsp; Units CacheBenchmark.annotationBased &nbsp;avgt&nbsp;&nbsp;&nbsp; <\/code><code class=\"java value\">5<\/code>&nbsp;&nbsp; <code class=\"java value\">271.975<\/code> <code class=\"java plain\">\u00b1 <\/code><code class=\"java value\">11.586<\/code>&nbsp; <code class=\"java plain\">ns\/op CacheBenchmark.spel &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;avgt&nbsp;&nbsp;&nbsp; <\/code><code class=\"java value\">5<\/code>&nbsp; <code class=\"java value\">1196.744<\/code> <code class=\"java plain\">\u00b1 <\/code><code class=\"java value\">93.765<\/code>&nbsp; <code class=\"java plain\">ns\/op CacheBenchmark.manual &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;avgt&nbsp;&nbsp;&nbsp; <\/code><code class=\"java value\">5<\/code>&nbsp;&nbsp;&nbsp; <code class=\"java value\">16.325<\/code> <code class=\"java plain\">\u00b1&nbsp; <\/code><code class=\"java value\">0.856<\/code>&nbsp; <code class=\"java plain\">ns\/op CacheBenchmark.nocache &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;avgt&nbsp;&nbsp;&nbsp; <\/code><code class=\"java value\">5<\/code>&nbsp;&nbsp;&nbsp; <code class=\"java value\">40.142<\/code> <code class=\"java plain\">\u00b1&nbsp; <\/code><code class=\"java value\">4.012<\/code>&nbsp; <code class=\"java plain\">ns\/op<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>It turns out that the method which had a manually configured cache runs 4.4 times slower! In hindsight, this outcome seems to make sense because of overheads. The Spring framework has to parse an arbitrarily complex expression and some cycles are consumed in this computation.<\/p>\n<p>Why are we writing this story? Well \u2013<\/p>\n<ol class=\"wp-block-list\">\n<li>We care deeply about software performance.<\/li>\n<li>Our own codebase has a few of these instances where we have had to trade-off performance for zero benefits.<\/li>\n<\/ol>\n<p>You should examine your code base and conduct a review or audit too. Jettison some of these instances as well and gain performance improvements. You could very well have some instances where you have manually configured cache keys as well. Remember, this is exactly the same behaviour that Spring Cache would provide you by default. A definite win-win situation!<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td>\n<p>Published on Java Code Geeks with permission by Nikita Salnikov Tarnovski, partner at our <a href=\"\/\/www.javacodegeeks.com\/join-us\/jcg\/\" target=\"_blank\" rel=\"noopener noreferrer\">JCG program<\/a>. See the original article here: <a href=\"https:\/\/plumbr.io\/blog\/performance-blog\/more-about-spring-cache-performance\" target=\"_blank\" rel=\"noopener noreferrer\">More about Spring Cache Performance<\/a><\/p>\n<p>Opinions expressed by Java Code Geeks contributors are their own.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This is a follow up to our last post about Spring\u2019s cache abstraction. As engineers, you gain valuable experience by understanding the internals of some of the tools that you use. Understanding the behaviour of tools helps you become more mature when making design choices. &nbsp;In this post, we describe a benchmarking experiment and the &hellip;<\/p>\n","protected":false},"author":328,"featured_media":240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[30],"class_list":["post-90400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-spring"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>More about Spring Cache Performance - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Interested to learn about Spring Cache Performance? Check our article describing a benchmarking experiment in order to understand annotations for caching\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"More about Spring Cache Performance - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Interested to learn about Spring Cache Performance? Check our article describing a benchmarking experiment in order to understand annotations for caching\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-05T13:00:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nikita Salnikov Tarnovski\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nikita Salnikov Tarnovski\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html\"},\"author\":{\"name\":\"Nikita Salnikov Tarnovski\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/4570b6191e21b6e609d8d00ae3b66745\"},\"headline\":\"More about Spring Cache Performance\",\"datePublished\":\"2019-04-05T13:00:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html\"},\"wordCount\":353,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"keywords\":[\"Spring\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html\",\"name\":\"More about Spring Cache Performance - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"datePublished\":\"2019-04-05T13:00:24+00:00\",\"description\":\"Interested to learn about Spring Cache Performance? Check our article describing a benchmarking experiment in order to understand annotations for caching\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"spring-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/04\\\/more-about-spring-cache-performance.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"More about Spring Cache Performance\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/4570b6191e21b6e609d8d00ae3b66745\",\"name\":\"Nikita Salnikov Tarnovski\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/da6d81f08e197d15e71a9c5fec7edde090d157ec0d00274595707d5ebc14e9c7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/da6d81f08e197d15e71a9c5fec7edde090d157ec0d00274595707d5ebc14e9c7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/da6d81f08e197d15e71a9c5fec7edde090d157ec0d00274595707d5ebc14e9c7?s=96&d=mm&r=g\",\"caption\":\"Nikita Salnikov Tarnovski\"},\"sameAs\":[\"http:\\\/\\\/plumbr.eu\\\/blog\\\/\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/nikita-salnikov-tarnovski\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"More about Spring Cache Performance - Java Code Geeks","description":"Interested to learn about Spring Cache Performance? Check our article describing a benchmarking experiment in order to understand annotations for caching","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html","og_locale":"en_US","og_type":"article","og_title":"More about Spring Cache Performance - Java Code Geeks","og_description":"Interested to learn about Spring Cache Performance? Check our article describing a benchmarking experiment in order to understand annotations for caching","og_url":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2019-04-05T13:00:24+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","type":"image\/jpeg"}],"author":"Nikita Salnikov Tarnovski","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Nikita Salnikov Tarnovski","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html"},"author":{"name":"Nikita Salnikov Tarnovski","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/4570b6191e21b6e609d8d00ae3b66745"},"headline":"More about Spring Cache Performance","datePublished":"2019-04-05T13:00:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html"},"wordCount":353,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","keywords":["Spring"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html","url":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html","name":"More about Spring Cache Performance - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","datePublished":"2019-04-05T13:00:24+00:00","description":"Interested to learn about Spring Cache Performance? Check our article describing a benchmarking experiment in order to understand annotations for caching","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","width":150,"height":150,"caption":"spring-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2019\/04\/more-about-spring-cache-performance.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"More about Spring Cache Performance"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/4570b6191e21b6e609d8d00ae3b66745","name":"Nikita Salnikov Tarnovski","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/da6d81f08e197d15e71a9c5fec7edde090d157ec0d00274595707d5ebc14e9c7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/da6d81f08e197d15e71a9c5fec7edde090d157ec0d00274595707d5ebc14e9c7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/da6d81f08e197d15e71a9c5fec7edde090d157ec0d00274595707d5ebc14e9c7?s=96&d=mm&r=g","caption":"Nikita Salnikov Tarnovski"},"sameAs":["http:\/\/plumbr.eu\/blog\/"],"url":"https:\/\/www.javacodegeeks.com\/author\/nikita-salnikov-tarnovski"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/90400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/328"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=90400"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/90400\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/240"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=90400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=90400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=90400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}