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

Cassandra should have ability to limit the number of native connections

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.15, 2.1.5
    • Component/s: None
    • Labels:
      None

      Description

      We have a production cluster with 72 instances spread across 2 DCs. We have a large number ( ~ 40,000 ) of clients hitting this cluster. Client normally connects to 4 cassandra instances. Some event (we think it is a schema change on server side) triggered the client to establish connections to all cassandra instances of local DC. This brought the server to its knees. The client connections failed and client attempted re-connections.

      Cassandra should protect itself from such attack from client. Do we have any knobs to control the number of max connections? If not, we need to add that knob.

        Attachments

          Activity

            People

            • Assignee:
              norman Norman Maurer
              Reporter:
              vkasar Vishy Kasar
              Authors:
              Norman Maurer
              Reviewers:
              Joshua McKenzie
            • Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: