httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 50317] Possible error in mod_cache's "Avoiding the Thundering Herd"
Date Thu, 22 May 2014 08:18:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50317

--- Comment #35 from Ruediger Pluem <rpluem@apache.org> ---
(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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message