Nodeflake - Node.js port of Twitter's Snowflake
https://github.com/tout/nodeflake
This library is the best thing I've found for k-sorted unique ids for a NoSQL DB. I'll be trying this out with Redis, but it seems to preform quite well.
P.S. The fork (tout) is the most up-to-date version.
Written by Will Strimling
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Nodejs
Authors
Related Tags
#nodejs
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#