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 optimization v2 #40

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ldechamps
Copy link
Contributor

@ldechamps ldechamps commented Feb 5, 2024

Following the first optimization, there are still a number of sticking points. These include the use of snappy to block the event loop, and the use of JSON.parse or stringify.
This is why we pass the objects to be saved in the cache directly to KeyV, which will transform them directly into strings.
We assume that size has no significant impact.

Content :
Remove stringily on stored data
Remove compression.
Improve performance from v0 of optimization-cache.

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

Successfully merging this pull request may close these issues.

1 participant