I would like to suggest a way to improve the management method of annotation files.
In my customer’s case, annotation is heavily used and over 70,000 files are stored in the annotation folder (file system) and the loading latency has been slowed down as these annotation files keep increases.
By doing the following method as part of PrizmDoc setting, I believe annotation loading speed can be improved.
Here is the current and the proposing examples of managing annotation files.
# Current managing style
* Annotations are saved to same directory.
{ prizmdoc/markupLayerRecords } folder
- 34036ce47472d7ee66e2744ab0893755b78407d6_0_NXGV06oQSKnAsxaAuTKK0qz7BKPTCZoT.json
- 5b58fc2914fe8f0e4e99538321f221073a64d2f2_0_-bCQnFbmLxYJ4DZVF9oqvrDSn9VApvY8.json
- 8cc1319df5e8b35360ecf636f49a8e63547071a3_0_J28f0PGpnSEqo0KSiAt5z8hkjjtXJgJt.json
# Proposing managing style
* Annotations are saved separately folder according to a certain rule.
{ prizmdoc/markupLayerRecords } folder
- 34036ce47472d7ee66e2744ab0893755b78407d6
- 34036ce47472d7ee66e2744ab0893755b78407d6_0_NXGV06oQSKnAsxaAuTKK0qz7BKPTCZoT.json
- 5b58fc2914fe8f0e4e99538321f221073a64d2f2
- 5b58fc2914fe8f0e4e99538321f221073a64d2f2_0_-bCQnFbmLxYJ4DZVF9oqvrDSn9VApvY8.json
- 8cc1319df5e8b35360ecf636f49a8e63547071a3
- 8cc1319df5e8b35360ecf636f49a8e63547071a3_0_J28f0PGpnSEqo0KSiAt5z8hkjjtXJgJt.json
Currently, PAS searches annotation files with the file name that have the letters marked in red, which are the hash value of absolute path of an image file. Rather than storing all the annotation files in a single folder, it should add hash value folders under the single folder and classify annotation files into these folders that links with subjected image files (The layer can be multiple).
And I believe that making it possible to specify the above storage method ( Current managing style or Proposing managing style ) in the configuration file will make it more versatile.
After additional review of this suggestion, it was discovered that adding this capability has no impact on performance for loading latency. When testing loading by Accusoft, we are not able to replicate this issue. This idea has been moved into a support ticket and we are investigating the issue to root cause what is causing the latency when loading annotations.
Attachments Open full size
This idea has been adopted and will be implements in a future release. We are working on scheduling this update and will post later when its determined which release will include this update. I expect to have expected delivery date in a couple of months.
Attachments Open full size