Skip to content

Jessitron

Search
  • Blog
  • Twitter
  • Patreon
  • Talks
  • Newsletter
  • Search
Search
  • Blog
  • Twitter
  • Patreon
  • Talks
  • Newsletter
  • Search

caching

Keeping Your Cache Down to Size

October 6, 2011

Guava’s CacheBuilder provides several options for keeping a cache down to a reasonable size. Entries can expire for multiple reasons, entries can be limited to a certain number, and entries can be made available for garbage collection. These options can be used individually or together. Each is simply one more method call during cache creation. …

Read moreKeeping Your Cache Down to Size

Tags caching, guava, Java, memory

Goodbye, MapMaker. Hello, CacheBuilder.

October 6, 2011

Google has released a new version of Guava, and it’s bad news for one of my favorite classes, MapMaker. The exciting feature of MapMaker is its ability to produce an insta-cache, a key-value mapping that calculates values on the fly, expires them, and limits the quantity stored — all while maintaining thread safety. In release …

Read moreGoodbye, MapMaker. Hello, CacheBuilder.

Tags caching, guava, Java

popular

  • PowerShell equivalent of find
    PowerShell equivalent of find
  • Run an OpenTelemetry Collector locally in Docker
    Run an OpenTelemetry Collector locally in Docker
  • PowerShell for `rm -rf`
    PowerShell for `rm -rf`
  • Spring Security for h2-console
    Spring Security for h2-console
  • Git Rebase inside IntelliJ IDEA
    Git Rebase inside IntelliJ IDEA

twitter

My Tweets

instagram

Look at these lovely bookends! I’d leave a review but Etsy thinks they’re still in transit. @youngoldthingsllc_
Where does understanding lie?

meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Blog
  • Twitter
  • Patreon
  • Talks
  • Newsletter

Tags

abstraction agile architecture automation change clojure complexity concurrency design DevOps Docker domain driven design Engineering functional functionalPrinciples Generativity git Java javascript learning observability philosophy process property-based testing reference ruby scala science Software Development symmathesy systems Systems Thinking teams testing thinkingFunctionally tistil typescript Web Development wit Yak Shaving

Archives

Search

© 2023 Jessitron, LLC
Scroll back to top