LAPIS icon indicating copy to clipboard operation
LAPIS copied to clipboard

Aggregated endpoint is slower than expected

Open chaoran-chen opened this issue 11 months ago • 6 comments

Opening the CoV-Spectrum landing page, the website sends 19 requests to the /sample/aggregated endpoint. In all cases, the client has to wait >100ms for the server response, sometimes even over 700ms. According to @Taepper, SILO should only require a few ms.

What is causing the delay? Is it the proxying through the two servers? Is it LAPIS?

(My ping to lapis.cov-spectrum.org is 33ms.)

Dev console screenshots

image

image

Request IDs:

  • ff985605-1a26-4670-8aa7-2f04ca868d17 (790ms)
  • 55a8cc02-fafe-4541-8e1b-609622f41402 (600ms)
  • 5a5b4c0f-9f15-4cab-b921-be5c68b7d812 (125ms)

chaoran-chen avatar Mar 01 '24 16:03 chaoran-chen