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

Use RED protocol to avoid blocking in the message bundler

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • 12.1.0.CR2
    • Core
    • None
    • Undefined

    Description

      Now that we've changed the message bundler in our default configurations to transfer-queue, it would be a good idea to also add the RED protocol.

      RED will discard messages when the bundler queue gets close to full, and thus it will avoid blocking in the bundler. This is good because most of the time we send messages from a "non-blocking" thread.

      RED does add a lock acquire+release to the send path, so we need to test performance first.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: