To add to what Matt said: if the bottleneck *is* Redis, my first thought would be: round trips. If the library / methods you are using forces a full round trip per call, it will introduce latency. This is not required for Redis, however: you can pipeline as many ops on the wire as you like. Check the library to see if there is a pipeline mode.
Alternatively: as already noted, MSET is a compromise to reduce round trips without pipelining, by allowing multiple ops on a single round trip. 50 items in an MSET will reduce your round trips (and thus: latency cost) by a factor of 50.
Marc
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.