I'm trying to find a suitable protocol middleware for my next distributed application. I've found several specifications in the last few days and was wondering if I missed an important one? It should be a binary protocol, support RPCs and optionally have open-source implementations in different languages. Here's the list of protocols I found:
And this is the list of dismissed protocols:
A binary protocol utilizes all values of a byte, as opposed to a text-based protocol which only uses values corresponding to human-readable characters in ASCII encoding. Binary protocols are intended to be read by a machine rather than a human being.
Kafka uses a binary protocol over TCP. The protocol defines all APIs as request response message pairs.
Examples of binary protocols: RTP, TCP, IP.
Data protocol is a standard set of regulations and requirements that allow two electronic items to connect to and exchange information with one another across a network.
The Protocol Buffers project definitely isn't closed source.
Which language/platform are you interested in?
Note that although there's stub RPC support in Protocol Buffers, Google hasn't released its actual RPC layer, so you'd have to provide your own. Given that basically you'd pass a request message and return a response message, it's not that hard to layer it over existing protocols (e.g. HTTP POST).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With