How to write a high performance Netty Client

前端 未结 2 1613
不思量自难忘°
不思量自难忘° 2020-12-12 16:30

I want an extremely efficient TCP client to send google protocol buffer messages. I have been using the Netty library to develop a server/client.

In tests the serve

2条回答
  •  心在旅途
    2020-12-12 17:29

    I am not sure if "tcpNoDelay" helps to improve the throughput. Delay is there to improve the performance. None the less, I tried it and saw that the throughput actually fell more than 90%.

提交回复
热议问题