3 ms·
Couple of protocols that would be nice to benchmark for comparison: * AMQP 1.0 - can also be used for RPC without a broker in between client and server. See ht
by lulf 7y ago
Couple of protocols that would be nice to benchmark for comparison:
* AMQP 1.0 - can also be used for RPC without a broker in between client and server. See https://qpid.apache.org/proton/ https://qpid.apache.org/proton/
* Aeron - low latency, UDP based, see https://github.com/real-logic/aeron https://github.com/real-logic/aeron
- zvrba 7y agoRe proton: I tried to use it in point-to-point mode, but haven't been able to figure out how; Javadoc reference is useless for that. There exist only Python examples but Python APIs don't map 1:1 to Java APIs.
- lulf 7y agoFor Java, have a look at vertx-proton which builds on top of proton-j and is a bit more intuitive (still not great) than proton-j for creating servers and clients. :) Example “blocking” client https://github.com/EnMasseProject/enmasse/blob/master/amqp-utils/src/main/java/io/enmasse/amqp/ProtonRequestClient.java https://github.com/EnMasseProject/enmasse/blob/master/amqp-u... , but might give an idea of how to set “dynamic source” required for rpc. In general though I think the Qpid python and c++ examples might be better.