Commit Graph

14 Commits

Author SHA1 Message Date
sfan5 e4bf375ac7 General code cleanups/maintenance 2022-02-09 23:09:32 +01:00
sfan5 539bdbd30c Fix another bug in the Redis backend
introduced in 7ff2288
2020-03-28 00:56:11 +01:00
sfan5 7ff2288627 Optimize database access further by allowing "brute-force" queries instead of listing available blocks
Also adds a heuristic that will enable this behaviour automatically.
2020-03-27 23:38:18 +01:00
sfan5 5b264fd443 Rewrite DB class to allow backends to fully optimize block fetches 2020-03-27 20:30:13 +01:00
sfan5 2ebc3afc7c Refactoring (1) 2018-03-25 14:32:11 +02:00
Jakub Vaněk 6afe1b78c5 Add support for Redis via UNIX domain sockets (#46) 2017-09-03 14:27:59 +02:00
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