kubernauts / dok-example-us

Developing on Kubernetes—an example microservices app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Developing on Kubernetes—stock market simulator

This repository contains two microservices that make up a stock market simulator application:

stock market simulator architecture

One microservice, the so called stock generator is written in Go and serves randomized stock data randomly via the HTTP endpoint stockdata/.

A second microservice, the so called stock consumer is written in Node.js and consumes the stock data generated by the Go microservice. It serves the following HTTP endpoints:

  1. average/$SYMBOL … calculates basic stats of stock symbol $SYMBOL
  2. gekko/$SYMBOL … provides a recommendation like sell/hold/buy for stock symbol $SYMBOL (not yet implemented)

About

Developing on Kubernetes—an example microservices app

License:Apache License 2.0


Languages

Language:JavaScript 51.4%Language:Go 43.4%Language:Dockerfile 5.2%