Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Hama has a feature of async IPC.
I found some points which have possibility to be improved as below.
1. Add netty encoder and decoder to lighten a load of the handler.
2. Consider using native transport, EpollEventLoopGroup instead of NioEventLoopGroup.
3. Using pooled buffer.
4. Using ctx.* instead of channel.*
5. Find and remove blocking codes.
6. Async-fashioned RPC response
Also we can consider compress or json-style marshalling(unmarshalling).
But I'm not sure these changes always result in improvement of the performance.. so benchmark should be provided to prove the improvement.
I'd like to divide this issue to small sub tasks.
WDYT?