Amazon interview question

How to enhance a legacy system throughput