Event Machine is an awesome library that brings event-based, non-blocking IO to Ruby. Instead of saying "write to this file", and then waiting for that procedure to end, you say "write to this file, and call this function when youre done", and, your program moves right along. The advantage being that there is no waiting...