InterviewSolution
Saved Bookmarks
| 1. |
What is Dogpile effect? How can it be prevented? |
|
Answer» It is also referred to as cache stampede which can occur when huge parallel COMPUTING systems employing caching strategies are subjected to very high load. It is referred to as that event that occurs when the cache expires (or invalidated) and multiple requests are hit to the website at the same time. The most common way of PREVENTING dogpiling is by implementing SEMAPHORE locks in the cache. When the cache expires in this system, the first process to acquire the lock WOULD generate the NEW value to the cache. |
|