Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-3202

Add a performance unit test for com.liferay.portal.kernel.messaging.ArrayDispatcherDestination

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.5 GA
    • Component/s: None
    • Labels:
      None
    • Branch Version/s:
      5.1.x

      Description

      Performance Unit Test for ArrayDispatcherDestination.
      This test measures how fast ArrayDispatcherDestination can handle MessageListener register and unregister under a heavy concurrent load.

      Follow variables are used to configure the concurrent load.

      //How many candidate MessageListener, the MessageListener used to register and unregister is selected randomly from the candidates.
      public static int LISTENER_NUMBER = 10000;
      //How many concurrent thread are using to register MessageListener
      public static int REGISTER_THREAD_NUMBER = 10;
      //How many concurrent thread are using to unregister MessageListener
      public static int UNREGISTER_THREAD_NUMBER = 10;
      //How many iterations for a thread
      public static int ITERATE_TIMES = 100;

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              Anonymous
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 37 weeks, 6 days ago