Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3196

Speed up initial message delivery for offline durable sub with keepDurableSubsActive=true and JDBC store

    XMLWordPrintableJSON

Details

    Description

      Follow on from https://issues.apache.org/jira/browse/AMQ-3188
      Durablesubs are kept active by default, but their cursors are stopped requiring a read of the store to determine the message backlog. With a large prioritised backlog and th JDBC store, getting the store size can be costly as it requires a full table scan.
      Currently there are three calls to getStoreSize, there should be only one when the sub is initially created.
      The implication is that on reactivation of an offline durable sub, there is a delay of an additional potentially slow jdbc call before dispatch resumes.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: