httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 50317] Possible error in mod_cache's "Avoiding the Thundering Herd"
Date Thu, 22 May 2014 08:18:12 GMT

--- Comment #35 from Ruediger Pluem <> ---
(In reply to jkaluza from comment #34)
> OK, any idea what to do about it or do you think it's OK? This leads to two
> requests being passed to the backend server instead of one caused by
> multiple (in this case two) keys used for locking.
> If the key used in cache providers differs from the original one, shouldn't
> we generate the fresh key everytime when creating the lock to have
> consistent key across all ap_cache_try_lock(...) calls (basically what my
> change does)?
> Or do you think this is OK, because we get most likely (at least that's how
> I understand it) just maximally 2 requests to the backend server (one with
> original key and one with the key from cache-provider)?

I think 2 requests would be ok, but possibly we find out why we have two
different keys anyway, because after opening the cache entity we should only
have the one from the cache provider. How does this behave on trunk / 2.4.x?
Currently no time to dig further.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message