3 ms·
MQTT is a wire protocol for connection a message sender and receiver, but leaves the actual messaging architecture (brokers, P2P, etc) unspecified. NSQ appears
by cpitman 12y ago
MQTT is a wire protocol for connection a message sender and receiver, but leaves the actual messaging architecture (brokers, P2P, etc) unspecified. NSQ appears to include its own proprietary wire format, as well as a full im-memory messaging architecture.
- Zaheer 12y agoJust want to add the NSQ wire format looks pretty efficient as well. Seems to be defined at the binary level which was one of the biggest wins for MQTT in terms of memory footprint. Although would be nice if a standard protocol was used instead of creating their own.
- sytringy05 12y agoBinary formats have their drawbacks - the guy that designed the AMQP protocol called the wire protocol he designed for it an "expert mistake". Admittedly he was designing a spec rather than a product but worth understanding. Source is a long but very interesting read about messaging, amqp, zeromq and others: http://www.imatix.com/articles:whats-wrong-with-amqp http://www.imatix.com/articles:whats-wrong-with-amqp