Refactor message processing.
Throughput benchmark.