EVAL "local keys = redis.call('keys', ARGV[1]) \n for i=1,#keys,5000 do \n redis.call('del', unpack(keys, i, math.min(i+4999, #keys))) \n end \n return keys" 0 *
[......]
Tag Archives: redis
HBase、Redis中关于“长事务”(Long Transaction)的一点讨论
首先解释下标题,可能命名不是那么严谨吧,大致的定义如下:
sometimes you are in a situation where you want to read a record, check what is in it, and depending on that update the record. The problem is that between the time you read a row and perform the update, someone else m[......]
关于Redis的“vm-max-memory limit exceeded by more than 10%”问题
网上搜了以下,总体是这个意思:vm+swap只能把value swap到文件中,如果单独key就超过了vm-max-memory,那么就swap不出去了。对话如下:
Q1
What might be the cause of this error:
vm-max-memory limit exceeded by more than 10% but unable to swap more
objects out!
thank you
A1
Redis is only ab[......]
Redis配置文件模板
[转]Getting Started: Redis and Python
转载自:http://degizmo.com/2010/03/22/getting-started-redis-and-python/
So if you have been following NoSQL movement, the migration of some types of data to non-relational datastores has recently picked up speed. For web (and other developers) this ha[......]