https://github.com/ivan-zhou/web-caching-with-consistent-hashing
https://github.com/ivan-zhou/web-caching-with-consistent-hashing
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivan-zhou/web-caching-with-consistent-hashing
- Owner: Ivan-Zhou
- License: mit
- Created: 2022-05-08T02:40:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-11T05:38:10.000Z (about 3 years ago)
- Last Synced: 2025-01-17T10:31:06.698Z (9 months ago)
- Language: Python
- Size: 104 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cs244b-web-caching
## To run the proxy server
SSH to your myth server or other server machine that you want to use. Update the `host` and `port` configuration of the `master` key in data.json.Then run
```
python3 proxy.py
```## To run the cache server
SSH to each cache machine that you want to use. Make sure that the `host` and `port`
configuration of the `master` key in data.json matches the master server. Make
sure that the `cachePort` key in data.json is the same in the master server and
the cache server.Then run
```
python3 cache.py
```