RandomDelayValve is a project mainly written in ..., it's free.
Apache Tomcat Valve that delays requests