Currently every call to Scheduler.transition potentially initiates a send of a message to workers and clients. This can be somewhat costly, even given the BatchedSend logic. There are a few ways that we could address this:
- We could reduce the overhead of BatchedSend
- We could batch things ourself in transitions
cc @jakirkham