SENG 468 Project
TODO Group
To build a Docker image
docker save [image_name] > [name].tar
To load a Docker image
docker load -i [name].tar
To run development environment with Docker Compose
docker-compose build
docker-compose up
To run production environment with Docker Compose
docker-compose build
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up
Our system that has been optimized for performance is currently on our master branch. This is the branch that we used to run the final workload. We used Docker to save and load the images onto the lab machines and then used Docker Compose to run our services in Docker containers.
The test suite is on the tests branch within the Servers/transaction_server folder. It is named redis_commands_test.go.
To run the test suite:
- open a redis server at port 6380 using the command
redis-server --port 6380
- build and run the mock quote server using the commands
go build
and./quote_server
inside Servers/quote_server - go to Servers/transaction_server and run
go test
The version of our system that has been optimized for the user interface with error handling is located on the sep_error branch. Error handling is done within the transaction server while the web server handles the user interface.