1515 </a>
1616</p >
1717
18- ` signal ` is a tool to control the quality of the network transport between multiple regions.
18+ ` connqc ` is a tool to control the quality of the network transport between multiple regions.
1919It consists of a server that listens for TCP probing messages, and a client that sends said messages.
2020The client logs the probing duration and warns if some messages get lost.
2121
@@ -34,13 +34,13 @@ The client logs the probing duration and warns if some messages get lost.
3434Start the server. The default address is ` :8123 ` :
3535
3636``` shell
37- $ signal server
37+ $ connqc server
3838```
3939
4040or specify a port:
4141
4242``` shell
43- $ signal server --addr=" :1234"
43+ $ connqc server --addr=" :1234"
4444```
4545
4646#### More Options
@@ -49,7 +49,7 @@ The `server` command supports the following additional arguments.
4949
5050``` shell
5151OPTIONS:
52- --addr value The address to listen on for signals (default: " :8123" ) [$ADDR ]
52+ --addr value The address to listen on for probe messages (default: " :8123" ) [$ADDR ]
5353 --buffer-size value The size of the read buffer used by the server (default: 512) [$BUFFER_SIZE ]
5454 --read-timeout value The duration after which the server should timeout when reading from a connection (default: 2s) [$READ_TIMEOUT ]
5555 --write-timeout value The duration after which the server should timeout when writing to a connection (default: 5s) [$WRITE_TIMEOUT ]
@@ -71,22 +71,22 @@ $ firewall-cmd --remove-port=8123/tcp
7171
7272### Client
7373
74- Start the client with the signal server's address:
74+ Start the client with the connqc server's address:
7575
7676``` shell
77- $ signal client --addr=" 127.0.0.1:8123"
77+ $ connqc client --addr=" 127.0.0.1:8123"
7878```
7979
8080To enable more human-readable logs, set the log format:
8181
8282``` shell
83- $ signal client --addr=" 127.0.0.1:8123" --log.format=" console"
83+ $ connqc client --addr=" 127.0.0.1:8123" --log.format=" console"
8484```
8585
8686To increase the amount of sent requests, reduce the interval:
8787
8888``` shell
89- $ signal client --addr=" 127.0.0.1:8123" --interval=" 200ms"
89+ $ connqc client --addr=" 127.0.0.1:8123" --interval=" 200ms"
9090```
9191
9292#### More Options
@@ -95,7 +95,7 @@ The `client` command supports the following additional arguments.
9595
9696``` shell
9797OPTIONS:
98- --addr value The address of a signal server [$ADDR ]
98+ --addr value The address of a connqc server [$ADDR ]
9999 --backoff value Duration to wait for before retrying to connect to the server (default: 1s) [$BACKOFF ]
100100 --interval value Interval at which to send probe messages to the server (default: 1s) [$INTERVAL ]
101101 --read-timeout value The duration after which the client should timeout when reading from a connection (default: 2s) [$READ_TIMEOUT ]
0 commit comments