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配置文件模板

话说redis.io改版后,好多东西都找不到了,比如redis的配置模板,我摘抄了一份如下,大家可以点击这里看最新的。

redis.conf