GitHub user revans2 opened a pull request: https://github.com/apache/storm/pull/2647
STORM-3040: Improve scheduler performance There are a lot of different scheduler improvements. Mostly these are either caching, storing data in multiple ways so we can look it up quickly, and finally lazily sorting nodes in a rack only when it is needed, instead of all ahead of time. I also added in performance tests. They currently pass on travis, but I would like to hear from others on if this solution looks good or if there is a better way for us to do performance testing. You can merge this pull request into a Git repository by running: $ git pull https://github.com/revans2/incubator-storm STORM-3040 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/2647.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2647 ---- commit 8d3e5cf0e6f7f90d3007159d30c3456bd9749b1f Author: Robert (Bobby) Evans <evans@...> Date: 2018-04-24T20:19:32Z STORM-3040: Improve scheduler performance ---- ---