Explain what is Dogpile effect? How can you prevent this effect?
Answers
Answered by
3
Answer:
Dog pile effect can be prevented using semaphore lock. If value expired, first process acquires a lock and starts generating new value. All the subsequent requests check if lock is acquired and serve stale content. After new value is generated, lock is released.
Answered by
2
Answer:
Dog pile effect can be prevented using semaphore lock. If value expired, first process acquires a lock and starts generating new value. All the subsequent requests check if lock is acquired and serve stale content. After new value is generated, lock is released.
hope it is helpful to you
Similar questions