Skip to content
Snippets Groups Projects
Commit 00fffc21 authored by Jing Lan's avatar Jing Lan
Browse files

p3 draft update

parent ef2f0b3b
No related branches found
No related tags found
No related merge requests found
......@@ -213,7 +213,7 @@ You may also want `benchmark.py` to wait a few seconds for the `server` to get r
### Visualizing the Results
Plot a simple line graph with the execution time acquired by the previous step. Save the figure to a file called `plot.png`. Your figure must include at least 4 data points as mentioned above.
Plot a simple line graph with the execution time acquired by the previous step. Save the figure to a file called `plot.png`. Your figure must include at least 4 data points as mentioned above. You will find an example plot `plot.png` in the project repo.
**HINT:** Feel free to any tools to plot the figure. Below is a minimal example to plot a dictionary with 2 data points:
......@@ -229,7 +229,7 @@ ax.get_figure().savefig("plot.png")
Delirable should work with `docker-compose.yaml` we provide:
1. `Dockerfile.client` must launch `benchmark.py` **(NOT `client.py`)**. To achieve this, you need to copy both `client.py` and the driver `benchmark.py` to the image, as well as `workload.txt`, `purge.txt`, and the input CSV files. It is sufficient to submit a minimal working set as we may test your code with different datasets and workloads.
1. `Dockerfile.client` must launch `benchmark.py` **(NOT `client.py`)**. To achieve this, you need to copy both `client.py` and the driver `benchmark.py` to the image, as well as `workload.txt`, `purge.txt`, and the two sample input CSV files `file1.csv` `file2.csv`.
2. `Dockerfile.server` must launch `server.py`.
**Requirement:** Do **NOT** submit the `venv` directory (e.g., use `.gitignore`).
......
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