This project sets up a Docker environment for running a Proxygen-based HTTP server and client with custom congestion control.
git clone https://github.com/b4lt0/qw.git
cd qwEnsure Docker Desktop is running, then build the Docker image:
sudo docker build -t qw-image .sudo docker run --name qw-container --net host --privileged -v ./:/qw -it qw-imageapt-get update && apt-get upgradegit clone https://github.com/fastfloat/fast_float.git
cd fast_float
mkdir build && cd build
cmake ..
sudo make installcd /qw/proxygen/proxygen/
./build.sh -j 2On my machine it works using just 2 jobs.
echo "abcd" > /qw/server/index.txt./_build/proxygen/httpserver/hq \
--mode=server \
--host=0.0.0.0 \
--static_root=/qw/server/ \
-qlogger_path=/qw/server/logs/ \
-congestion=westwood./_build/proxygen/httpserver/hq \
--mode=client \
--host=0.0.0.0 \
--outdir=/qw/client \
--path="/index.txt" \
-qlogger_path=/qw/client/logs/--mode: Specifies whether to run as server or client--host: Server address--static_root: Directory serving static files--outdir: Client download destination-qlogger_path: Directory for logging-congestion: Network congestion control algorithm
- Ensure Docker is running before build
- Check network permissions if experiencing connectivity issues
- Verify all dependencies are correctly installed
- Contact me