You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Stan Lewis <sl...@fusesource.com> on 2010/10/18 21:26:04 UTC

activemq-apollo stomp performance test enhancements

The next 8 patches coming in improve the apollo-stomp performance tests:

1)  Adds a test that creates an initial DB with 1M messages
2)  Fixes the persistent-report.html template to match up with the BasicScenarios trait
3)  Some general cleanup


[PATCH 4/8] Hmmm, don't have HawtDB 1.4-SNAPSHOT but do have 1.5-SNAPSHOT

Posted by Stan Lewis <sl...@fusesource.com>.
---
 pom.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


[PATCH 5/8] Rip out watchdog code, isn't used/needed

Posted by Stan Lewis <sl...@fusesource.com>.
---
 .../apollo/stomp/perf/StompRemoteClients.scala     |   40 --------------------
 1 files changed, 0 insertions(+), 40 deletions(-)


[PATCH 1/8] Create initial DB with 1M messages, save it and re-use it, modified DeepQueueScenarios to just push messages onto the queue and took out the fixed sampling. Still needs a bit of work.

Posted by Stan Lewis <sl...@fusesource.com>.
---
 .../apollo/broker/perf/BrokerPerfSupport.scala     |   68 ++++---
 .../apollo/broker/perf/DeepQueueScenarios.scala    |   52 +-----
 .../apollo/broker/perf/LargeInitialDB.scala        |  123 ++++++++++++
 .../apollo/broker/perf/PersistentScenario.scala    |    6 +
 .../apollo/stomp/perf/StompBrokerPerfTest.scala    |  205 +-------------------
 .../apollo/stomp/perf/StompRemoteClients.scala     |  191 ++++++++++++++++++
 .../apache/activemq/apollo/util/FileSupport.scala  |   48 +++++
 .../activemq/apollo/util/FileSupportTest.scala     |   60 ++++++
 8 files changed, 484 insertions(+), 269 deletions(-)
 create mode 100644 apollo-broker/src/test/scala/org/apache/activemq/apollo/broker/perf/LargeInitialDB.scala
 create mode 100644 apollo-stomp/src/test/scala/org/apache/activemq/apollo/stomp/perf/StompRemoteClients.scala
 create mode 100644 apollo-util/src/main/scala/org/apache/activemq/apollo/util/FileSupport.scala
 create mode 100644 apollo-util/src/test/scala/org/apache/activemq/apollo/util/FileSupportTest.scala


[PATCH 6/8] tidying up some classes.

Posted by Stan Lewis <sl...@fusesource.com>.
---
 .../apollo/broker/perf/BrokerPerfSupport.scala     |  196 +++++++++-----------
 .../apollo/broker/perf/DeepQueueScenarios.scala    |    9 +-
 .../apollo/broker/perf/LargeInitialDB.scala        |   41 ++---
 .../apollo/broker/perf/PersistentScenario.scala    |    4 +-
 .../apollo/stomp/perf/StompBrokerPerfTest.scala    |   12 +-
 .../activemq/apollo/util/ServiceController.scala   |   43 +++++
 6 files changed, 160 insertions(+), 145 deletions(-)
 create mode 100644 apollo-util/src/main/scala/org/apache/activemq/apollo/util/ServiceController.scala


[PATCH 8/8] Fixed persistent template to match up with BasicScenarios test

Posted by Stan Lewis <sl...@fusesource.com>.
---
 .../apollo/broker/perf/persistent-report.html      |  417 +++++++++++---------
 .../apollo/broker/perf/BasicScenarios.scala        |    1 -
 .../apollo/broker/perf/BrokerPerfSupport.scala     |    5 +-
 .../apollo/broker/perf/PersistentScenario.scala    |    3 +-
 4 files changed, 224 insertions(+), 202 deletions(-)


[PATCH 7/8] little bit more cleanup, fixed up watchdog trait and re-added, not currently being used at the moment.

Posted by Stan Lewis <sl...@fusesource.com>.
---
 .../apollo/broker/perf/BrokerPerfSupport.scala     |  150 +++-----------------
 .../apollo/broker/perf/LargeInitialDB.scala        |   11 +-
 .../apollo/broker/perf/RemoteConnection.scala      |  142 ++++++++++++++++++
 .../apollo/stomp/perf/StompRemoteClients.scala     |   46 +++++--
 .../activemq/apollo/util/ServiceController.scala   |   24 +++-
 5 files changed, 222 insertions(+), 151 deletions(-)
 create mode 100644 apollo-broker/src/test/scala/org/apache/activemq/apollo/broker/perf/RemoteConnection.scala


Re: activemq-apollo stomp performance test enhancements

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Applied.  Thanks for the patch!

Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://fusesource.com/



On Mon, Oct 18, 2010 at 3:35 PM, Hiram Chirino <hi...@hiramchirino.com> wrote:
> Cool,
>
> I'll look into merging them.
>
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>
> Open Source SOA
> http://fusesource.com/
>
>
>
> On Mon, Oct 18, 2010 at 3:26 PM, Stan Lewis <sl...@fusesource.com> wrote:
>> The next 8 patches coming in improve the apollo-stomp performance tests:
>>
>> 1)  Adds a test that creates an initial DB with 1M messages
>> 2)  Fixes the persistent-report.html template to match up with the BasicScenarios trait
>> 3)  Some general cleanup
>>
>>
>

Re: activemq-apollo stomp performance test enhancements

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Cool,

I'll look into merging them.

Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://fusesource.com/



On Mon, Oct 18, 2010 at 3:26 PM, Stan Lewis <sl...@fusesource.com> wrote:
> The next 8 patches coming in improve the apollo-stomp performance tests:
>
> 1)  Adds a test that creates an initial DB with 1M messages
> 2)  Fixes the persistent-report.html template to match up with the BasicScenarios trait
> 3)  Some general cleanup
>
>

[PATCH 3/8] added activemq-data to .gitignore

Posted by Stan Lewis <sl...@fusesource.com>.
---
 .gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


[PATCH 2/8] Sync up StompRemoteClients.scala with Stomp constant changes

Posted by Stan Lewis <sl...@fusesource.com>.
---
 .../apollo/stomp/perf/StompRemoteClients.scala     |   65 +++++++++++++------
 1 files changed, 44 insertions(+), 21 deletions(-)