I'm interested in using Node.js as a socket server for stream-based communication with tens of thousands of clients. Clients will be sending votes for particular pieces of content, and receiving near-realtime updates of aggregated vote tallies from the server.
The datastore needs to support:
Something that already has client libraries for Node.js would be preferable.
I would highly recommend Redis. It is a key/value store with set and list operations. It also supports atomic operations for counters. There is a client for Redis for Node.js available on github. Here is how I would implement your features:
INCR votes:option:<option>
MGET votes:option:<option1> votes:option:<option2> ... votes:option:<optionN>
EXPIRE lock:<encoded ip> 60