Skip to content

optimize index route#85

Open
naholyr wants to merge 2 commits into
rickyrauch:masterfrom
naholyr:feature/optimize-route-index
Open

optimize index route#85
naholyr wants to merge 2 commits into
rickyrauch:masterfrom
naholyr:feature/optimize-route-index

Conversation

@naholyr
Copy link
Copy Markdown

@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
Copy Markdown
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