The prebuild image is available in
ghcr.io/mc256/starlight/proxy:latest
registry.yuri.moe/starlight-proxy:latestPlease first clone this project and go to the proxy demo folder
git clone https://github.com/mc256/starlight.git
cd ./starlight/demo/compose/proxyIn config.env and then launch the proxy using docker-compose up -d. The proxy listens on port 8090.
Starlight depends on containerd. Please install containerd follow the instructions on containerd's Github repository.
To enable the Starlight snapshotter plugin, add the following configuration to /etc/containerd/config.toml
[proxy_plugins]
[proxy_plugins.starlight]
type = "snapshot"
address = "/run/starlight-grpc/starlight-snapshotter.socket"Checkout this repository
git clone [email protected]:mc256/starlight.gitBuild and install this project
make && sudo make installstarlight-grpc run --server $STARLIGHT_PROXY_ADDRESS --socket /run/starlight-grpc/starlight-snapshotter.socketor uses systemd service in ./demo/deb-package/debian/starlight.service
Latency can impact the available bandwith if the TCP window is too small.
Please use the following configurations in /etc/sysctl.conf to increase the default TCP window size or compute a suitable configuration using https://www.speedguide.net/bdp.php.
net.core.wmem_max=125829120
net.core.rmem_max=125829120
net.ipv4.tcp_rmem= 10240 87380 125829120
net.ipv4.tcp_wmem= 10240 87380 125829120
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_no_metrics_save = 1
net.core.netdev_max_backlog = 10000After setting the new TCP window in /etc/sysctl.conf, use sysctl -p to apply the configuration.