ipfs/kubo

cache merkledag nodes in dagservice

Open

#2,849 opened on Jun 13, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Go (2,725 forks)batch import
exp/wizardhelp wantedstatus/deferred

Repository metrics

Stars
 (13,906 stars)
PR merge metrics
 (Avg merge 4d 2h) (28 merged PRs in 30d)

Description

Adding in a cache for recently used merkledag nodes will improve performance on workloads that rely on manipulating object graphs.

Ideally, the size of the cache should be configurable from the config file, and if set to default (or unset in the config) be reduced when IPFS_LOW_MEM is set.

Contributor guide