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

Mutation response(WriteResponse.java) could be smaller and not contain keyspace and key

    XMLWordPrintableJSON

Details

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

    Description

      In the mutation response, WriteResponse.java object is send back to the co-ordinator. This object has keyspace and key in it which is not required. It is not being used at the co-ordiantor.

      This wastes IO specially in case of WAN links between DC. Also since response from each node in multi-DC deployments goes back to the co-ordinator in another DC makes it even worse.

      It also becomes worse if the the keyspace and key are of large size and the data is small. In that case, a node which is not the co-ordinator and purely receiving mutations, the outbound n/w bandwidth could be half of incoming bandwidth.

      Attachments

        1. 4548.txt
          6 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            kohlisankalp Sankalp Kohli
            Jonathan Ellis
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: