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

Replace Throttle with Guava's RateLimiter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.0 beta 1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: