Register | Sign In


Understanding through Discussion


EvC Forum active members: 64 (9164 total)
4 online now:
Newest Member: ChatGPT
Post Volume: Total: 916,893 Year: 4,150/9,624 Month: 1,021/974 Week: 348/286 Day: 4/65 Hour: 2/1


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Author Topic:   Dog piling
trisha 
Suspended Junior Member (Idle past 4621 days)
Posts: 5
Joined: 09-01-2011


Message 89 of 89 (631463)
09-01-2011 6:39 AM
Reply to: Message 1 by Panda
06-06-2011 9:54 AM


Data freshness requires a refrigeration truck or an expiry time on your cache entry that causes stats to be periodically recalculated. Now, what happens when your cached data expires and a 1000 requests simultaneously try to recalculate the expensive to calculate data? Database load spikes and the world nearly ends. And since memcached operations are not atomic it's possible stale data could be cached and you'll serve stale data. Which kind of defeats of the purpose of taking load off the data while providing accurate data. So, how do you unpile the dogs?
funny photos
Edited by Admin, : Spamify link.

This message is a reply to:
 Message 1 by Panda, posted 06-06-2011 9:54 AM Panda has not replied

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2023 by EvC Forum, All Rights Reserved

™ Version 4.2
Innovative software from Qwixotic © 2024