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

Cache Implementation #7

Open
ChakshuGautam opened this issue Jan 13, 2022 · 0 comments
Open

Cache Implementation #7

ChakshuGautam opened this issue Jan 13, 2022 · 0 comments

Comments

@ChakshuGautam
Copy link
Contributor

Implement lmdbx-js as a cache with the following keys

import { open } from 'lmdb';
let rootDB = open('all-my-data');
let linkCustomhashDB = myDB.openDB('link-customhash-db');
{
    "custom-hash": "link"
}
let linkHashDB = myDB.openDB('link-hash-db');
{
    "hash": "link"
}
let clickCountDB = myDB.openDB('clicks');
{
    "link-uuid": <clicks>
}
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