Redis replication gap tuning

Redis manages replication offset between master and slaves. If you type in "INFO REPLICATION" at redis-cli, the following output comes out. For the above result, offset number can vary depending on each environment. But slave0's offset should be equal or similar to master_repl_offset. The gap between master_repl_offset and slave's offset is the amount which is … Continue reading Redis replication gap tuning

Tips on developing with Jedis

When developing Java client, Jedis or Lettuce is used. Among them, Jedis is a lightweight Redis java client. There are pros and cons for Jedis. (As of this writing, 3.0.0-m1 is the latest) Pros Lightweight and faster than Lettuce API is easy and intuitive Cons Supports Redis 2 and 3 (Redis 4 is not supported … Continue reading Tips on developing with Jedis