rancher / opni

Multi Cluster Observability with AIOps

Home Page:https://opni.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Long status timeouts in status endpoints blocking browser requests

kralicky opened this issue · comments

When the browser is on a backend page (logging/monitoring), it sends a status request every 5 seconds to the selected backend's status api. If the status request takes a long time to reply, it will cause queued requests to get backed up, since the browser can only have 6 active concurrent requests at any given time.

The backend status APIs should make every attempt to return current status as fast as possible, and not block. Additionally, the dashboard should avoid making concurrent status calls to the same endpoint if possible.