Skip to content

IlievIliya92/proxy_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published