Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0, 1.2.0, 1.1.2, 1.0.5
    • Component/s: storm-core
    • Labels:
      None

      Description

      Profiling our topology I noticed that the DRPCSpout actually sleeps twice if it has nothing to do. This is due to a Utils.sleep(1) call at the end of nextTuple() while the SleepSpoutWaitStrategy performs the default sleep if a spout did not emit any tuple.

      This causes - in my understanding - unnecessary context switches, especially with a high number of parallelism.

      Attached the corresponding YourKit screenshot.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sakanaou Daniel Klessing
                Reporter:
                sakanaou Daniel Klessing
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m