Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2024

Enhance the performance of RepositoryChangeBus

    XMLWordPrintable

Details

    Description

      The current internal event bus - RepositoryChangeBus - starts a separate thread for each registered listener and offers events to each listener using a BlockingQueue. The listener in turn, polls the queue using BlockingQueue#poll, which seems to be quite CPU intensive under medium/heady load (http://supercoderz.in/2012/02/04/using-linkedblockingqueue-for-high-throughput-java-applications)

      We should try to improve the performance in this area.

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: