No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
counter
k8s
poller
script
server
README.md
docker-compose.yml

README.md

Microservice Example Application

This repo contains an example microservice application with three components. docker-compose coordinates the Docker containers. The server container is a simple Node.js application. It accepts a POST request to increment a counter and a GET request to retrieve the counter. The counter is stored in redis. The poller continually makes the GET request to the server to print the counter's value. The counter container starts a loop makes a POST request to the server to increment the counter with random values.

Usage

docker-compose up