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

Improve performance of selectors with a big sequence of OR and AND logical expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.17.1
    • 5.18.0, 5.17.2
    • JMS client
    • None

    Description

      Currently when you create a selector with OR and ANDs the filter creates a huge stack trace.

      This is because for each element in the OR and AND expression node we have to execute a method call.

      This is happening because OR and AND expressions are treated as BinaryExpressions.

      A very simple but effecting improvement is to not represent OR and AND expressions as binary expression but store the list of siblings expression in only one node.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            eolivelli Enrico Olivelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m