Hi

straight from the docs at http://nathanmarz.github.io/storm/doc/backtype/storm/spout/ISpout.html#nextTuple%28%29

"When there are no tuples to emit, it is courteous to have nextTuple sleep for a short amount of time (like a single millisecond) so as not to waste too much CPU."

Is this still current, or are there better ways to wait and not waste CPU cycles?

Regards,
Harald.

Reply via email to