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

Artificial Latency Injection

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Patch Available
    • Normal
    • Resolution: Unresolved
    • 4.x
    • Messaging/Internode
    • None
    • Semantic
    • Normal
    • All
    • Clients
    • Hide

      Additional dtest for injecting LWT latency

      Show
      Additional dtest for injecting LWT latency

    Description

      Motivation
      Cassandra aims to enable user’s applications to continue to function in the presence of major incidents. To support this clusters must support high-availability topologies, i.e. at present at least 3 DCs at remote distances from each other. Operators wanting to migrate clusters initially created in topologies that do not support this capability, or to move from LOCAL_X to (GLOBAL) X consistency levels, have no mechanism for determining the viability of the strategy for their applications. This is particularly critical for applications that use LWTs, for which the degradation may be unpredictable due to contention effects.

      Goals
      Support cluster-wide latency injection for some subset of messages
      User Impact

      User Impact
      Users will be able to specify the set of Verbs that should be affected, and also which queries within their client-side application.

      Clients will be supported by the introduction of new UNSAFE_DELAY_X consistency levels that mark queries as suitable to experience additional artificial latency.

      Latency will be controlled by JMX properties specifying whether only UNSAFE_DELAY_X operations are affected, alongside which verbs and the length of the delay.

      Attachments

        Activity

          People

            benedict Benedict Elliott Smith
            benedict Benedict Elliott Smith
            Benedict Elliott Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: