Lots of DB requests when cache expires...

Olga Khenkin olga at metacafe.com
Wed Oct 10 08:40:05 UTC 2007


Hi,

 

When some popular object expires from memcached, all its customers try
to retrieve the object from database simultaneously, and the database
becomes overloaded.

 

If this object is requested about 100 times in a minute, and if the
process of receiving it from DB, processing and storing in cache takes
about a minute, then the database receives 100 identical queries. 

 

Do you have this problem? How do you handle it?

 

Thank you in advance,

Olga.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20071010/a802acf4/attachment.htm


More information about the memcached mailing list