mbari-org / annosaurus

Service for storing and retrieving video/image annotations from VARS
https://docs.mbari.org/annosaurus/
Apache License 2.0
1 stars 1 forks source link

Performance issues with paging/large annotation set requests #4

Closed hohonuuli closed 2 years ago

hohonuuli commented 6 years ago

The vars-annotation can attempt open videos that have thousands of annotations. Internally, it uses paging to manage the request. However, there is a performance issue with this. Need to find source of slow down and perhaps add streaming/chunked request support in Annosaurus

hohonuuli commented 6 years ago

For chunked responses, I'll need to create separate API classes that do not mix in ContentEncodingSupport. ContentEncodingSupport adds GZIP to responses, so chunked response don't actually get chunked, they are accumulated and then zipped when the response completes.