Generating unique IDs: an easy and reliable way
antirez.com