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 Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.5 GA
    • Component/s: None
    • Labels:
      None
    • Branch Version/s:
      5.1.x
    • Similar Issues:
      Show 5 results 

      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;

        Activity

        Hide
        Vicki Tsang added a comment -

        This is being bulk closed in preparation for the new workflow.

        Show
        Vicki Tsang added a comment - This is being bulk closed in preparation for the new workflow.

          People

          • Assignee:
            SE Support
            Reporter:
            Anonymous
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 38 weeks, 5 days ago

              Development

                Structure Helper Panel