[zeromq-dev] API-gateway like system using zmq and c/c++

kam test kamsritest at gmail.com
Thu Nov 10 12:25:48 CET 2022


     I am trying to design a system which resembles an API gateway system
using c/c++ and zmq in linux. The gateway should be able to receive
different requests from multiple clients like cloud,local
webserver,etc....The requests have to be processed parallelly. For each
request the gateway system in turn has to communicate with different
internal applications (similar to microservices) to get the data ,formulate
the data and send the final data to the client .The gateway communicates
with the internal applications using zmq sockets (REQ/REP) .The internal
applications must also be able to send async events to the API gateway and
the clients using pub/sub zmq sockets. All the logic should be in c/c++.

Please let me know how the API gateway can be designed to achieve this
functionality easily. Would any of the zmq sockets like ROUTER/DEALER
help.Any help would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20221110/6b0303d3/attachment.htm>

More information about the zeromq-dev mailing list