Skip to content
This repository was archived by the owner on Oct 30, 2021. It is now read-only.

LRU-cache in RocksCacheDB. - #143

Open
vng wants to merge 4 commits into
masterfrom
lru-cache
Open

LRU-cache in RocksCacheDB.#143
vng wants to merge 4 commits into
masterfrom
lru-cache

Conversation

@vng

@vng vng commented Feb 22, 2019

Copy link
Copy Markdown

Noticed that we have multiple equal calls to RocksCacheDB::__getmatching during one search request.
Benchmarks table like this https://github.com/mapbox/geocoding/issues/608 are coming soon.
Should be a good alternative until #134 will be done.

@vng
vng requested review from apendleton and miccolis February 22, 2019 11:39
@vng vng self-assigned this Feb 22, 2019
@vng
vng force-pushed the lru-cache branch 4 times, most recently from 47630d5 to 4e50a07 Compare February 23, 2019 00:11
@vng
vng force-pushed the lru-cache branch 4 times, most recently from 9ed1df4 to 1a5d4fd Compare February 23, 2019 01:20
@vng

vng commented Feb 23, 2019

Copy link
Copy Markdown
Author

UPD. After benchmarks turned out that introduced LRU-cache doesn't give any performance. Looks like RockDBCache already have something like this inside.
So, removed this stuff, leaved only initial helper commits ..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants