Hello, I thought I’d share a simple example  of client server communication using ZeroMQ networking library. I am not an expert programmer, so the code might not be the most efficient one. More information is available in the readme file also available under . Comments are welcome
This is very cool!
I’d love to hear more about the design decision(s). What made you choose ZeroMQ as opposed to some other library?
Thanks, I appreciate it.
I was basically searching for a library which would help me build a federated analysis model similar to . The two essential requirements for me were ease of use and support for TLS. During the research, I considered RabbitMQ, gRPC and Boost Asio libraries. ZeroMQ feels like one step above socket programming (such as with Boost Asio) and I would say it is also easier to use it. Moreover, TLS is supported as well and is explained in detail in . RabbitMQ supports more advanced features, such as message persistence, but I had no plan to utilize them for my framework. It seems that many federated analysis/learning frameworks use RPC/gRPC (Flower, PySyft, OpenFL, TensorFlow Federated, FATE), these seem to be, however, more focused on a star network topology with a clear distinction between client and server roles.
I still haven’t had a chance to test ZeroMQ’s (or generally Message Queue) ability to send larger data (ciphertext, keys) when processes are running on different servers and with the presence of latency and limited network bandwidth. Running multiple processes on a single server proved to be very reliable.
@ypolyakov should we introduce a section on the RTD showcasing particularly interesting projects? I can think of one other that might be worth highlighting (assuming @mpuskaric and that user are fine having their projects showcased)
thanks for the reference, these are excellent examples, I learned a lot from them.
No objections from my side.