spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-34309) Use Caffeine instead of Guava Cache
Date Tue, 02 Feb 2021 01:02:20 GMT

    [ https://issues.apache.org/jira/browse/SPARK-34309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276766#comment-17276766
] 

Dongjoon Hyun commented on SPARK-34309:
---------------------------------------

Thank you for pinging me, [~LuciferYang]. The benchmark seems to be written in 2015.

We have multiple places of Guava cache usage. Which part are you testing?

> Use Caffeine instead of Guava Cache
> -----------------------------------
>
>                 Key: SPARK-34309
>                 URL: https://issues.apache.org/jira/browse/SPARK-34309
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core, SQL
>    Affects Versions: 3.2.0
>            Reporter: Yang Jie
>            Priority: Minor
>
> 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 |https://github.com/ben-manes/caffeine/wiki/Benchmarks]
> At the same time, caffeine has been used in some open source projects like Cassandra,
Hbase, Neo4j, Druid, Spring and so on.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message