There are multiple ways to figure out what take so much memory of your Redis instance. The simplest and quickest way is the following: redis-cli –bigkeys But for some cases it’s not enough. Then you can Redis Memory analyzer (requires Python 3.4). It does provide a lot of useful insights but didn’t help me either.…
All posts tagged redis
RPM: how to build Redis library package for PHP
At Supportex we use Redis a lot. It’s extremely fast and doesn’t consume a lot of resources. Besides it’s easy to use for developers (especially for those who worked with Memcache). Unlike Python which has only one mature client, PHP has various of them. For instance, Predis, phpredis, Rediska, etc. We prefer phpredis. It’s written…
RPM: Bulding Python package for Redis
To build RPM package for Python library is really easy task if developer has kindly included setup.py file in it. Let’s build RPM for redis-py package by Andy Mccurdy. First of all we need archive with last version of redis-py. [root@develop ~]# wget https://github.com/downloads/andymccurdy/redis-py/redis-2.4.9.tar.gz Unpack it. [root@develop ~]# tar xzvf redis-2.4.9.tar.gz [root@develop ~]# cd redis-2.4.9/…