Skip to content

kubernauts/dok-example-us

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)