Skip to content

VARS Annotation 0.2.3

Compare
Choose a tag to compare
@hohonuuli hohonuuli released this 20 Dec 22:23
351338d

At MBARI, we were experiencing slow loads of annotations when a video had thousands of annotations. This release adds a configuration option to load annotation pages sequentially or in parallel. Sequential is when you're only running a single annosaurus instance. Parallel is allows faster loading when you are running multiple annosaurus instances behind a load-balancer. The configuration is set in the apps application.conf file. The specific options are set using the annotation.service.paging property which can be sequential or parallel

annotation.service {
  url = ${?ANNO_ENDPOINT}
  timeout = "7 seconds"
  client.secret = ""
  chunk.size = 50
  // when running multiple annosaurus instaces behind a load balancer use
  // "parallel" other wise "sequential" is recommended. Not the parse
  // only looks to see if the paging value starts with "par" to turn on the
  // parallel paging. Otherwise "sequential" is used
  paging = "sequential" // "parallel"
}