Menu

Cache Reporting

2004-04-23
2004-04-24
  • Brandon Goodin

    Brandon Goodin - 2004-04-23

    The idea of cache reporting was suggested to me. Something where caching would report which caches were being accessed, how often, the size, how many times they are flushed etc...

    I figured it might be possible to simply write out debug information to a log file with relevant info. Then we could write an app/script to parse into coherent information regarding cache usage. This might help developers to fine tune their ibatis cache.

    Thoughts?

     
    • Nobody/Anonymous

      Log4j is a good suggestion for this.  The CacheModel class already has a getHitRatio() method on it, so it should be a piece of cake.

      Cheers,
      Clinton

       

Log in to post a comment.