This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
caching [2022/02/14 17:54] 84.198.201.169 [Cloud caching] |
caching [2022/03/21 13:21] yves |
||
---|---|---|---|
Line 4: | Line 4: | ||
We have a strategy where cache is deleted after a retention period automatically and no new cache is created if there is not enough disk space. | We have a strategy where cache is deleted after a retention period automatically and no new cache is created if there is not enough disk space. | ||
+ | |||
+ | There's a [[cache_settings|separate configuration page for cache settings]] | ||
==== Tile caching ==== | ==== Tile caching ==== | ||
+ | |||
+ | Extracted tiles from [[https://realdata.pathomation.com/what-whole-slide-images-wsis-are-made-of/|WSIs]] are stored in a cache repository. This is Just In Time (JIT) caching: the tiles are only stored in the cache after being generated for the first time. | ||
+ | |||
+ | When many people look at the same slide, they are typically interested in the same regions of interest and slide details. This means that as a system is used over time, almost all of its accessed content will be available through the tile cache. Tile caching in this regard also makes PMA.core a much more scalable system than it would be without this mechanism. | ||
PMA.core will not cache tiles or thumbnails if there is not enough disk space (as defined in the [[cache_settings|settings]]). | PMA.core will not cache tiles or thumbnails if there is not enough disk space (as defined in the [[cache_settings|settings]]). | ||
Line 14: | Line 20: | ||
{{ :cache_structure.png?nolink&400 |}} | {{ :cache_structure.png?nolink&400 |}} | ||
+ | |||
+ | Based on requests received from clients, PMA.core will retrieve part of the original slide from cloud storage, and keep that in a local cache repository. From that //data chunk// eventual tiles are extracted. | ||
+ | |||
==== Troubleshooting ==== | ==== Troubleshooting ==== | ||