Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19365

Optimize RequestMessage serialization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • None

    Description

      Right now Netty PRC serializes RequestMessage using Java serialization, and the size of a single message (e.g., RequestMessage(..., "hello!")`) is about 1kb.

      This PR optimizes it by serializing RequestMessage manually, and reduces the above message size to 100+ bytes.

      Attachments

        Activity

          People

            zsxwing Shixiong Zhu
            zsxwing Shixiong Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: