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

Runtime message compression in Bundle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.3
    • 0.7.0
    • bsp core
    • None

    Description

      Original compression flow was like below:

      1) Bundles messages in outgoing queue
      2) Serializes bundle object to byte array
      3) Compresses byte array to new byte array
      4) Creates BSPCompressedBundle object for RPC communication

      So, it was extremely slow!

      Since BSPMessageBundle handles messages in byte array now, we can runtime compress the messages during bundling.

      We don't need BSPCompressedBundle class anymore.

      Attachments

        1. runtimecompression.patch
          38 kB
          Edward J. Yoon

        Activity

          People

            udanax Edward J. Yoon
            udanax Edward J. Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: