Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16134

Optimize RPC throughput

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Now RPC has the following phenomena:
      1. Each RPC has 1 Responder, which is used to return the result, but many client requests are directly returned after the handler is processed;
      2. Call#Connection#responseQueue uses synchronous control every time it is used;
      These phenomena will hinder the performance of RPC, we can try to make some changes.
      1. Set multiple responders for each RPC, and the user returns the result;
      2. After the Handler processing is completed, add the results that need to be returned to a queue, and the Responder will process the queue data;
      3. Add an identifier similar to sequenceId to ensure the order of return;

      Attachments

        Issue Links

          Activity

            People

              jianghuazhu JiangHua Zhu
              jianghuazhu JiangHua Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: