Uploaded image for project: 'Streams'
  1. Streams
  2. STREAMS-311

TwitterUserInformationProvider stalls with > 20 items provided

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3
    • Component/s: None
    • Labels:
      None

      Description

      The way parallelism is handled in TwitterUserInformationProvider can cause the provider to stall when more threads are created than the size of the execution service queue which is hard-coded to twenty.

      The size of the execution service queue should equal the number of threads to ensure that startStream() does not block trying to add more threads, because until startStream() completes the local runtime does not poll readCurrent().

        Attachments

          Activity

            People

            • Assignee:
              steveblackmon Steve Blackmon
              Reporter:
              steveblackmon Steve Blackmon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: