kbase / sample_service

Service for creating, modifying, and retrieving samples
MIT License
0 stars 11 forks source link

SAM-119: Optimize get_samples #461

Closed dakotablair closed 2 years ago

dakotablair commented 2 years ago

This PR uses an AQL query to more directly return requested samples to the end user. This has the effect of speeding up the call quite considerably since any node tree lookups are done as part of a single query instead of requiring a separate query for each sample. Ideally, this will allow the sample service to respond completely to a query for at least 4096 samples in less than 60 seconds.

dakotablair commented 2 years ago

This PR already exists as #453.