extract common throughput logic to common base class
add input throughput handler
add output throughput handler