fasttrackml icon indicating copy to clipboard operation
fasttrackml copied to clipboard

Figure out a strategy to prevent reads from live updates from causing production slowdowns

Open dave-gantenbein opened this issue 1 year ago • 4 comments

dave-gantenbein avatar Mar 08 '24 15:03 dave-gantenbein

perhaps an Aim UI story? Eg, an inactivity time-out which makes the user click "I'm still here" to resume

suprjinx avatar Mar 08 '24 19:03 suprjinx

@jgiannuzzi suggested:

  1. introduce a project-wide (ie, per namespace) setting to "allow live update"
  2. when that setting is enabled, we show the live update control
  3. when that setting is disabled, we remove live update control

suprjinx avatar Mar 11 '24 19:03 suprjinx

i'm also thinking the autoloader could do something to compare the final received metric -- if there's no change in timestamp perhaps start an exponential backoff?

suprjinx avatar Mar 14 '24 19:03 suprjinx

Solution for now: config switch when starting the server, send along to Aim in the projects endpoint, hide if disabled.

suprjinx avatar Mar 18 '24 13:03 suprjinx