[rabbitmq-discuss] Performance and load testing of RMQ
Simon MacMullen
simon at rabbitmq.com
Fri Sep 20 10:20:20 BST 2013
Because elapsed is measured in milliseconds, but we want to display the
rate per second.
Cheers, Simon
On 20/09/2013 4:04AM, Kuldip Madnani wrote:
> Hi Simon,
>
> I was trying to figure out how you calculate the rate of Messages
> Produced,Messages Consumed,Acknowledgement rate etc.
>
> I see the method:
> private void showRate(String descr, long count, boolean display,
> long elapsed) {
> if (display) {
> System.out.print(", " + descr + ": " +
> formatRate(1000.0 * count / elapsed) + " msg/s");
> }
> }
>
> I dont understand why are you multiplying by 1000 here?....Could you
> tell me how exactly are you calculating the rate
>
> Thanks & Regards,
> Kuldip Madnani
>
>
> On Tue, Sep 17, 2013 at 10:47 AM, Simon MacMullen <simon at rabbitmq.com
> <mailto:simon at rabbitmq.com>> wrote:
>
> On 17/09/13 16:40, k.madnani84 wrote:
>
> Thanks Michael...Dont we have Javadocs available for
> MulticastMain..?
>
>
> We don't currently publish Javadocs for examples like MulticastMain.
> But Javadocs would not do much, it has a method:
>
> public static void main(String[] args)
>
> For the time being your best bet is to look at its usage
> instructions, unpack the Java client and invoke:
>
> runjava.sh com.rabbitmq.examples.__MulticastMain --help
>
> We intend to improve its documentation soon.
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, Pivotal
>
>
--
Simon MacMullen
RabbitMQ, Pivotal
More information about the rabbitmq-discuss
mailing list