Example implementation of a Proxy Service based on the TCP preforked server and ZMQ sub/pub proxy and producer server.
- Build the project
mkdir build
cd build
cmake ..
make
- Start the server
$ cd build/server
$ ./server
- Start the proxy
$ cd build/proxy
$ ./proxy
- Start the service
$ cd build/service
$ ./tcp_proxy_service
- Run the client
$ cd client
$ python3
client
-- Just a test client sending some requests to our service.service
-- TCP Proxy service. Bridge connection between TCP and proxy. Redirects connections to proxy's public endpoint for subscribers (back end).proxy
-- Proxy connecting front end (subscribers) and back end (publisher)server
-- Constanty produces random data (samples) and sends (publishes) them via PUB socket.