pwdz / LoadBalancer

A simple loadbalancer using docker and python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

workflow

LoadBalancer

A simple loadbalancer for Cloud Computing course at AUT.

Architecture

It's consisted of 3 docker containers running fileProcessor.py.

Image Supported Operations

operation name Description
min find the minimum number in a given file
max find the maximum number in a given file
average find the average of numbers in a given file
sort sort the numbers in a given file
wordcount find the count of occurrence of each word in a given file

Request format:

{<operationName, inputFilePath>, <operationName, inputFilePath>, …, <outputDirectory>}

Example request:

{<min,/tmp/grade.txt>, <max, /tmp/grade.txt>, </tmp/gradeStat>}  

Also .cpp and .py programs can be executed inside container using the below request format:

{<programName, inputFilePath>, <programName, inputFilePath>, …, <outputDirectory>}

About

A simple loadbalancer using docker and python


Languages

Language:Python 93.3%Language:Dockerfile 4.7%Language:C++ 2.0%