title: How to replay traffic to web server from logs to profile / benchmark web app under real load?
body: <p>Is there a way to get recorder real network traffic to web server, e.g. from web server logs (Apache), and replay this traffic to either profile web application (in Perl) under real load, or benchmark and compare speed of different implementations before choosing one or the other?</p>
  
  <p>If it matters, webapp is written in Perl, and runs under plain CGI, FastCGI, mod_perl (via ModPerl::Registry), PSGI (via Plack::App::WrapCGI).</p>
  
  <p><em>Crossposted to <a href="https://webmasters.stackexchange.com/questions/5146/how-to-replay-traffic-to-web-server-from-logs-to-profile-benchmark-web-app-unde">Pro Webmasters</a></em></p>
  
  <hr>
  
  <p>Similar questions on Server Fault:</p>
  
  <ul>
  <li><a href="https://serverfault.com/questions/84041/how-can-i-replay-apache-access-logs-back-at-my-servers-to-do-real-world-load-test">How can I replay Apache access logs back at my servers to do real world load testing?</a></li>
  </ul>