News Roundup: Diffable, Def.js, Node servers, and more
Diffable was initially developed by members of the Google Maps team who have reduced their page-load times by ~1200ms for users who have the older versions of the Maps scripts in their cache. Granted, they get those kinds of results because they’ve got 300k worth of scripts, so you’re not likely to see that kind of a jump unless you’ve got a similar payload. That said, this is a great utility and one that’s certainly going to get a lot of attention.
(Hat tip to DailyJS)
Nodeload and Multi-Node
This week, a couple of awesome new Node.js server projects were unveiled. The first of these is Github’s Nodeload. Nodeload is now responsible for serving tarballs and zipped archives of code in Github repositories. The old system used multiple Sinatra & Resque instances to do the same task, but new(-ish) Githubber, Rick Olson, saw the opportunity to apply Node’s non-blocking I/O to replace all of those resources.
Another cool new Node server project is Multi-Node. Multi-Node lets you specify a number of node server instances to be created, along with a port to listen on, and then defers to the OS kernel to handle load-balancing between the nodes. Even better, rather than operating independently of each other, the nodes can communicate with each other allowing for Comet-like interactions between servers. Great stuff.