Github user ykrips commented on the pull request:
https://github.com/apache/tajo/pull/311#issuecomment-74460025
Hello @jihoonson ,
I have done with several items. First, disabled nagle algorithm as
possible. Enabling nagle algorithm will reduce the resource use on network
infrastructure, but it will delay network transmission. Also, netty4 team
recommend not to use flush() function frequently, but it also delays the
network transmission. Second, I have set the send and receive buffer size of
servers and clients as possible. Low buffer size also delays the network
performance, and providers and consumers wait until the buffer is empty.
Finally, I have merged and refactored the source code to use shared
eventloopgroup. Creating a object which tightly coupled to the operating system
resource is expensive operation, and when creating these objects frequently, it
may lead starvation on native memory and network resources.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---