anybody using node for their startup? I am not sure if it works for larger projects, but that opinion may well be tainted by my dislike of javascript.
We have some Node.js code (not yet in production) for http://lanyrd.com/ for interacting with the Twitter streaming API. My personal philosophy with Node.js is to use it for small, standalone network servers that complement the rest of my stack - basically anything that needs to handle large amounts of I/O. Everything I've written with Node.js so far has been just a few hundred lines of code. So for templating, datab…
Try node.js in the browser
31–37 of 37 posts
Re: Try node.js in the browser
#32Very cool! Would love to learn some more on how this was done?
thus nnn.jsapp.us can be mapped to a single IP address. things get more tricky if you allow people to host arbitrary TCP servers that aren't reverse-proxy friendly. the jsapp.us implementation seems to ignore a port argument to listen(), which seems reasonable.
the jsapp.us implementation seems to be able to keep multiple node instances running. obviously, if more and more people start hitting the server with their apps, this could lead to resource starvation. they probably have a clever way of not keeping the node instances sitting idle. if a particular nnn.jsapp.us host exists and the node instance isn't up, start it on the first "cold" request to that host. this allows the service to keep only those instances up and running that have had recent requests. or maybe they shut down a user's instances only when they log out or close the editor page?
that's my take on it. someone (maybe the jsapp.us guys?) should put together an all-in-one node.js hosting service that has a nice web-based editor based on Bespin or Cloud9 IDE and integrates node-inspector for an awesome remote debugging experience.
Re: Try node.js in the browser
#33anybody using node for their startup? I am not sure if it works for larger projects, but that opinion may well be tainted by my dislike of javascript.
Re: Try node.js in the browser
#34anybody using node for their startup? I am not sure if it works for larger projects, but that opinion may well be tainted by my dislike of javascript.
Re: Try node.js in the browser
#35anybody using node for their startup? I am not sure if it works for larger projects, but that opinion may well be tainted by my dislike of javascript.
Re: Try node.js in the browser
#36That said, they've done a sterling job of it.
Re: Try node.js in the browser
#37nice to see bespin used in the wild, and for such a cool project too!