Update page 'Day 8 - homework - Sloejtes'

xuanyi.wang
2023-04-14 01:04:53 +02:00
parent 8aba5b4305
commit f99687912d
+2
@@ -1,3 +1,4 @@
**The original scenario using `httpserver.py`:**
![Original](https://gogs.gtsplab.com:5432/j/python-bootcamp/raw/Branch_Sloetjes/Original.png)
**An example of replacing the `httpserver.py` file with `Gunicorn`:
@@ -48,4 +49,5 @@ if __name__ == '__main__':
app = DispatcherMiddleware(JPEGRequestHandler(app), {'/': app})
run_simple('0.0.0.0', 8000, app, use_reloader=True)
```
**The performance under Gunicorn:**
![Gunicorn](https://gogs.gtsplab.com:5432/j/python-bootcamp/raw/Branch_Sloetjes/Gunicorn.png)