Details
-
Sub-task
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
Description
Create a simple preliminary implementation of the event cache of YUNIKORN-42.
We have the following limited scope for this task:
- implement it as a separate process from the scheduler (similar to PartitionManager)
- only deal with queues and applications (the pods and nodes can be added later)
- only store the apps last visited time from the scheduler
- clean up those objects that haven't been visited in the last 24h
Other cache implementations can be also considered.
As a starting point, channels are a safe choice to have async communication with the scheduler without expecting bigger performance loss.