The spout in the ThroughputVsLatency example does not block and does not sleep in the spout.
https://github.com/apache/storm/blob/master/examples/storm-starter/src/jvm/org/apache/storm/starter/ThroughputVsLatency.java#L156-L168 But the system is still sleeping behind the scenes. Every time nextTuple is called and it does not emit anything the system will internally throttle and sleep for 1 ms. There are other cases where it will sleep too. - Bobby On Saturday, October 8, 2016 1:39 AM, Arman Divband <[email protected]> wrote: Hi all, I am new in apache storm, I want to do a project in apache storm, and I need a tuning output rate of spout without Using CPU sleep command in nextTuple() method. How can I do this? thanks all,
