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

optimize index route #85

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

Conversation

naholyr
Copy link

@naholyr naholyr commented Apr 24, 2013

Current calls are made one after the other, not very efficient.
Amongst the 5 calls, 3 can be made in parallel, this is what async.auto() will help to achieve transparently :)

Note that the code would be simplier if the callbacks had a standard format (err [, results…]) but whatever.

@impronunciable
Copy link
Collaborator

I like this, thanks.

I'd like more to make a lua script that runs inside redis. If I don't have the time in the following days we can still merge this. @cristiandouce what do you think?

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.

2 participants