Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-34309

Use Caffeine instead of Guava Cache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • 3.2.0
    • None
    • Spark Core, SQL
    • None

    Description

      Caffeine is a high performance, near optimal caching library based on Java 8, it is used in a similar way to guava cache, but with better performance. The comparison results are as follow are on the caffeine benchmarks

      At the same time, caffeine has been used in some open source projects like Cassandra, Hbase, Neo4j, Druid, Spring and so on.

       

      Attachments

        1. image-2021-02-05-18-08-48-852.png
          300 kB
          Yang Jie
        2. screenshot-1.png
          304 kB
          Yang Jie

        Activity

          People

            Unassigned Unassigned
            LuciferYang Yang Jie
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: