Re: [nodejs] Being both event-driven servers, why node.js needs async code where Nginx doesn't?

2012-08-15 Thread MHK
; *Sender: * nod...@googlegroups.com > *Date: *Wed, 15 Aug 2012 03:24:57 -0700 (PDT) > *To: *> > *ReplyTo: * nod...@googlegroups.com > *Subject: *[nodejs] Being both event-driven servers, why node.js needs > async code where Nginx doesn't? > > Being both event-driven servers

Re: [nodejs] Being both event-driven servers, why node.js needs async code where Nginx doesn't?

2012-08-15 Thread Tim Caswell
nginx and nodejs but >> they need not be compared. The good news is you can use nginx to serve >> static content of nodejs web project. The stacks u mentioned are ok too. >> >> // Krishna >> Sent from my BlackBerry >> >> From: MHK

Re: [nodejs] Being both event-driven servers, why node.js needs async code where Nginx doesn't?

2012-08-15 Thread Shripad K
> Sent from my BlackBerry > -- > *From: * MHK > *Sender: * nodejs@googlegroups.com > *Date: *Wed, 15 Aug 2012 03:24:57 -0700 (PDT) > *To: * > *ReplyTo: * nodejs@googlegroups.com > *Subject: *[nodejs] Being both event-driven servers, why node.js needs &g

Re: [nodejs] Being both event-driven servers, why node.js needs async code where Nginx doesn't?

2012-08-15 Thread Krishna Guda
odejs web project. The stacks u mentioned are ok too. // Krishna Sent from my BlackBerry -Original Message- From: MHK Sender: nodejs@googlegroups.com Date: Wed, 15 Aug 2012 03:24:57 To: Reply-To: nodejs@googlegroups.com Subject: [nodejs] Being both event-driven servers, why node.js ne

[nodejs] Being both event-driven servers, why node.js needs async code where Nginx doesn't?

2012-08-15 Thread MHK
Being both event-driven servers, why node.js needs async code where Nginx doesn't? In another words, if Nginx works as the same event-driven async IO model of node, why doesn't it requires writing async style code? I know, Nginx is *NOT* actually executing any code, rather proxying them to wh