Skip to content

Jessitron

Search
  • Blog
  • Twitter
  • Patreon
  • Newsletter
  • Talks
  • Search
Search
  • Blog
  • Twitter
  • Patreon
  • Newsletter
  • Talks
  • 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

  • Who are we Now?
    Who are we Now?
  • PowerShell equivalent of find
    PowerShell equivalent of find
  • Line endings in git
    Line endings in git
  • Teams are like bread
    Teams are like bread
  • Repeating commands in bash: per line, per word, and xargs
    Repeating commands in bash: per line, per word, and xargs

meta

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

Tags

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

Archives

Search

© 2026 Jessitron, LLC
Scroll back to top