RabbitMQ C/C++ Client PerfTest

93 views
Skip to first unread message

Shivalika Chaudhary

unread,
Mar 12, 2021, 2:24:28 AM3/12/21
to rabbitmq-users
Hi, I am new to using RabbitMQ.
I got the C and amqpcpp client for RabbitMQ from github. I am able to use it with my desired message.
Now I want to benchmark the performance with transmission time, message size, latency, etc.
I cannot find a PerfTest or any other benchmarking commands for the C client. Please let me know how to measure these?
Thanks in advance!

Arnaud Cogoluegnes

unread,
Mar 12, 2021, 2:55:00 AM3/12/21
to rabbitm...@googlegroups.com
There is PerfTest [1]. It's a Java tools, but you can use it to simulate loads, independently of the client stack used in the target system.

[1] https://github.com/rabbitmq/rabbitmq-perf-test

________________________________________
From: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com> on behalf of Shivalika Chaudhary <shival...@gmail.com>
Sent: Friday, March 12, 2021 8:24 AM
To: rabbitmq-users
Subject: [Suspected Spam] [rabbitmq-users] RabbitMQ C/C++ Client PerfTest
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com<mailto:rabbitmq-user...@googlegroups.com>.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/f05e4a52-8895-471c-a44b-78ba747cae8en%40googlegroups.com<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Frabbitmq-users%2Ff05e4a52-8895-471c-a44b-78ba747cae8en%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cacogoluegnes%40vmware.com%7C96fd62817f30434f3d5108d8e527e2df%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C0%7C637511306771580894%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ept16TSVdOKr9fVRDUW7bCK3yX9DPvB0jA7knbkG1Gw%3D&reserved=0>.

Shivalika Chaudhary

unread,
Mar 12, 2021, 4:14:20 AM3/12/21
to rabbitmq-users
Thanks! Are there any in-built functions or properties I can use? For example:
Solace Mesh's C Client has message properties like sender time stamp receive time stamp, transmission and receiving statistics, etc. 
Are there any such properties I can use to measure the performance of my application?

Shivalika Chaudhary

unread,
Mar 12, 2021, 4:25:23 AM3/12/21
to rabbitmq-users
I tried this, but this just runs tests on its application.
I have a C++ application that I want to run tests on. Anything for this?


On Friday, 12 March 2021 at 13:25:00 UTC+5:30 Arnaud Cogoluègnes wrote:

Arnaud Cogoluegnes

unread,
Mar 12, 2021, 4:37:19 AM3/12/21
to rabbitm...@googlegroups.com
I see. You can use the metrics provided by RabbitMQ (management plugin, Prometheus), this is a start.

But for client metrics like message latency, only the client application can do it, there's nothing built-in in the protocol and most of the client libraries. The PerfTest tool I mentioned measures message latency (time between the message is sent and received) by storing a timestamp in every message, which is an application-specific data in the case of a protocol like AMQP (which does not have a default property assigned for this in every message).

________________________________________
From: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com> on behalf of Shivalika Chaudhary <shival...@gmail.com>
Sent: Friday, March 12, 2021 10:25 AM
To: rabbitmq-users
Subject: [Suspected Spam] [rabbitmq-users] RabbitMQ C/C++ Client PerfTest

I tried this, but this just runs tests on its application.
I have a C++ application that I want to run tests on. Anything for this?


On Friday, 12 March 2021 at 13:25:00 UTC+5:30 Arnaud Cogoluègnes wrote:
There is PerfTest [1]. It's a Java tools, but you can use it to simulate loads, independently of the client stack used in the target system.

[1] https://github.com/rabbitmq/rabbitmq-perf-test<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frabbitmq%2Frabbitmq-perf-test&data=04%7C01%7Cacogoluegnes%40vmware.com%7Ce6ae6e01892a4b11e4c708d8e538c69a%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C0%7C637511379320237094%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2BEACJd2V6XKnxTWvp0icUbSS3tFNGM20CKrDYmFYjPY%3D&reserved=0>

________________________________________
From: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com> on behalf of Shivalika Chaudhary <shival...@gmail.com>
Sent: Friday, March 12, 2021 8:24 AM
To: rabbitmq-users
Subject: [Suspected Spam] [rabbitmq-users] RabbitMQ C/C++ Client PerfTest

Hi, I am new to using RabbitMQ.
I got the C and amqpcpp client for RabbitMQ from github. I am able to use it with my desired message.
Now I want to benchmark the performance with transmission time, message size, latency, etc.
I cannot find a PerfTest or any other benchmarking commands for the C client. Please let me know how to measure these?
Thanks in advance!

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com<mailto:rabbitmq-user...@googlegroups.com>.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/f05e4a52-8895-471c-a44b-78ba747cae8en%40googlegroups.com<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Frabbitmq-users%2Ff05e4a52-8895-471c-a44b-78ba747cae8en%2540googlegroups.com&data=04%7C01%7Cacogoluegnes%40vmware.com%7Ce6ae6e01892a4b11e4c708d8e538c69a%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C0%7C637511379320237094%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Szv%2B0EE%2BYoANMzhx5YLc%2BuzyLNCpB3EDkkzvmCjLw1M%3D&reserved=0><https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Frabbitmq-users%2Ff05e4a52-8895-471c-a44b-78ba747cae8en%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cacogoluegnes%40vmware.com%7C96fd62817f30434f3d5108d8e527e2df%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C0%7C637511306771580894%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ept16TSVdOKr9fVRDUW7bCK3yX9DPvB0jA7knbkG1Gw%3D&reserved=0<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Frabbitmq-users%2Ff05e4a52-8895-471c-a44b-78ba747cae8en%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cacogoluegnes%40vmware.com%7Ce6ae6e01892a4b11e4c708d8e538c69a%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C0%7C637511379320247091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YffgOYzfaK9IpZunYINqUIrapD9HMYpKf8fANmS70vA%3D&reserved=0>>.

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com<mailto:rabbitmq-user...@googlegroups.com>.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/bd573aac-30b9-4ce8-87f4-a55f3c0fd20cn%40googlegroups.com<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Frabbitmq-users%2Fbd573aac-30b9-4ce8-87f4-a55f3c0fd20cn%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cacogoluegnes%40vmware.com%7Ce6ae6e01892a4b11e4c708d8e538c69a%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C0%7C637511379320247091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cY7y%2FjaHEh3y76SXg4YA1PLDaikxXO6WxZ1BlOtEpLI%3D&reserved=0>.
Reply all
Reply to author
Forward
0 new messages