2 ms·
If you have more data than a single server can hold the best thing to do is hashing. For instance the Redis-rb client supports consistent hashing. yes "ALL" in
by antirez 17y ago
If you have more data than a single server can hold the best thing to do is hashing. For instance the Redis-rb client supports consistent hashing.
yes "ALL" in Ram :) this will work for twitter, facebook, everything: what they are doing is to use only the RAM even if they have MySQL, with tons of memcached around. With Redis of course the memcached layer goes away.
- jjs 17y ago> If you have more data than a single server can hold the best thing to do is hashing. For instance the Redis-rb client supports consistent hashing. Hopefully with a secret salt! It would be interesting if someone nasty managed to take down a node by e.g. predictively registering certain usernames.