Shout out if there is something better we should consider:
I am looking for a very quick and simple way to get several programs (e.g. 5) - each running on separate nodes on a private OpenStack cloud to talk to each other.
- Packets will be short C++ structs (less than 100 bytes)
- Traffic will be light (probably less than 100/second)
- Latency is really not an issue. (what is a few ms between friends?) - we have lots of cycles and memory
- Messages should be done as pub/sub client/server paradigm
- Library should be C++ friendly. But work both on Windows and Linux
- We might need additional language bindings later on
- We would prefer not to lose messages
Here is the first idea I have. But if you have something else to offer. Yell out.
Friendly Wrapper for UDP socket layer:
- NanoMSG (NNG since it is the active project of nanoMsg) https://github.com/nanomsg/nng
Encoder/Decoder for C++ struct data:
- FlatBuffers https://google.github.io/flatbuffers/