On Thu, Nov 08, 2001 at 08:59:55AM -0800, Bill Moseley wrote:
> Hi,
> 
> <verbose>
> I'm looking for a little discussion on selecting a data storage method, and
> I'm posting here because Cache::Cache often is discussed here (along with
> Apache::Session).  And people here are smart, of course ;).
> 
> Basically, I'm trying to understand when to use Cache::Cache, vs. Berkeley
> DB, and locking issues.

Even a bit more OT: one thing to watch out for, especially if you plan
on caching a *lot* of data, is that the Cache::* modules did not do
collision detection on MD5 collisions the last time I looked.  Forgive
me if that's changed recently.

The probability is extremely low, but they can and do occur "in the
wild" (I won't bring anyone's name up here :).  In other words, it's a
remote possibility that one URI might serve up another's content if the
two hash keys map to the same MD5 value.

Given an infinite number of web monkeys using Cache::* and an infinite
number of user monkeys clicking on links...

- Barrie

Reply via email to