udpcopy - It is an online UDP duplication tool designed for testing purposes.
It helps identify bugs without deploying your server software to production servers. Additionally, it can be used for smoke testing your products.
-
Distributed Stress Testing
Useudpcopy
to replicate real-world data for stress testing your server software. This helps uncover bugs that may only appear under high-stress conditions. -
Hot Backup
-
Online Testing
Verify the stability of your new system and identify bugs that occur in live environments. -
Benchmark
Utilizeudpcopy
for performance benchmarking of your server software.
a) Download the source code from github:
git clone https://github.com/wangbin579/udpcopy
b) sh autogen.sh
c) ./configure
d) make
e) make install
a) On the source host (root privilege is required):
./udpcopy -x local_port-remote_ip:remote_port
b) On the target host
iptables -I OUTPUT -p udp --sport port -j QUEUE # if not set
-
Tested on Linux Only
The tool is tested exclusively on Linux (kernel 2.6 or above). -
Packet Loss
udpcopy
may experience packet loss, which can result in lost requests. -
Single-Threaded
Currently,udpcopy
operates in a single-threaded mode. -
Root Privilege Required
Root privileges are necessary for runningudpcopy
.
Have a bug or a feature request? Please open a new issue. Before opening any issue, please search for existing issues.
Copyright 2024 under the BSD license.