commit | 5d40a54560310ff4e6b8a02223e926b210e4d0f1 | [log] [tgz] |
---|---|---|
author | Martin Fick <mfick@codeaurora.org> | Mon Jan 27 16:14:29 2020 -0700 |
committer | Martin Fick <mfick@codeaurora.org> | Mon Jan 27 16:19:11 2020 -0700 |
tree | c35ec97c7dd4c25adb58f2ad2028c8e93a2a57aa | |
parent | 0bf9f5ae26220bfdcff0b3332e810f00aa9a7789 [diff] |
Shard the waiting directory to scale better Previously all the waiting tasks were stored in the same "waiting" directory. Since most filesystems don't scale well with more than 1000 entries in a directory, shard the "waiting" directory by the first two characters of the taskKey. This will shard the waiting entries across a max of 256 subdirectories, potentially providing improved scalibility for up to 256K waiting entries. Change-Id: I4da79306cb75a868a30ed98d5b33432dc3656b19