message-bus icon indicating copy to clipboard operation
message-bus copied to clipboard

How does this compare with systems like Kafka and RabbitMQ?

Open omerdn1 opened this issue 5 years ago • 1 comments

How does this library compare with the usage of systems like Kafka and RabbitMQ as message transporters? Particularly in terms of performance and security.

Edit: just took a look at the code, it seems like this library doesn't do what I thought. So is it accurate to say that it's a sync RWMutex wrapper utility? How can one use it to establish connection between microservices, if at all possible?

omerdn1 avatar Dec 23 '20 12:12 omerdn1

hi @omerdn1

sorry for late reply, just noticed this question.

for messaging between multiple services you can have a look at my example implementations of:

https://github.com/vardius/pubsub

and

https://github.com/vardius/pushpull

otherwise this library requires you to subscribe and publish messages within same code base

i use it for cqrs within my service as a command handlers or as a domain event handlers with internal service ddd structure

if you want to see example for this have a look on this repo: https://github.com/vardius/go-api-boilerplate

vardius avatar Dec 27 '20 08:12 vardius