node-cryptonote-pool icon indicating copy to clipboard operation
node-cryptonote-pool copied to clipboard

Improve performance of redis command queue - #238

Open phenomax opened this issue 8 years ago • 2 comments

This PR makes a first step, solving the performance issues adressed in #238 by using the redis SCAN command instead of the KEYS command, which does not block the main queue.

Taken from redis documentation

Warning: consider KEYS as a command that should only be used in production environments with extreme care. It may ruin performance when it is executed against large databases. This command is intended for debugging and special operations, such as changing your keyspace layout. Don't use KEYS in your regular application code.

phenomax avatar Jan 11 '18 23:01 phenomax