Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Janusgraph Cache #5

Answered by simon824
hummingsoul asked this question in Q&A
Discussion options

You must be logged in to vote

这是 JanusGraph 关于 Cache 的配置和默认值,使用内嵌方式部署的话可以加大一些Java程序的堆内存试试。关于缓存的分类以及更多信息可以参考 缓存 Caching

Name Description Datatype Default Value Mutability
cache.db-cache Whether to enable JanusGraph's database-level cache, which is shared across all transactions. Enabling this option speeds up traversals by holding hot graph elements in memory, but also increases the likelihood of reading stale data. Disabling it forces each transaction to independently fetch graph elements from storage before reading/writing them. Boolean false MASKABLE
cache.db-cache-clean-wait How long, in milliseconds, database-level cache will keep entries after flushing them. This option is only useful on distributed stor…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mongooooo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants