Skip to content

Traffic Control project for distributed systems

License

Notifications You must be signed in to change notification settings

Patr1ick/dhbw-traffic-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic Control

Project for the subject Distributed Systems at the Cooperative State University Stuttgart.

Production setup

Production means the operation of the system for a distributed system. The system is intended for three nodes (servers) and one client, as required in the requirements.

Requirements

The following components are required to start the client/server.

Client

  • Docker (for Windows via Docker Desktop and WSL)
  • Go

Server

  • Docker

Detailed description for setup

You can find the detailed description how to setup the server or client.

Local Development Setup

The local development setup should be only used for local testing. To set up the local development environment, simply set up the corresponding docker compose.

# Build docker container
docker compose -f docker-compose-dev.yaml build
# Start docker container
docker compose -f docker-compose-dev.yaml up -d

This starts the Docker containers for the server and YugabyteDB. In the local setup, Caddy is currently not considered, but can be integrated if the IP-addresses in the Caddyfile are changed to the local setup. Adjustments do not have to be made because only one YB-Master and YB-TServer is running and the IP-addresses are assigned via Docker.

The backend is accessible under http://localhost:8080/. The CQL API of YugabyteDB is accessible under the port 9042.

License

Licensed under MIT-License.

About

Traffic Control project for distributed systems

Resources

License

Stars

Watchers

Forks