What is our primary use case?
We use it to achieve what we call asynchronous processing. Asynchronous processing is where applications need to communicate with each other, but they don't need to rely on failures, maybe network failures, or dependencies between them. So how you do it: one application publishes a message to VMware RabbitMQ , and another application will consume that message from VMware RabbitMQ. And so do much, its processing.
How has it helped my organization?
I'm in payments. Let me give you some background on Africa. In Africa, you normally use mobile services, often called Momo, to make payments. So basically, money sits in the customer's wallet, and you need to send them a PIN prompt for them to authorize the transaction.
Now you think about it. If you are on checkout, you need to click on a button to check out. Then, there's an intermediate API that will receive your request. Now, if that API had to call the service provider to issue the PIN prompt, then that takes about one minute. So what you are doing, you are creating a latency of one minute or sixty seconds between your checkout page and the provider.
So, how have we done it on our end? When checkout calls the API, the API publishes a message to RabbitMQ and sends a request back to checkout within 20 milliseconds. And tell the customer that, "We sent you a PIN prompt. Please approve." Now, the consumer who will pick that message up is the one to call the service provider.
Moreover, clustering is actually good because you don't need to have just a single instance of RabbitMQ, which then becomes a single point of failure. In our setup, we actually have two instances for our RabbitMQ cluster. What that means is if one instance is down, we have the other instance which is still processing.
What is most valuable?
I like many features in RabbitMQ.
Number one, reliability for the messages is key. RabbitMQ ensures your messages are safe. They are not deleted and stuff.
Number two, they have a very good feature called Retrying messages – it's all about retries. You can easily retry a message through RabbitMQ. So, if processing fails, you can push the message back into RabbitMQ. Maybe you can re-consume it and so on.
They also have features like tags, which we call "dead-lettering (DLXs)." If it's approved, it means the messages have been delivered. If it's false or missing the first time you get it, you can make decisions based on that. The feature assigned to code for it is called the dead-letter queue.
Moreover, the management interface is so cool. It's simple. It's able to give us an overview of the messages that have been consumed, pending messages, messages that have been delivered, messages that have been acknowledged, and so on. We can also extend that management to tools like... we can extend the management through, like, Kibana or Grafana
What needs improvement?
Once in a while, we have downtimes associated with RabbitMQ. However, the long-term solution is to architect your solution for a commercially supported messaging broker.
For how long have I used the solution?
I've been using VMware RabbitMQ for the last three to four years.
What do I think about the stability of the solution?
It is highly available. However, if messages pile up until the space of the memory is full, then basically, the cluster goes down, and someone has to log in through the backend and purge all messages.
The trick here is that it's not about the tool. It's about how you build your application and also how you manage your messages.
I would rate the stability an eight out of ten. It is not a ten because of a few reasons.
Number one, look at the management console. It is not very secure. If I were to claim it is not very secure, well, we have advanced MQs like IBM MQ. So, companies have come up to build more secure messaging brokers on top of RabbitMQ.
Number two is – if you don't manage your messages well, then it can surprise youand it goes down.
What do I think about the scalability of the solution?
It is a highly scalable product.
How are customer service and support?
We've not had to engage external guys for support. You can easily train your guys to have in-house support.
How was the initial setup?
The initial setup was very straightforward for both on the cloud and on-premises.
For on-prem [deployments], you definitely need to download the artifacts and install them on a server.
But for the cloud, we have some managed services. Like, we have a managed service by AWS ECP. You can easily purchase and just spin up a working instance for yourself. RabbitMQ gives you all the credentials, and you're up and running.
What was our ROI?
The benefit of achieving asynchronous processing. This gives you:
- Number one is the comfort of your system being stable and running in a very reliable way. Therefore, you'll have very minimal downtimes, which means more revenue for you.
- If you're able to set it up correctly on-prem, then it actually becomes a one-time cost, actually, installation. So you don't need to pay for it ongoing. That means your revenues even become higher.
- But if you lack the technical capacity, you can purchase a managed instance from Microsoft, AWS, GCP – cloud-managed. By the time you're going to those platforms, I think you have enough revenue to pay for the cost. But you will also get a very higher rate of uptime.
Which other solutions did I evaluate?
What other advice do I have?
Overall, I would rate the solution an eight out of ten. If you are starting, you can have RabbitMQ on-prem.
If you scale up, you can still maintain on-prem, but with higher availability, maybe a few more nodes. When you are processing extremely high traffic, you can now go to the cloud – AWS and so on.
And when you become an enterprise, you now need to look for an enterprise-managed commercial queue. An example is the one offered by IBM.
Which deployment model are you using for this solution?
Hybrid Cloud