Re:Node v0.10.0 (Stable)
by nashequilibrium on Monday March 11, 2013 @11:42PM
(#5359990)
I really like nodejs as well but i have some concerns, i built an app in tornado and then i wanted to try out node, so i built it in node as well with a postgres backend. I was surprised how much faster my tornado app was: using bcrypt blocking module for tornado with a factor of 8 gives me 42.51ms for login, on node i get 153ms, geting a user profile 6.7ms on tornado and 16ms on nodejs. These results are consistent across the app, where tornado seems to about 3 times faster. I am assuming that maybe this is due to the quality of the libraries, since i assume node is faster. Reading this article,(https://hacks.mozilla.org/2012/11/fully-loaded-node-a-node-j...) helped to understand node more as well as how some of the libraries deal with threading and async.
[ Parent
| on HN ]
Re:Node v0.10.0 (Stable)
by jongleberry on Tuesday March 12, 2013 @12:18AM
(#5360122)
1) are you using the synchronous or asynchronous version of bcrypt?
2) cached or uncached templates?
3) throw 1k+ requests per second and tell us which one is faster
Re:Node v0.10.0 (Stable)
by nashequilibrium on Tuesday March 12, 2013 @12:30AM
(#5360181)
I am using the aync bcrypt module for nodejs. I am using it as an api for ios app. I will do the 1k test and let you know.