Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.0
-
None
Description
At present DAGScheduler creates a thread to process events in the eventQueue, this is a typical situation where Actor is suitable.
So how about turn DAGScheduler into an actor, and send events as messages to it?
The new DAGScheduler will be more efficient and the code will be shorter. Maybe JobWaiter can also be replaced with Future.