On Mar 5, 2012, at 4:24 PM, Mark Hahn wrote:

> "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.

That works if all the work is synchronous. Node really shines for async 
operations, which the try-catch loop on the page does not catch.

> 
> 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.

Comparing Apache to Node.js is not the question. 

Node has a different architecture than the other popular dynamic languages 
runtimes, which is why it has generated so much usage. 

Personally, I'm not finding your responses to a self proclaimed nwebie useful 
to them understanding the differences and the potential pitfalls of Node and 
other platforms.

-- 
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

Reply via email to