Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How you can update memcached when data changes?



How you can update memcached when data changes?..

Answer / Pushpender Singh

To update Memcached when data changes, you need to implement a technique called touch-expire or eviction policy:
1. Touch-Expire: In this method, the client updates the expiration time of the cache every time data is accessed. This ensures that the data in the cache stays up-to-date as long as it's being accessed frequently.
2. Eviction Policy: When the cache reaches its maximum capacity, an eviction policy such as LRU (Least Recently Used) or LFU (Least Frequently Used) is used to remove old data and make room for new updates.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DevOps Interview Questions

Name a few branching strategies used in devops?

1 Answers  


How does http work?

1 Answers  


Is DevOps related to cloud computing?

1 Answers  


How is DevOps different from Agile SDLC?

1 Answers  


What’s a PTR in DNS?

1 Answers  


Can you explain the uses of the tools just mentioned and how they connect to give a devops model (ci/cd)?

1 Answers  


What all the major containerization tools in devops ?

1 Answers  


What are the core operations of DevOps in terms of development and Infrastructure?

1 Answers  


List out some popular tools for DevOps?

1 Answers  


Define a typical devops work flow ?

1 Answers  


Explain continuous integration.

1 Answers  


What is kubernetes? Explain

1 Answers  


Categories