Closed yuanzhou closed 1 week ago
The /assaytype/<id>
calls entity-api first then builds the metadata based on ingest_metadata
on the fly, and then the rule chain comes into play with initialization and lookup. A given entity-api response is cached for every two hours, so the final result of the soft assay is deterministic.
Will see if this makes a difference. Still wondering why we didn't have this issue before.
We've received a few alerts from the monitoring service indicating the ingest-api service was down for a few minutes, and it has happened a few times in the past two days. Juan noticed 499 from nginx access log:
My quick test shows that the ingest-api became slow to response when there are calls made against
/assaytype/<id>
from portal-ui.Previously this soft-assay endpoint was only called during reindex time. According to John: