Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-2759

LocalMessageBus PubSub Needs a Bounded Task Exectutor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1 GA
    • Fix Version/s: 1.1.1, 1.2 M1
    • Component/s: None
    • Labels:
      None

      Description

      Since 1.1, PubSub channels in the LocalMessageBus run on a CachedThreadPoolExecutor.

      For high volume environments, where back-pressure might occur on a topic: thread we could overwhelm the system with threads.

      Add a local bus configuration to limit the thread pool used for PubSubs and queue tasks where there are no threads available.

      It would be a bus-wide setting.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            grussell Gary Russell
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: