Revert "Improve the performance of data transmission."

This reverts commit ccebbdb099f2c30d3d2fc18b882eeea08efad026.