TCPCopy
An online request replication tool, also a tcp stream replay tool
TCPCopy is a TCP stream replay tool to support real testing of Internet server applications. Although the real live flow is important for the test of Internet server applications, it is hard to simulate it as online environments are too complex. To support more realistic testing of Internet server applications, we develop a live flow reproduction tool - TCPCopy, which could generate the test workload that is similar to the production workload. Currently, TCPCopy has been widely used by companies in China. TCPCopy has little influence on the production system except occupying additional CPU, memory and bandwidth. Moreover, the reproduced workload is similar to the production workload in request diversity, network latency and resource occupation. TCPCopy consists of two parts, TCPCopy and intercept. While TCPCopyruns on the online server and captures the online requests, intercept runs on the assistant server and does some assistant work, such as passing response info to TCPCopy.