Skip to end of metadata
Go to start of metadata

Set up:

  • Db server: MySQL 5.5.44 (from apt-get) m3.large single instance
  • 4 App nodes m3.medium
  • HAProxy as Load balancer (HAProxy version 1.4.24 from apt-get) m3.medium

All instances running Ubuntu Server 14.04

MySQL my.cfg

Relevant jboss configuration

server.xml

mysql-ds.xml

HAProxy

I love HAProxy, I cannot recommend it enough. An awesome piece of software!

Test harness set up

Pretty much standard set up and using a TBL lesson (very intensive load!)

To ensure that we mimic some what realistic load, I run the Th with this script:

This will automatically start the test harness at a random time within 0 and 300 seconds (5 mins).

Basic configuration

learnerTest1.properties

Results

TH instance

Average response rate (seconds)

01

0.6062727272727273

02

0.823690909090909

03

0.8826545454545455

04

0.6258264115725618

05

0.7083841751548882

06

0.6396909493384314

07

0.5536065857885615

08

0.6676090909090909

09

0.6377040669022848

10

0.5363063278469752

Pretty good results for just a small cluster

  • No labels