Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 beta 1
    • Component/s: Core
    • Labels:
      None

      Description

      In the spirit of CASSANDRA-511, it would be useful to tracing on queries to see where latency is coming from: how long did row cache lookup take? key search in the index? merging the data from the sstables? etc.

      The main difference vs setting debug logging is that debug logging is too big of a hammer; by turning on the flood of logging for everyone, you actually distort the information you're looking for. This would be something you could set per-query (or more likely per connection).

      We don't need to be as sophisticated as the techniques discussed in the following papers but they are interesting reading:

      http://research.google.com/pubs/pub36356.html
      http://www.usenix.org/events/osdi04/tech/full_papers/barham/barham_html/
      http://www.usenix.org/event/nsdi07/tech/fonseca.html

      1. 1123-v9.txt
        155 kB
        Jonathan Ellis
      2. 1123-v9.txt
        170 kB
        Jonathan Ellis
      3. 1123-v9.patch
        170 kB
        David Alves
      4. 1123-v8.patch
        195 kB
        David Alves
      5. 1123-v7.patch
        179 kB
        David Alves
      6. 1123-v6.txt
        215 kB
        Jonathan Ellis
      7. 1123-3.patch.gz
        13 kB
        amorton
      8. 1123.patch
        117 kB
        David Alves
      9. 1123.patch
        245 kB
        David Alves
      10. 1123.patch
        228 kB
        David Alves
      11. 1123.patch
        232 kB
        David Alves

        Issue Links

          Activity

            People

            • Assignee:
              David Alves
              Reporter:
              Jonathan Ellis
              Reviewer:
              Jonathan Ellis
            • Votes:
              1 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development