CacheInvalidation
No edit summary
No edit summary
Line 3: Line 3:
MDrivenCacheInvalidationAdmin
MDrivenCacheInvalidationAdmin
* LastInvallidationLoop
* LastInvallidationLoop
* LastUpdateLoop  MDrivenCacheInvalidationRecentlyUpdated
* LastUpdateLoop   
 
MDrivenCacheInvalidationRecentlyUpdated
* id
* id
* class
* class
* time  MDrivenCacheManifestHead
* time   
 
MDrivenCacheManifestHead
* ViewModel
* ViewModel
* RootId
* RootId
Line 16: Line 16:
* AllowOldness // set by viewmodel property - this way information can control when
* AllowOldness // set by viewmodel property - this way information can control when
* Updated     // set on update
* Updated     // set on update
* Invalidated  MDrivenCacheManifestRow
* Invalidated   
 
MDrivenCacheManifestRow
* Id  
* Id  
* Class  
* Class  
* OptionalAssociationEndNameForBeingIncluded  Upon normal save new rows are inserted in MDrivenCacheInvalidationRecentlyUpdated
* OptionalAssociationEndNameForBeingIncluded   
Upon normal save new rows are inserted in MDrivenCacheInvalidationRecentlyUpdated


===== Upon InvalidationLoop =====
===== Upon InvalidationLoop =====

Revision as of 16:55, 18 March 2019

This is work in progress and not available for production

MDrivenCacheInvalidationAdmin

  • LastInvallidationLoop
  • LastUpdateLoop

MDrivenCacheInvalidationRecentlyUpdated

  • id
  • class
  • time

MDrivenCacheManifestHead

  • ViewModel
  • RootId
  • Class
  • viewmodelMetaChecksum // set on update
  • priority // set by viewmodel property - this way information can control importance!
  • AllowOldness // set by viewmodel property - this way information can control when
  • Updated     // set on update
  • Invalidated

MDrivenCacheManifestRow

  • Id
  • Class
  • OptionalAssociationEndNameForBeingIncluded

Upon normal save new rows are inserted in MDrivenCacheInvalidationRecentlyUpdated

Upon InvalidationLoop

we look for direct hits on id and invalidate

we look for any objects of class that has been changed recently that now should be part of the set

(ie other end of OptionalAssociationEndNameForBeingIncluded , does it point to id -> invalidate)

This page was edited 34 days ago on 03/26/2024. What links here