Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4056

Optimize Paging Startup And Management operation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.27.0
    • None
    • None

    Description

      When there are a lot of queues paging, there are a few issues:

      • A few management operations are calling iterator(); and flushExecutors(). What may put the server down.
      • Paging is eventually reading pages even when they are complete (to just discard their value, when there is a page-complete record).
      • Paging is calling checkDepage() during reload, what will eventually delay startup time.
      • The main one: getFirstMessage() on QueueControl is calling an iterator(); Such iterator might put a lot of pressure in paging. (Imaging if you had 100 queues in a paged address. all of them would be issuing the iterator().

      Tests are optimizations and the servers should just behave the same without them.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              clebertsuconic Clebert Suconic
              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 20m
                  1h 20m