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

Batching in CqlRecordWriter

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.6
    • Component/s: None
    • Labels:
      None
    • Environment:

      Cluster of 12 nodes, each node with 256-384 vnodes. RPC threads capped at 2048.

      Description

      We're writing from Pig map tasks, about 20 million records of one integer each.
      For the case of 12 nodes, with 256-384 vnodes per node, we get around 4000 threads per mapper. This obviously overloads the nodes, since the number of RPC threads are capped, and the write fails.
      Also, each transfer is only in the order of a few bytes of payload. Clearly batching is a good solution.

        Attachments

          Activity

            People

            • Assignee:
              ccrolf Christian Rolf Assign to me
              Reporter:
              ccrolf Christian Rolf
              Authors:
              Christian Rolf
              Reviewers:
              Jonathan Ellis

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment