# DCproject **Repository Path**: duka/DCproject ## Basic Information - **Project Name**: DCproject - **Description**: Final Project of Distributed Computing Course - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-10-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DCproject ## Introduction By definition it refers to efficiently distributing incoming network traffic across a group of backend servers, also known as a server farm or server pool. Load balancing got its start in the 1990s as hardware appliances distributing traffic across a network. Organizations wanted to improve accessibility of applications running on servers. Eventually, load balancing took on more responsibilities with the advent of Application Delivery Controllers (ADCs). ### Simple load balancer FILE `dcdemo` for postgresql backup `requirements.txt` for pip dependencies `keys.py` stores connection information of database `server.py` for flask server (service server) `main_server.py` for flask load balance server (entry server) `cluster.sh` for cluster configuration ## Run servers ### Run service servers > sh cluster.sh # run clusters ### Run load banlance server > python main_server.py 9000 # run load banlance server on port 9000