Sim
Well-known member
Due to the rapidly growing disk usage for our galleries, I have added an external block storage volume (Linode) and then moved the entire
It's all working as expected - no issues.
However, I have noted that the latency of accessing files from the external volume is quite a bit higher than those on the native SSD drives (as expected based on @eva2000 's early testing).
Rough figures I'm seeing from NGINX Aplify monitoring shows an average of around 0.6ms
Given that the
Would we be better to keep
I'm guessing it's not largely going to be an issue for the php files (
Is there anything I haven't considered that might cause problems using a symlink and only moving attachments? Should I not bother an just leave it as is with the entire
internal_data
directory to the new volume and set the $config['internalDataPath'] to that directory.It's all working as expected - no issues.
However, I have noted that the latency of accessing files from the external volume is quite a bit higher than those on the native SSD drives (as expected based on @eva2000 's early testing).
Rough figures I'm seeing from NGINX Aplify monitoring shows an average of around 0.6ms
io.wait_r
the SSD compared to around 4.5ms for the block storage volume - so approximately 7-8 times slower on block storage.Given that the
internal_data
directory contains a lot more than just attachments:- attachments
- image_cache
- page_cache
- sitemaps
- temp
- templates
Would we be better to keep
internal_data
on the main SSD storage, move only attachments
to block storage volume and symlink to it?I'm guessing it's not largely going to be an issue for the php files (
templates
) because the Opcache should take care of latency.image_cache
could be a little more problematic - but given that these files are not served directly by the web server but are served via php - there is already latency there anyway - not sure an extra 4.5ms to read the image from the block storage volume is going to have a significant impact.Is there anything I haven't considered that might cause problems using a symlink and only moving attachments? Should I not bother an just leave it as is with the entire
internal_data
directory on the block storage volume?