[zeromq-dev] zeromq vs TIBCO Rendezvous - comparison

Iraklis Kourtidis ikourtid at yahoo.com
Sun May 3 19:49:12 CEST 2009


Hi all,

I work in the financial industry, where TIBCO Rendezvous is widely used. I have been looking for an alternative to pass around data for a trading system. I've spend a few hours looking at zeromq. Except for message queueing, I'm still not clear about what abstractions it offers that are either similar to those of TIBCO Rendezvous OR more high-level than UDP or TCP/IP for our use case (key caveat).

I'm not saying that it should, but it seems like zeromq does not have some of the features of RV:

1. It sounds like multicast/broadcast is not a realistic option yet. Say I want the quotes from the market being multicast to a few apps. A common pattern is to have a GUI to display them, a trading decision engine to generate orders, a command-line app like TIBCO's tibrvlisten that helps me diagnose when no quotes are getting sent, an app that records quotes to a file for future strategy backtesting, etc. 

(From the FAQ "Does ØMQ support IP multicast? - There's a experimental version of PGM reliable multicast support in the current version of ØMQ.")

2. It sounds like I can't do something like "subscribe QUOTES.NYSE.IBM" vs "subscribe QUOTES.NYSE.*", i.e. selectively subscribe to a set of topics that's a 'higher level node on the topic tree' (pardon my lack of rigor here). At least it's not built-in... the FAQ says one can implement this feature.

(From the FAQ "I am accustomed to work with JMS-style messaging. Does ØMQ use similar model (queues, topics) or is it different?")

3. There's no built-in serialization/deserialization:

(From the FAQ "Why do I have to convert my datatypes to/from binary representation by hand?")
---

Additionally, usually data is kept within a subnet (i.e. no WAN considerations) and there are no additional security concerns, so all apps can subscribe to all data. Also, except for execution reports coming back from stock exchanges (e.g. "you just bought 100 shares of IBM") there is generally little need for queueing up messages (what RV calls "certified transports"), especially for quotes that can become stale.

Don't get me wrong... Rendezvous is expensive and I'd rather not use it, and UDP - TCP/IP are too low-level. It's just not clear to me where zeromq fits in between (again, for our use case). My perspective is based on an non-dinky equities trading system which - at least 2-3 years ago - was the largest in the world by # of orders/shares (though equity option trading systems have to handle even more messages). 

I appreciate any sage advice on this!

Thanks,
Iraklis





More information about the zeromq-dev mailing list