Wildbook icon indicating copy to clipboard operation
Wildbook copied to clipboard

Reduce annot comparison time between Wildbook and WBIA by caching

Open holmbergius opened this issue 1 year ago • 0 comments

Wildbook is comparing lists of annotations with WBIA on building every ID job. This is excessive, and even if they are out of sync, Wildbook sends the small difference after checking. Using caching, this comparison process is sped up 95%, allowing Wildbook to send ID jobs to WBIA much more quickly and reducing request traffic to WBIA that is competing with actual ID job execution for resources.

Changes

  • adds a cache to the sendAnnotationsAsNeeded process during ID job creation.

holmbergius avatar Aug 09 '24 00:08 holmbergius