News for hackers. Stuff that matters.

wmoss

Re:Redis at Bump: many roles, best practices, and lessons learned on Wednesday February 16, 2011 @04:52PM (#2228486)
The quick answer is that MongoDB mmaps it's entire data set, so if you've got more data than ram (likely) the OS is going to constantly have all excess ram allocated to Mongo. This becomes an issue because Redis (very reasonably) assumes that malloc will return quickly, however, if the OS decides it's going to give Redis a dirty page, that malloc call just became disk bound.
Re:Diesel 2: Using generators for async (and back again) on Tuesday August 10, 2010 @04:23PM (#1592854)
I think the move to async frameworks is primarily precipitated by the fact that a file handle (which is, essentially, what an async framework holds per connection) is substantially lighter weight than a thread. When you're talking about writing a server that can handle thousands of concurrent connections, threads just become computationally infeasible.
Re:Clojure, Node.js and Concurrency Fail on Friday July 16, 2010 @09:48PM (#1523128)
This is the best Hacker News story in years. Finally a post about both Closure and Node.js.