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

Support for counters, partial data with pieces arriving out of sync #6

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

krassif
Copy link

@krassif krassif commented Jun 12, 2015

Robby, thank you for the node-lry-cache above all!

Made some modifications to better serve what we do at Peerbelt. Thought atomic counters and binding together data pieces becoming available out of sync may be of interest to others, hence the pull request.

On the downside, refactored some code looking for better performance, even though V8 is likely performing optimization anyway.. Let me know your thought.

Cheers,
-Krassi

Krassi and others added 6 commits June 12, 2015 12:50
+ atomic counters with the resulting counter value returned to the caller
+ support for partial data collection; the complete data is returned upon completion

fixed:
+ multiple caches being initialized, one for each worker

baseline ops per sec
~ 10K/sec
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