Data store for capturing votes & aggregating them

Posted by Nathan de Vries on Stack Overflow See other posts from Stack Overflow or by Nathan de Vries
Published on 2010-03-25T12:31:46Z Indexed on 2010/03/25 12:33 UTC
Read the original article Hit count: 439

Filed under:
|
|

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:

  1. Storing the votes
  2. Summarising the votes in near-realtime
  3. Preventing multiple votes within an arbitrary time period (e.g. clients can only vote once for a piece of content every 1 minute)

Something that already has client libraries for Node.js would be preferable.

© Stack Overflow or respective owner

Related posts about database

Related posts about JavaScript