Commit Graph

8 Commits

Author SHA1 Message Date
sfan5 89ed5494cc DBRedis: Move some common code into macros 2016-10-21 21:17:43 +02:00
Christophe Le Roy 9bbc4466ef DBRedis: use HMGET in getBlocksOnZ
Big performance increase on big maps.
2016-10-21 20:36:21 +02:00
Christophe Le Roy fabde97847 DBRedis: add HMGET
Redis HMGET command allows to query multiple fields in the same request.
Limit to a maximum of DB_REDIS_HMGET_NUMKEYS fields per HMGET request.
2016-10-21 20:36:21 +02:00
Christophe Le Roy 53706e811b DBRedis: add replyTypeStr
Maps Redis response constants to strings
2016-10-21 20:36:21 +02:00
sfan5 20691186b5 Read backend from world.mt, closes #6 2014-07-08 15:08:07 +02:00
sfan5 4076903980 Fix small bug in redis backend 2014-07-08 13:54:41 +02:00
Sfan5 79d338a90c Better error reporting for Redis backend 2014-04-28 17:37:04 +02:00
Sfan5 2553e44e8d Add redis database backend 2014-04-26 15:03:32 +02:00