Move akka-sample-trading to gh/jboner/akka/akka-actor-tests
We should merge in Patriks awesome benchmark into akka-actor-tests so one can run the bench easily to verify optimizations.
Leave a comment
on 2011-07-03 22:27 *
By Patrik Nordwall
Good idea. I will extract the relevant parts. /Patrik
on 2011-07-04 18:22 *
By viktorklang
Also, while on the topic, if there's still blocking done in the bench, we should strive to remove that.
on 2011-07-04 23:15 *
By Patrik Nordwall
Pushed.
I removed the blocking that was used when initializing the OrderReceiver. There is blocking (await Future) in two more places in the req-response tests. Between the primary and standby matching engine, and in the client, waiting for the reply. I think both these are ok to keep. There should be some difference between the two benchmarks ;-)
In the one-way tests there is no blocking, except for in the client, waiting for the latch.
I removed the blocking that was used when initializing the OrderReceiver. There is blocking (await Future) in two more places in the req-response tests. Between the primary and standby matching engine, and in the client, waiting for the reply. I think both these are ok to keep. There should be some difference between the two benchmarks ;-)
In the one-way tests there is no blocking, except for in the client, waiting for the latch.
on 2011-07-10 11:18 *
By Patrik Nordwall
As an additional bonus I have added on-the-fly generation of charts, URLs to Google Chart API.
Example: http://bit.ly/mPh7wI
I have only done for percentiles. I have some more charts on the shelf.
Example: http://bit.ly/mPh7wI
I have only done for percentiles. I have some more charts on the shelf.
on 2011-07-10 11:44 *
By viktorklang
Nice!!
on 2011-07-10 23:31 *
By Patrik Nordwall
I have a little 'welcome back from vacation' present for you Viktor. I have added possibility to compare benchmark results. Previously I showed compare by increasing load. http://bit.ly/oKfaJZ
Now it is possible to compare one test with another. http://bit.ly/q8G6f7
Use case: fork join vs. default dispatcher
And most interesting, possibility to compare with historical runs. http://bit.ly/qpi8nw
I think the latter will be very useful when doing tuning, and eventually also for detecting trend deviations when running on our imaginable stable performance test server.
Enable this feature with system property "benchmark.resultDir", and create that directory. Default is "target/benchmark", but the dir must exist to activate this feature. The test results are stored on file.
If you rename a result file to begin with "baseline-" it will always be included in the charts, otherwise the latest 7 runs are displayed.
Now it is possible to compare one test with another. http://bit.ly/q8G6f7
Use case: fork join vs. default dispatcher
And most interesting, possibility to compare with historical runs. http://bit.ly/qpi8nw
I think the latter will be very useful when doing tuning, and eventually also for detecting trend deviations when running on our imaginable stable performance test server.
Enable this feature with system property "benchmark.resultDir", and create that directory. Default is "target/benchmark", but the dir must exist to activate this feature. The test results are stored on file.
If you rename a result file to begin with "baseline-" it will always be included in the charts, otherwise the latest 7 runs are displayed.
on 2011-07-10 23:36 *
By viktorklang
Wow! This is splendid work Patrik!
VERY well done :-)
VERY well done :-)
on 2011-07-13 19:11 *
By Patrik Nordwall
Another chart in place. It displays throughput and latency in same graph (2 axis) with increasing load.
Sample: http://bit.ly/pDLv1J
Sample: http://bit.ly/pDLv1J
Done
Description of the new features in akka-dev mailing list: http://groups.google.com/group/akka-dev/browse_thread/thread/1f970d66a8e57453
Description of the new features in akka-dev mailing list: http://groups.google.com/group/akka-dev/browse_thread/thread/1f970d66a8e57453
Updating tickets (#967, #974, #975, #976, #980, #981, #989, #990, #992, #993, #994, #999, #1000, #1004, #1008, #1011, #1015, #1018, #1022, #1023, #1024, #1025, #1027, #1028, #1029, #1030, #1032, #1033, #1036, #1047, #1053, #1062, #1067, #1068, #1069, #1072, #1075, #1078, #1082, #1102, #1107, #1110, #1111, #1115, #1116, #1121, #1122, #1123, #1124)