Github user steveloughran commented on the pull request:
https://github.com/apache/spark/pull/6935#issuecomment-160595631
Thinking about this some more, how about instead of trying to do something
clever with the REST UIs, web filters and stuff, we just have a background
thread that probes the current set of cached incomplete apps and evicts them on
a regular basis if they've changed.
Something that scans every 5 minutes with a nice simple policy
1. Unchanged since loaded: leave
1. Changed since loaded but loaded within a certain minimum "recently"
time: leave (stops UI being viewed from being continually reset)
1. Changed since loaded outside of "recently" threshold: evict (& detach).
Do not attempt to reload until UI interaction.
This design would mean that incomplete apps that were changing would be
evicted, and, if users will still looking at them, be reloaded. If they weren't
being viewed, there would be no replay cost.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]