Proof-of-concept distributed microservice architecture. Utilizing Redis for data-distribution, and Protobuf for modeling data-flow. This stack was chosen for easy remote-monitoring, and portability between Windows and Linux. Tested in Windows 10, and the Raspberry Pi OS.
- Visual Studio 2019 (with .NET 4.7, MSVC v142, and CMake)
- autoconf
- automake
- libtool
- make
- g++
- unzip
Which, on Raspberry Pi OS, can be installed with:
sudo apt-get install autoconf automake libtool curl make g++ unzip
- Depending on the OS, run the corresponding Pull script to obtain the dependencies.
- Run the corresponding Build script. You will need to append the CheckEnv script if you have installed VS2019 in a custom location.
- Run the Start scripts to spin up the various components.
- StartRedis: Runs the Redis service
- StartViewer: Runs the ChronologicalMessageWindow to observe the messages flowing back-and-forth
- StartMicroService: Runs the "Ping-Pong" messaging example
- Note: By default, the start scripts are configured to connect to a Redis service that is running on localhost. If Redis is running remotely, ensure that port 6379 is open, and replace 'localhost' with the destination IP address.
- Run the Deploy script to collect the binaries and Start scripts.
