Questions tagged [cache-invalidation]

Use cache-invalidation for questions related to purging content from a cache based on a state change in the cached object or a canonical object that it shadows

References

85 questions
0
votes
0 answers

Inconsistency in memcached due to MySQL master slave syncing delay

We have recently switched to MySQL master/slave architecture. We do all writes and critical reads to master and all read to the slave machines. The master/slave architecture is designed as follows. Now, if we cache data read from slave machines may…
ssharma
  • 521
  • 1
  • 7
  • 17
0
votes
1 answer

What is the reasonable time interval to invalidate (refresh ) any cache?

We decide to use cache (not decide specific cache) , but today came to know that we need to invalidate the cache data or refresh the cache data for every 2 minutes by connecting to datastore , but i am thinking that 2 min is not feasible , because…
Bravo
  • 8,589
  • 14
  • 48
  • 85
0
votes
1 answer

Cache invalidation in Symfony 3.1 cache component

I use the cache component of Symfony 3.1 to store some custom metadata for my entities. I would like to invalidate it as soon as a change is made in any file associated with these metadata. I didn't find a way to tell Symfony or the cache component…
Stnaire
  • 1,100
  • 1
  • 18
  • 30
0
votes
1 answer

Best way to invalidate a large number of Varnish objects?

I'm working on an API gateway-ish server, which supports user and groups. I have an API endpoint something like the following. /authorization/users/1?resource=users basically, it's asking "Can this user 1 have access to 'users'?". I would like to…
Moon
  • 22,195
  • 68
  • 188
  • 269
0
votes
1 answer

Invalidating Memcached Keys on save() in Django

I've got a view in Django that uses memcached to cache data for the more highly trafficked views that rely on a relatively static set of data. The key word is relatively: I need invalidate the memcached key for that particular URL's data when it's…
Zack
  • 2,274
  • 3
  • 24
  • 26
0
votes
1 answer

Django Cache-Machine cache invalidation does not work in admin

I installed cache-machine for my Django 1.6 project as described here: http://cache-machine.readthedocs.org/en/latest/ Now in django's admin, I cannot see new entries anymore. Cache invalidation does not work. I can see that the entry is beeing…
0
votes
1 answer

Does Varnish support Dependency Graph Cache Invalidation?

Consider (the hypothetical ) case in which a page is cached which contains blogsposts which in turn contains comments. Now 1 comment changes. This means the cache for the blogpost has to be invalidated and (transitively) the cache for the page has…
Geert-Jan
  • 18,623
  • 16
  • 75
  • 137
0
votes
1 answer

When should cache invalidation happen?

There's a database record. This record has a web page. This web page is cached. At some point the record may get updated and the cache (of the web page) - no longer needed. Should the system immediately tell the cache that it is no longer needed or…
Emanuil Rusev
  • 34,563
  • 55
  • 137
  • 201
0
votes
1 answer

Setting up SqlServer Cache Invalidation for ASP.net in Azure

I signed up for an Azure account and deployed a website together with a database which all went very smoothly. First I had it on the free service, but after experiencing performance issues, upgraded it to the shared model (which has the same…
Louis Somers
  • 2,560
  • 3
  • 27
  • 57
-1
votes
1 answer

Check AWS Cloudfront invalidation complete time?

I would like to know at what point in time a given Cloudfront invalidation has been completed. When browsing invalidations in AWS Console, I can only see Date created timestamp, as per attached image. I would like to know what is the date of…
1 2 3 4 5
6