Skip to content
Snippets Groups Projects
Commit a58532d6 authored by tylerharter's avatar tylerharter
Browse files

P2 draft

parent b4e60bfb
No related branches found
No related tags found
No related merge requests found
# DRAFT! Don't start yet.
# P1 (4% of grade): gRPC and Containers
## Overview
......@@ -62,6 +64,8 @@ alternate between the two dataset containers to balance the load. If
one dataset server is down, temporarily or long run, the cache server
should attempt to use the other dataset server to obtain the result.
**Hint:** think about whether there is any .sh script that will help you quickly test code changes. For example, you may want it to rebuild your Dockerfiles, cleanup an old Compose cluster, and deploy a new cluster.
## Part 1: gRPC Server (Dataset Layer)
Define an RPC service in a .proto file called "PropertyLookup". It
......@@ -158,9 +162,16 @@ Specifications:
Read the directions [here](../projects.md) about how to create the
repo.
At a minimum, your submission repo should contain the following:
`docker.txt`, `compose.txt`, `download.sh`, `multi.sh`, and
`Dockerfile`.
You have some flexibility about how you write your code, but we must be able to run it like this:
```
docker build . -f Dockerfile.cache -t cache
docker build . -f Dockerfile.dataset -t dataset
docker compose up -d
```
We will copy in the "docker-compose.yml" and "addresses.csv.gz" files,
overwriting anything you might have changed.
## Tester
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment