caching
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| caching [2022/02/14 15:55] – [Cloud caching] 84.198.201.169 | caching [2023/11/27 16:27] (current) – chris | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Caching ===== | ===== Caching ===== | ||
| - | For optimal performance, | + | For optimal performance, |
| - | We have a strategy where cache is deleted after a retention period | + | Our policy |
| + | |||
| + | There' | ||
| ==== Tile caching ==== | ==== Tile caching ==== | ||
| - | PMA.core will not cache tiles or thumbnails if there is not enough disk space (as defined in the [[cache_settings|settings]]). | + | Extracted tiles from [[https:// |
| + | |||
| + | 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 [[settings_image# | ||
| ==== Cloud caching ==== | ==== Cloud caching ==== | ||
| Line 21: | Line 27: | ||
| It is impossible to load an image from cloud storage if there is no disk space. | It is impossible to load an image from cloud storage if there is no disk space. | ||
| - | Let's assume that the whole disk space is 100GB, currently consumed | + | Let's assume that the whole disk space is 100GB, |
| - | If now there are 10 or 100 requests to load different images, PMA.core has to cache chunks of these images and suddenly there is no space and there is nothing that can be deleted. | + | If 100 requests to load different images |
| - | you can take this to a higher extreme and assume you have 100GB free space on a 100GB disk and you receive 100s of requests for "Image Info". This will again cause PMA.core to store chunks of 100s of images to the disk simultaneously, | + | You can take this to a higher extreme and assume you have 100GB of free space on a 100GB disk and you receive 100s of requests for "Image Info". This will again cause PMA.core to store chunks of 100s of images to the disk simultaneously, |
| After this point nothing works, because PMA.core doesn' | After this point nothing works, because PMA.core doesn' | ||
caching.1644850523.txt.gz · Last modified: by 84.198.201.169
