Fix a codec race by locking the buffers. Include a buffer pool for perf. (#941)
Fix a codec race by locking the buffers. Include a buffer pool for perf. (#941)

* Fix a codec race by locking the buffers. Include a buffer pool for perf.

* Read Lock on buffer Read

micro/go-micro,myodc/go-micro