Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-3127

Message (inter-node) compression

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.0 beta 1
    • None
    • None

    Description

      CASSANDRA-3015 adds compression of streams. But it could be useful to also compress some messages.
      Compressing messages is easy, but what may be little bit trickier is when and what messages to compress to get the best performances.

      The simple solution would be to just have it either always on or always off. But for very small messages (gossip?) that may be counter-productive. On the other side of the spectrum, this is likely always a good choice to compress for say the exchange of merkle trees across data-centers. We could maybe define a size of messages after which we start to compress. Maybe the option to only compress for cross data-center messages would be useful too (but I may also just be getting carried away).

      Attachments

        1. 0001-CASSANDRA-3127-compress-messages-between-nodes.patch
          12 kB
          Marcus Eriksson
        2. CASSANDRA-3127.patch
          14 kB
          Marcus Eriksson
        3. CASSANDRA-3127-snappy.patch
          11 kB
          Marcus Eriksson
        4. CHECK_SIZES-CASSANDRA-3127.patch
          16 kB
          Marcus Eriksson

        Activity

          People

            marcuse Marcus Eriksson
            slebresne Sylvain Lebresne
            Marcus Eriksson
            Jonathan Ellis
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: