"Un-handled" exceptions are easy to handle. I have a try-catch on the call for each page. So individual pages are clobbered as on any other platform.
How does apache handle an infinite loop? Won't it kill performance? A server with an infinite loop is screwed on any platform. In any case, I tend to avoid coding such loops. On Mon, Mar 5, 2012 at 4:15 PM, Dick Hardt <[email protected]> wrote: > > On Mar 5, 2012, at 1:16 PM, Mark Hahn wrote: > > > > having the one thread fail could prematurely cut off thousands of > in-progress transactions? > > > > I certainly haven't written my app such that this could happen. Any bad > coder can write code in any platform that can crash a server. Why are you > singling out node? > > > I would guess it is because an un-handled exception or infinite loop in > Node takes down all active requests in a node process. Other frameworks > often only lose the request that caused the exception. > > Wether this makes a difference for a well written app is really the > question. I don't think so, but would be interested to hear other opinions. > > -- Dick > > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
