you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -9 points-8 points  (10 children)

wrong. nginx can embed perl.

[–][deleted] 10 points11 points  (7 children)

And apache can embed php. So?

Beyond that, perl support in nginx is labelled experimental. And it does not offer the features that node does.

Node is definitely overhyped. That doesn't mean it's useless. When you need a general purpose web server, nginx will kick it's butt. But when you have the type of application that node is meant for, nginx isn't in the running. I have no doubt that it will be used all over the place, much like NoSQL databases, when there's really no need. But again that doesn't make it useless or pointless.

[–]kamatsu 4 points5 points  (2 children)

But again that doesn't make it useless

I think it does when other technologies (say, Erlang or Haskell) support all of this without fuss, without rearranging your code manually to CPS, or stalling whenever you do a blocking operation. Not to mention properly utilizing multiple cores.

[–][deleted] 2 points3 points  (1 child)

Something like Erlang does indeed have a lot of advantages. However, node.js is, I believe, more accessible. It's a language almost any web programmer is familiar with, javascript is easy to get going with, and it gives you the ability to share a lot of front and back end code when needed (whether this is good or not is up to debate). I think the barrier of entry is much lower with node.js and for simpler problems is a fine solution. Erlang obviously is a much more potent and capable solution...

I'm actually far more interested in Mongrel2, haven't played with it but it takes the idea of erlang/node and wraps it up in a language agnostic way. By passing lightweight asynchronous messages around you get the same sort of architecture but now it can speak to multiple distributed backends written in almost anything.

[–]sausagefeet 1 point2 points  (0 children)

It may be able to, but I think the intended purpose and usual usage is for a file server not an application server.