/FibCalc

Overengineered Fibonacci Sequnce Calculator

Primary LanguageJavaScript

Multi-Docker Fibonacci Sequence Calculator

Build Status

Part of this course

  • React/Express App
  • Postgres DB maintains keys already calculated
  • Redis maintains results indices-value pairs, or contacts Node.js worker to calculate new values

Project Overview

Project overview

Project Flow

Project Flow 1

Project Flow 2

End Deployed Structure

Deployed

Environment Vars

Deployed

  • Yellow: Constant Values
  • Red: URL vals that tell multi-server and multi-worker how to connect to services

Volumes

volumes_1

volumes_2

If the pod is destroyed the volume is destroyed

volumes_3

Don't have multiple postgres containers accessing the same volume by incrementing replicas

Ingress Controller

  • routing rules to get traffic to services

ingress_1

ingress_2

load_balancing

This project uses ingress-nginx

After Deployment go to Google cloud dashboard -> Clusters -> Services

Travis workflow:

Travis Workflow

EBS file

AWS config

ecs_1

ecs_links