Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 987 Bytes

README.md

File metadata and controls

52 lines (38 loc) · 987 Bytes

TCP Proxy Service

Example implementation of a Proxy Service based on the TCP preforked server and ZMQ sub/pub proxy and producer server.

Getting Started

  1. Build the project
mkdir build
cd build
cmake ..
make
  1. Start the server
$ cd build/server
$ ./server
  1. Start the proxy
$ cd build/proxy
$ ./proxy
  1. Start the service
$ cd build/service
$ ./tcp_proxy_service
  1. Run the client
$ cd client
$ python3

What is what

  • 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.