<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: claredada</title>
    <description>The latest articles on DEV Community by claredada (@claredada).</description>
    <link>https://dev.to/claredada</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F409864%2Fcf83b76f-101b-4f1a-ba99-b93c9470454e.png</url>
      <title>DEV Community: claredada</title>
      <link>https://dev.to/claredada</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/claredada"/>
    <language>en</language>
    <item>
      <title>Polar Bear Cache: Fewer Remote Calls, More Ice 🐻‍❄️</title>
      <dc:creator>claredada</dc:creator>
      <pubDate>Wed, 07 Oct 2026 13:28:53 +0000</pubDate>
      <link>https://dev.to/claredada/polar-bear-cache-fewer-remote-calls-more-ice-3nh0</link>
      <guid>https://dev.to/claredada/polar-bear-cache-fewer-remote-calls-more-ice-3nh0</guid>
      <description>&lt;p&gt;I built Polar Bear Cache, a local caching library for Java and Spring applications, with a simple idea: serve frequently accessed data locally and reduce repeated trips to an external cache.&lt;/p&gt;

&lt;p&gt;It integrates with Spring’s familiar @Cacheable, @CachePut, and @CacheEvict annotations. Each service instance keeps its own local cache. With an event service configured, instances broadcast invalidation notifications instead of cached values, allowing other instances to discard affected entries.&lt;/p&gt;

&lt;p&gt;Local cache hits avoid network round trips and repeated object deserialization. For suitable workloads, that can reduce pressure on external cache infrastructure and help each service instance handle more concurrent requests.&lt;/p&gt;

&lt;p&gt;The best fit is data that is read frequently, changes less often, and can tolerate short delays in cache invalidation. Cross-instance invalidation is asynchronous, so it does not guarantee strong consistency.&lt;/p&gt;

&lt;p&gt;So, why “Polar Bear Cache”?&lt;/p&gt;

&lt;p&gt;The name comes from a slightly optimistic chain of engineering reasoning:&lt;/p&gt;

&lt;p&gt;More local cache hits&lt;br&gt;
→ Fewer remote cache requests&lt;br&gt;
→ More traffic handled per service instance&lt;br&gt;
→ Potentially fewer servers&lt;br&gt;
→ Less energy consumption and fewer greenhouse gas emissions&lt;br&gt;
→ Help save polar bears! 🐻‍❄️🧊&lt;/p&gt;

&lt;p&gt;Of course, caching alone won’t save the Arctic. Actual savings depend on the workload and infrastructure. But making software more resource-efficient feels like a worthwhile place to start.&lt;/p&gt;

&lt;p&gt;That’s the idea behind Polar Bear Cache.&lt;/p&gt;

&lt;p&gt;Curious about how it works? Check out &lt;a href="https://github.com/babyblue94520/polar-bear-cache" rel="noopener noreferrer"&gt;Polar Bear Cache on GitHub&lt;/a&gt;.&lt;br&gt;
Feedback, ideas, and contributions are welcome!&lt;/p&gt;

&lt;p&gt;Fewer remote calls. More ice.&lt;/p&gt;

</description>
      <category>java</category>
      <category>springboot</category>
      <category>caching</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Use SQL like Spring Data JPA</title>
      <dc:creator>claredada</dc:creator>
      <pubDate>Mon, 03 May 2021 07:29:39 +0000</pubDate>
      <link>https://dev.to/claredada/use-sql-like-spring-data-jpa-lok</link>
      <guid>https://dev.to/claredada/use-sql-like-spring-data-jpa-lok</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/babyblue94520/hi-sql"&gt;https://github.com/babyblue94520/hi-sql&lt;/a&gt;&lt;br&gt;
Similar to Spring Data JPA, based on native SQL syntax, the result is converted into the expected object type, simplifying the process.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lj3cqgjm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sh2faio7c6fv2rlaqu1x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lj3cqgjm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sh2faio7c6fv2rlaqu1x.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>sql</category>
      <category>orm</category>
      <category>springboot</category>
      <category>java</category>
    </item>
  </channel>
</rss>
