Wildbook
Wildbook copied to clipboard
Reduce annot comparison time between Wildbook and WBIA by caching
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.