Hi Tomas, Today I committed changes [1] into master improving the performance of the broker-j for the Receiver use case. The commit is made against QPID-8032.
I tested the changes locally on my machine and could see the improvements in broker-j performance. Before the change the dequeue operations in broker-j on my test machine were 7-8 times slower than the ones in cpp broker. After the change the performance has increased but the broker-j is still 2-3 times slower than cpp broker. Please give it a try on your environment and let us know about your performance results. Kind Regards, Alex [1] https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=a1ed997 On 22 January 2018 at 16:44, Oleksandr Rudyy <[email protected]> wrote: > Hi Tomas, > > We are currently looking into performance improvements for the Receiver. > We will notify you after necessary changes are made and ready for testing. > > Kind Regards, > Alex > > > > On 22 January 2018 at 11:20, Tomas Soltys <[email protected]> wrote: >> Hi Keith, >> >> I can confirm that sending is now much faster. >> >> *C++ broker* >> $ ./Broadcaster 20001 >> real 0m0.085s >> user 0m0.027s >> sys 0m0.005s >> >> *Java broker* >> $ ./Broadcaster 20002 >> real 0m0.876s >> user 0m0.037s >> sys 0m0.011s >> >> However receiving is still much slower. >> >> *C++ broker* >> $ time ./Receiver 20001 >> real 0m0.113s >> user 0m0.035s >> sys 0m0.014s >> >> *Java broker* >> $ time ./Receiver 20002 >> real 0m50.168s >> user 0m0.061s >> sys 0m0.032s >> >> See attached file cpp_vs_java.gz >> <http://qpid.2158936.n2.nabble.com/file/t365522/cpp_vs_java.gz> which >> contains: >> Broadcaster.cpp and Receiver.cpp based on qpid-proton 0.19.0 >> Setup for C++ broker 1.37.0 >> Setup for Java broker (master from 22-nd January 2017) >> >> Regards, >> Tomas >> >> >> >> >> -- >> Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
