biocore / microsetta-public-api

A public microservice to support The Microsetta Initiative
BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

[Optimization] Cache the ranks subsample #101

Open wasade opened 3 years ago

wasade commented 3 years ago

It is probably unnecessary to always sample for ranks. Instead, we should cache once per dataset and optionally allow the client to request a new sample.

This endpoint has ~500ms turn around time on staging