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

TwitterUserInformationProvider stalls with > 20 items provided

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: