Feature #48
closedperform load test on the fully integrated system
Description
- the maximum number of transaction per second
- the time taken to complete x number of transactions
- queue system is falling down when receiving message
- queue system is falling down when there's some consumer consuming message
Updated by chin-yeh about 14 years ago
- Status changed from In Progress to Feedback
- Assignee changed from chin-yeh to Chooi-Mey
- % Done changed from 20 to 100
- Resolution set to Fixed
The test result can be found in
http://192.168.2.13:50000/redmine/projects/messaging-system/wiki/Load_Test_Integrated
Updated by Chooi-Mey about 14 years ago
Based on discussion, while queue pool is full (during peak time) till not able to accept any new incoming request, instead of request is wait till no end which will impact on frontend app waiting time, go for approach that drop the request packet or set the request timeout. As request has already been stored in Event Log table, which can be pick up for re-try during re-try daemon execution later.
Please test on the approach of drop packet/request timeout setting.
Updated by chin-yeh about 14 years ago
Change the policy from BLOCK to DROP when reach the maximum size of message in a queue. If maximum size is reached, all of the subsequent message will be dropped.
There is a jmeter script to verify the scenario:
Steps to execute the jmeter script:http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/jmeter/qconnector_max_queue.jmx
- copy the script to your local machine
- login to 192.168.2.13
cd
to /opt/jboss-5.1.0.GA/server/default-with-hornetq/deploy- rename the ws-mimic.war to ws-mimic.war.bak
- to avoid any applications to consume the test messages
- launch jmeter and execute the script
- press
Ctrl + r
orRun -> Start
- press
- after the test, perform:
cd
to /opt/jboss-5.1.0.GA/server/default-with-hornetq/deploy- rename the ws-mimic.war.bak to ws-mimic.war
- to restore the application
- go to this URL, http://192.168.2.13:8180/jmx-console/HtmlAdaptor?action=inspectMBean&name=org.hornetq%3Amodule%3DCore%2Ctype%3DQueue%2Caddress%3D%22jms.queue.RequestQueue%22%2Cname%3D%22jms.queue.RequestQueue%22
- invoke the removeMessages() operation to remove all test messages