HN user

BrianHammond

26 karma
Posts1
Comments28
View on HN

The big question is if Heroku will suddenly support a fairly large number of long-lived connections to a Node.js hosted app, and how pricing would work. Developing real-time apps and custom servers are how Node.js really shines. A WebSockets module took only a few hours to develop for instance.

I'm curious about the "fanout" name which immediately made me think of a message broker like RabbitMQ on the backend somewhere. I guess "fanout" here means 1 client to fanout.js to N >> 1 other clients.

There are a number of similar projects popping up like this one as of late for Node.js. NodeRed, fanout, dealer, etc.

That's great. Node.js makes previously "complex" things a little easier to setup and play with.

Redis has native pubsub for a few weeks. A client can subscribe to channels by name or pattern, and publishers can publish messages to channels.

The ruby, python, and node.js clients support non-BLPOP pubsub. We are starting to see some layers added atop this (e.g. NodeRed).

HTML5 Game Engine 16 years ago

mootools made javascript a better language? Javascript is a wonderful language regardless of the availability of good tools and libraries.

Nice, good to see more people coming to Node.js. These things are like the modern "Hello, World!".

Here's one I hacked up in 10 minutes. It's 40 LOC. http://gist.github.com/366590

The big problem with this is that it's just one server. I'm working on something called "NodeRed" (har har) that lets one scale out the frontend using Redis for communication. It's generic enough to do PUBSUB, chat, games, etc.

Here's an overview. http://fictorial.com/NodeRed.png

I developed the/a Node.js client for Redis if you care to dive into this stuff: http://github.com/fictorial/redis-node-client

Suggestion: temporarily disable the "next reel" button for a duration of time proportional to the frequency of my clicks thereupon. Make me watch the reels instead of trying to satisfy my urge to see "what's next?"

"The weird thing about C is that its not even prefixed like Clojure (+ 2 2), instead all operators are scattered between the arguments!"

Please tell me he is kidding. Maybe I don't get out of my cave often enough but it seems uncommon that someone could grok FP bypassing C altogether.