Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13397

Parallel streams start too many segments at once

    XMLWordPrintable

Details

    Description

      LocalPublisherManagerImpl.parallelAtMostOnce() starts available processors "rails", and processes segments independently on each rail. But rails only wait for a segment's publisher to be mapped to a CompletionStage, they don't wait for the stage to finish, so in practice the number of parallel publishers is limited only by the number of local segments.

      Attachments

        Issue Links

          Activity

            People

              wburns@redhat.com Will Burns
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: