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 (13,906 stars) (2,725 forks)batch import
exp/wizardhelp wantedstatus/deferred

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