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

Replace Throttle with Guava's RateLimiter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 beta 1
    • Component/s: None
    • Labels:
      None

      Description

      Guava 13 introduced RateLimiter [1] which should be a good replacement for o.a.c.utils.Throttle that is used in Compaction and Streaming as a throughput limiter.

      [1] http://code.google.com/p/guava-libraries/source/browse/guava/src/com/google/common/util/concurrent/RateLimiter.java

        Attachments

        1. CASSANDRA-4541.patch
          4 kB
          Aleksey Yeschenko

          Activity

            People

            • Assignee:
              aleksey Aleksey Yeschenko
              Reporter:
              mfiguiere Michaël Figuière
              Authors:
              Aleksey Yeschenko
              Reviewers:
              Pavel Yaskevich
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: