Evaluate expirable LRU cache from hashicorp #639

Closed
opened 2023-08-23 10:02:39 +00:00 by fyrchik · 0 comments
Owner

In the frostfs-node we have our own cache which supports per-key locking and TTL values.
The latter can be removed by adopting recently introduced expireable package https://github.com/hashicorp/golang-lru/blob/master/expirable/expirable_lru.go

Adopt it for our use-case and see whether it makes us simpler or faster.
Let's wait until the next release, before actually merging it: there are some bugs https://github.com/hashicorp/golang-lru/issues/150

In the frostfs-node we have our own cache which supports per-key locking and TTL values. The latter can be removed by adopting recently introduced expireable package https://github.com/hashicorp/golang-lru/blob/master/expirable/expirable_lru.go Adopt it for our use-case and see whether it makes us simpler or faster. Let's wait until the next release, before actually merging it: there are some bugs https://github.com/hashicorp/golang-lru/issues/150
fyrchik added this to the vNext milestone 2023-08-23 10:02:39 +00:00
fyrchik added the
help wanted
good first issue
refactoring
labels 2023-08-23 10:02:40 +00:00
achuprov was assigned by fyrchik 2023-11-30 07:36:24 +00:00
fyrchik modified the milestone from vNext to v0.39.0 2024-05-02 07:37:48 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#639
No description provided.