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

un-deprecate cache recentHitRate and expose in o.a.c.metrics

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0 alpha 1
    • None
    • None

    Description

      recentHitRate metrics were not added as part of CASSANDRA-4009 because there is not an obvious way to do it with the Metrics library. Instead hitRate was added as an all time measurement since node restart.

      This does allow changes in cache rate (aka production performance problems) to be detected. Ideally there would be 1/5/15 moving averages for the hit rate, but I'm not sure how to calculate that. Instead I propose updating recentHitRate on a fixed interval and exposing that as a Gauge.

      Attachments

        1. j6591-1.2-v1.txt
          3 kB
          Chris Burroughs
        2. j6591-1.2-v2.txt
          3 kB
          Chris Burroughs
        3. j6591-1.2-v3.txt
          3 kB
          Chris Burroughs
        4. j6591-2.1-v4.txt
          2 kB
          Chris Burroughs

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cburroughs Chris Burroughs Assign to me
            cburroughs Chris Burroughs
            Chris Burroughs
            Benedict Elliott Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment