here is my test var redisClient = redis.createClient(); > http.createServer(function(req, res) { > redisClient.set('foo', 'bar', function(err, data) { > res.end('hello world') > }) > }).listen(3000)
RPS: 5k but when I test redisClient standalone, it is 27k RPS. test helloworld without redis is 7.5k RPS. Why a 27K code slow down a 7.5k code ? How can I optimize it? -- Best regards, Jason Green 桂林 -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en