On Mon, Oct 1, 2012 at 5:39 PM, Daniel Rinehart <dani...@neophi.com>
wrote:
> I'd recommend using Redis.

Redis, Redis, Redis. Nobody recommending anything else. So, I'm ready to
give it a try.

As I want to use it together with Socket.IO, could I just use the Redis
store built into Socket.IO, or is that strictly temporary?

Remember that, naturally, hiscores should persist a server restart.
Also, when a client connects, it should get all hiscores. So, that's
fundamentally different to, say, an IRC-like chat system.

> Its sorted set data type makes a high score list a breeze to maintain.

Interesting. Note, however, that hiscore table entries are not sorted by
score only: If there are two entries with the same score, then the entry
that was added last should appear first. So sorting is by score plus
time.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to