Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-975

Improvement of Async RPC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • bsp core
    • 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?

      Attachments

        Activity

          People

            seedengine JongYoon Lim
            seedengine JongYoon Lim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: