CloudAMQP is a service which provides managed RabbitMQ servers in the cloud. For developers, it offers a free plan, called “Little Lemur”. Clients can connect using various protocols: AMQP, AMQPS, HTTPS, STOMP and MQTT. Dedicated plans do also have support for WEB-STOMP.
STOMP client test application
The demo download of the Habari Client for RabbitMQ library for Delphi and Free Pascal contains a STOMP based performance test application. Configuration for CloudAMQP server instances is simple. The CloudAMQ web admin console displays the server name and user credentials on the “Details” page. Click on the Broker address edit field in the test application to open the connection configuration dialog.
The test application will start producer and consumer threads, which send and receive the selected number of messages with a payload of the chosen size. The receiver threads will retry if any messages have not been received.
Test run result
With small payload sizes, the transfer rate reaches several hundred messages per second. It drops to around 100 messages per second and less with payloads of 500 bytes. (CloudAMQ shared plan instances are vhosts located on a shared server where other users actions might affect the performance of the whole server.)
While these message rates are much lower than those in a local network, they are still good enough for evaluation of messaging applications which need to run in the Internet.
About Habari Client libraries
Habari Client libraries enable Object Pascal applications to take advantage of message broker / message queue technology – which is distributed, loosely coupled, reliable and asynchronous – to build integrated systems, using peer-to-peer and publish-subscribe communication models