Github user vrozov commented on the pull request:
https://github.com/apache/incubator-apex-core/pull/271#issuecomment-197652278
Another benefit of the current approach is that it is less prone to
incorrect sleep time setting. I tried setting sleep time to 100 milliseconds
and with the new approach, the throughput is not much affected, with the old
approach, the throughput drops significantly.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---