Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

use rocksdb:snapshot for fold_peers to speed up #416

Merged
merged 1 commit into from Jan 4, 2022

Conversation

ci-work
Copy link
Contributor

@ci-work ci-work commented Dec 19, 2021

using rocksdb:snapshot provides ~2x speed up to fold_peers
context: running modified libp2p with a much higher value for DEFAULT_STALE_TIME, so our peerbook is much larger (390k+ entries), using a snapshot reduced time to call fold_peers from 10s to 3-4s

snapshot provides ~2x speed up to fold_peers
context: running modified libp2p with DEFAULT_STALE_TIME at 28 days so our peerbook is much larger (390k+ entries), using a snapshot reduced time to call fold_peers from 10s to 3-4s
@madninja madninja merged commit 3ae3ed2 into helium:master Jan 4, 2022
@ci-work
Copy link
Contributor Author

ci-work commented Jan 4, 2022

this unblocks helium/blockchain-core#1164

@ci-work ci-work deleted the patch-1 branch January 15, 2022 17:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants