
Node Web development
by David Herron
2mentions
0recommended by
2HN commenters
2011first – last mentioned
100% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.

by David Herron
100% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
…{ console.log('Shortening url...'); shortener.shorten(req.param('u'), function(result){ res.send(result); }); }); It's well known that Redis is pretty fast, but, citing "Node Web Development" (http://www.amazon.com/Node-Web-Development-David-Herron/dp/1...) on it "Architecture: Threads versus asynchronous event-driven" chapter, "(...)Depending on the query that pause can be quite long. This…
on “Show HN: A simple url shortener written in Node” ↗In Node Web Development [Packt], the author uses a Fibonacci algorithm as an example that could block the event loop. It outlines one solution where the calculation is split into callbacks dispatched through the event loop,…
on “A response to Node.js is cancer - The Diagnosis” ↗