15.11.2014 Views

And It All Went Horribly Wrong: Debugging Production ... - Joyent

And It All Went Horribly Wrong: Debugging Production ... - Joyent

And It All Went Horribly Wrong: Debugging Production ... - Joyent

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Aside: node.js<br />

• node.js is a JavaScript-based framework (based on<br />

Googleʼs V8) for building event-oriented servers:<br />

var http = require(‘http’);<br />

http.createServer(function (req, res) {<br />

res.writeHead(200, {'Content-Type': 'text/plain'});<br />

res.end('Hello World\n');<br />

}).listen(8124, "127.0.0.1");<br />

console.log(‘Server running at http://127.0.0.1:8124!’);<br />

• node.js makes it very easy to build a reliable, eventoriented<br />

networking services<br />

Thursday, November 17, 2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!