bcoin-org / bcoin-org/blru

have look at shm-typed-lru and shm-lru-cache

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I threw these together last year. I am hoping to have them in use this summer.

npm shm-lru-cache
npm shm-lru-cache

It would be nice if someone tested them out or raised some issues. These are C++ based and use shared memory. (Maybe they only really work on Linux.) Basically, the shared memory is a slab with predetermined size and element sizes. In other code, I have something that ages things out into secondary slabs on backup machines (slower, etc.)

I am starting put things into TypeScript and Rust as well. I may go over these again with TypeScript and see if the C++ can expand any. (But, time is beckoning on other things to do at the moment.)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the referenced npm packages, shm-typed-lru and shm-lru-cache, and determine how they are built and exercised on Linux. Done would mean testing the shared-memory cache behavior and documenting concrete issues or compatibility findings, but the issue does not name tests or source files.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript
Domain
backend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.