Skip to content

A demo application for autoscaling capabilities and much more on a Kubernetes cluster

License

Notifications You must be signed in to change notification settings

ludovicm67/resto-demo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resto-demo-app

Overview

This application was made to demonstrate some Kubernetes features, for example the way we can auto-scale deployments.

Here you can see how the application looks like:

Screenshot of the frontend part

It's a menu card, where you can order three types of products: dishes, drinks and desserts.

Architecture

The architecture of the application is not so complex. It is composed of:

  • a redis database, to store tasks in lists for each queues;
  • three types of workers, one for each type of queue;
  • backend: written in NodeJS, it will expose metrics and is the part the frontend part will speak with
  • frontend: uses ReactJS to make a simple interface (the one you can see on the screenshot above), to speak with the backend (essentially to add new tasks in queues and get the state of the global application)

Architecture