﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Felice Pollano commented on Is Node.cs a cure for cancer?</title><description>Just for the citation: Fibonacci has two 'c' ;)</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment10</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment10</guid><pubDate>Mon, 10 Oct 2011 10:58:32 GMT</pubDate></item><item><title>Rafal commented on Is Node.cs a cure for cancer?</title><description>Thanks for linking Ted's blog, it's great.</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment9</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment9</guid><pubDate>Wed, 05 Oct 2011 19:27:25 GMT</pubDate></item><item><title>Demis Bellot commented on Is Node.cs a cure for cancer?</title><description>Ted's troll post is annoying, he focuses on  known event loop design limitations and uses it to discredit the entire technology.

Here's node.js response post showing how to handle high CPU-load tasks like video encoding in node.js:
http://blog.nodejs.org/2011/10/04/an-easy-way-to-build-scalable-network-programs/</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment8</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment8</guid><pubDate>Wed, 05 Oct 2011 18:11:50 GMT</pubDate></item><item><title>tobi commented on Is Node.cs a cure for cancer?</title><description>I understand neither Teds post nor yours. Both of you take the worst possible scenario for node.js and use that to justify ... something.

The reason why node.js is total crap is different: Your code gets pulled inside out. You cannot even add logging later on without needing to refactor the whole call tree. Logging needs to do IO, so it needs to be async.

node.js is a very special purpose lib for chats and file transfers like Uriel said. I would just use an async actionmethod/httphandler with asp.net for that. It is really embarrassingly useless for production.
</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment7</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment7</guid><pubDate>Wed, 05 Oct 2011 15:12:12 GMT</pubDate></item><item><title>Uriel Katz commented on Is Node.cs a cure for cancer?</title><description>The problem is that people doesn't understand why they need node.js and why it works very good for certain cases (file upload,chatting).
Using event loops without threads in a CPU intensive workload is stupid and mostly useless.

BUT if you workload is mostly IO bound(like 99.999% of webapps are) then using event loop based IO is very good and necessary in some cases like chat,file serving/uploading with many concurrent users.

At work(Binfire.com) I designed(python with gevent) a file upload/download service that proxies cloud files and it could handle a DDoS attack from 200 IPs(apart from normal traffic) trying to download a 200MB file(the case for many concurrent long lived connections) and it used 45MB of memory.

If it was written with 1 thread per client it would use more memory(1MB thread stack instead of microthread 4KB stack) and more CPU(real context switches instead of getcontext/setcontext low overhead).

So the lesson for this is quite old:Use the right tool for the job!</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment6</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment6</guid><pubDate>Wed, 05 Oct 2011 14:52:22 GMT</pubDate></item><item><title>Nican commented on Is Node.cs a cure for cancer?</title><description>This is hilarious. 

https://github.com/glenjamin/node-fib

So far, I have counted NodeJS, Python, PHP, C#, Ruby, Haskell making a Fibonacci server.</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment5</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment5</guid><pubDate>Wed, 05 Oct 2011 14:37:00 GMT</pubDate></item><item><title>Alexei K commented on Is Node.cs a cure for cancer?</title><description>That whole thing was so hilarious. The responses to the original troll article are even worse than the original troll. Here is a distilled summary, for those who missed it:

http://www.unlimitednovelty.com/2011/10/nodejs-has-jumped-shark.html

Also, I've learned a new word: "roflscale". It is now my mission to find a reason to use it in the workplace.</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment4</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment4</guid><pubDate>Wed, 05 Oct 2011 12:52:50 GMT</pubDate></item><item><title>Khalid Abuhakmeh commented on Is Node.cs a cure for cancer?</title><description>That "Node.js is Cancer" article is hilarious. I understand what he's saying, but the Node.js community is still fledgling. He pretends that the people behind UNIX got it right the first time, which I'm sure they didn't. Any issue that Node.js has will probably be solved in time as that community grows. Let's not forget that Node.js is just a tool in your developer toolbox. It isn't meant to be the silverbullet for all your werewolf killing needs. 

Still... very funny. If you haven't read it, it's worth reading.</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment3</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment3</guid><pubDate>Wed, 05 Oct 2011 11:20:28 GMT</pubDate></item><item><title>Merouane Atig commented on Is Node.cs a cure for cancer?</title><description>It seems to me that you arrive to the same conclusion than him on his new post http://teddziuba.com/2011/10/straight-talk-on-event-loops.html
Use threads!</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment2</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment2</guid><pubDate>Wed, 05 Oct 2011 10:55:20 GMT</pubDate></item><item><title>Ferret Chere commented on Is Node.cs a cure for cancer?</title><description>Call me naive but isn't this completely pointless/meaningless when you're benchmarks are being run on a completely different machine to the "node.js is cancer" writer?</description><link>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment1</link><guid>http://ayende.com/114689/is-node-cs-a-cure-for-cancer#comment1</guid><pubDate>Wed, 05 Oct 2011 10:46:04 GMT</pubDate></item></channel></rss>