real-logic / aeron

Efficient reliable UDP unicast, UDP multicast, and IPC message transport
Apache License 2.0
7.37k stars 888 forks source link

Aeron vs. ZeroMQ #162

Closed mlabour closed 9 years ago

mlabour commented 9 years ago

Hello. Aeron looks awesome. How would you compare Aeron to ZeroMQ?

RichardWarburton commented 9 years ago

I'm not sure this is an "issue".

Do you want an FAQ entry that compares Aeron to ZeroMQ or a wiki page or something?

tmontgomery commented 9 years ago

Aeron and 0MQ are somewhat orthogonal. 0MQ is a messaging system and Aeron is a transport. Aeron could be used as a transport under 0MQ. And some have interest in seeing that happen. I think it would be awesome!

If an application has needs that are quite modest in terms of messaging semantics, then Aeron might be a great option. However, if a more fully featured messaging semantic is desired (specifically, topics/subjects, security, etc.) then 0MQ might be more desirable. Performance-wise, Aeron is quite a bit different then 0MQ.

mlabour commented 9 years ago

Thank you very much for your answer. I have 2 follow up questions: 1) How does Aeron compare to TIPC? If I understand TIPC properly it is also OSI Layer 4. 2) On AWS, some folks have enabled multicast using n2n, 0MQ and TIPC. https://www.buckhill.co.uk/blog/how-to-enable-broadcast-and-multicast-on-amazon-aws-ec2/2#.VecrA2TBzGc. Do you think n2n + Aeron could be a solution for multicast on EC2/AWS? Thanks again for your help.

tmontgomery commented 9 years ago

From what I gather about TIPC, it is more in line with 0MQ in that it is a messaging system. It also provides auto discovery, etc. I believe it looks like a mesh, so latency-wise, it will likely have much more latency than Aeron and probably also have a great deal more variance in that latency.

If AWS supports multicast, then, yes, Aeron should be able to leverage it. However, not having played with it yet, I can't say if it will be very good or not. Loss rate and unknown latency can have a big impact.

travis-leith commented 2 months ago

@tmontgomery ,interestingly, the dotnet client seems to refer to Aeron as a messaging system

image
mjpt777 commented 2 months ago

Aeron has been extended beyond a transport over the years and now has Archive and Cluster plus premium extensions.