Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rleddy opened this issue Jul 15, 2023 · 0 comments
Open

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

rleddy opened this issue Jul 15, 2023 · 0 comments

Comments

@rleddy
Copy link

rleddy commented Jul 15, 2023

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant