Redis is an open source, highly-scalable key-value store, commonly referred to as a "NoSQL database."

learn more… | top users | synonyms

1
vote
1answer
22 views

Is installing multiple redis instances on the server a good idea?

As title says. I'm considering creating a state service farm using redis, and I'd like to handle multiple "regions" - that way, if a service goes down only a single region should be affected. This may ...
-3
votes
0answers
10 views

nohup: failed to run command ‘redis-server’: No such file or directory [on hold]

When i run this command nohup redis-server & command I'm getting this error nohup: failed to run command ‘redis-server’: No such file or directory Can anyone help me out. I have installed ...
-3
votes
1answer
58 views

Bjoern is 4x faster than Nginx - how to tweak Nginx to handle Bjoern proxy_requests without performance loss? [closed]

I was trying to put Bjoern behind Nginx for easy load-balancing and DoS/DDoS attack mitigation. To my dismay I not only discovered that it drops connections like chips (it varies between 20% and 50% ...
1
vote
1answer
19 views

Installing additional LUA modules into Redis

I'm trying to get Redis to allow EVAL (http://redis.io/commands/EVAL) to make HTTP requests. Two modules: LuaCURL and Luasocket give this ability. The Redis source code has a directory with ...
0
votes
0answers
23 views

Maintaining a progress counter across multiple PHP worker threads using Gearman

I've set up an Amazon EC2 instance running Gearman and 10 worker threads written in PHP. I'm also utilising MySQL and Redis. For each user that signs up to my website up to 1,000 Gearman jobs are ...
1
vote
1answer
21 views

Which server should i put my message queue on: my worker server or my application server?

I have two EC2 servers. One is the application server (serving HTTP/S requests) and one is a "worker" server processing jobs. I am wanting to move to use Huey (a task queue) which uses Redis as a ...
0
votes
0answers
43 views

Strange behaviour with cron script not running [duplicate]

I recently stumbled upon a strange issue with cron on Ubuntu 13.10. I have a Ruby On Rails rake task (background task) that needs to be run on Cron every 3 minutes. So the script itself works and ...
0
votes
0answers
110 views

Restarting redis after installing with Ansible hangs

I'm using the following playbook albeit slightly modified with a newer version of Redis: https://github.com/Kami/ansible-redis I removed the Disable obsolete init.d service and generate upstart ...
5
votes
1answer
232 views

Redis connection issue

We are currently experiencing a lot of Redis errors with the message Unable to connect: read error on connection, trying next server We run Redis on FreeBSD using PHP Redis and we have a hard ...
0
votes
1answer
78 views

Single redis instance with local redis connections via unix socket and remote via tcp. Possible?

I have local Redis instance listening on Unix socket. Is it possible to allow remote connections to this Redis instance via TCP? Any solutions? Maybe some kind of proxying TCP <> Unix socket?
0
votes
1answer
76 views

forward Redis requests across AWS regions

I have a Redis instance running on AWS Elasticache in US-East. I have VPN servers running in Tokyo and US-East. The problem: How to allow Redis connections while VPNd to the Tokyo VPN? You can only ...
0
votes
1answer
173 views

Caching (memcache/redis) and multiple servers - best strategy

We're considering best strategy for using cache (memcache or redis based) in our application (Symfony2). It will be deployed on multiple (so far 3) separate machines with load balancing and separate ...
1
vote
1answer
69 views

For redis slave's persistence model, is there a better way other than rsync rdb from slave to master?

My redis machine's rdb size is about 1 GB. My app use redis heavily and cannot let the master handle bgsave or else, it will slow down all the system in master's machine down. So, I have to prevent ...
0
votes
0answers
50 views

How to use Redis as a cache backend for uwsgi_cache in Nginx

I'm using Nginx with HttpUwsgiModule and i want to perform caching. I know that there is a uwsgi_cache which can be used to cache pages on the local file system. But i want to use Redis to cache pages ...
1
vote
0answers
68 views

Why bgsave on redis make data read slower?

Bgsave command is a command to fork redis a new process and do background saving on a new core of processor. However, my 2GB data on redis (about 1 GB for RDB after save) is slowdown my data transfer ...
0
votes
0answers
57 views

Are there any performance benefits when using Redis caching combined with Nginx caching?

I came across these posts about putting Redis in front of Nginx. I also noticed the Nginx HTTPRedis module. Which seem interesting from a performance standpoint, but I don't have much experience in ...
0
votes
1answer
134 views

Can I created nested discovery rules in Zabbix?

I have installed Zabbix for monitoring some machines I'm responsible for. A few hosts in this setup run multiple redis instances running on different ports and each instance has multiple databases. I ...
0
votes
0answers
64 views

My redis' fork time is slow and impact query performance a little. What should I do to check?

I used redis with RDB option only. It used 2GB of memory. When it forked, it used about 10 seconds to completely save the file. When I check up with redis.io site, I found this latency stat: - Linux ...
0
votes
2answers
61 views

Can Redis RDB corrupt?

In redis.io site, it states that RDB is less durable than AOF. Does this mean there is some possibility of database corruption, and complete data loss if power is lost during a save operation?
1
vote
2answers
196 views

Redis: Configuration Options for limiting key/value sizes?

My boss recently asserted, in conversation, that Redis supports some configuration options for controlling maximum key or key/value sizes ... so we could set some option to prevent our applications ...
5
votes
2answers
534 views

SElinux: allow httpd to connect to a specific port

My system is running CentOS 6.4 with apache2.2.15. SElinux is enforcing and I'm trying to connect to a local instance of redis through my python/wsgi app. I get Error 13, Permission denied. I could ...
0
votes
2answers
758 views

How to install Redis with Chef?

I am trying to install Redis with Chef. I would think, it's easy, since I only want to have the default configuration. So, I add to a Berksfile: site :opscode cookbook 'apt' cookbook 'node' ...
0
votes
1answer
35 views

Redis cluster RTT

We are currently using Redis as our data store. I am making a new section where we need to rank and paginate users. So i am thinking to use Sorted set for keeping rank and userid. And Hash for keeping ...
0
votes
1answer
98 views

Nginx configure to handle request from Redis

I'm trying to configure handle request direct from nginx using redis cache, cache already added to redis the problem is to configure nginx get the cache from redis URL is like ...
0
votes
2answers
185 views

Static master in Redis replication

I'm running replicated Redis that includes a master and just one slave. My goal is to implement a replication (using Redis sentinels) in which the slave becomes master when the master goes down, but ...
0
votes
1answer
83 views

Redis 2.8 Memory efficiency make test error

I'm attempting to install Redis 2.8 but when I ran make test, it threw out an error for this: * [err]: Memory efficiency with values in range 16384 in tests/unit/memefficiency.tcl Expected ...
0
votes
1answer
50 views

Why redis instance is dropping keys

Here is my Redis graph from graphite for the past 72 hours displaying current_keys. as you may notice one instance ( green ) is dropping keys regularly, while other one is ok.. Both of them were ...
0
votes
1answer
30 views

Redis: INFO doesn't report network/bandwidth metrics?

Is there a way to get network/bandwidth metrics from a given Redis process? Something I missed in the output of the INFO command? Some patch or compile time configuration option? Or would I need to ...
3
votes
1answer
536 views

Redis sentinel + HAProxy failover

I am looking to implement a HA redis implementation using Master-Slave redis servers. The web servers will connect to these through an HAProxy instance installed on each box. The situation is easy ...
0
votes
1answer
153 views

redis: setting 'maxclients' on the fly

How do you set maxclients to X in redis? I know that it should look something like this: config set maxclients X but I keep getting the follow errors (error) ERR Unsupported CONFIG parameter: ...
0
votes
0answers
76 views

Using MongoDB + Redis + Apache on the same server in production?

I intend to launch my web app using a 8 GB VPS. It uses MongoDB + Redis for storage/caching and Apache + PHP-FPM for serving requests. Could there be any issues with running Mongo + Redis + Apache ...
0
votes
1answer
146 views

How does LogStash handle Redis input restart?

I have Redis v2.4.5 configured as an input for LogStash v1.2.1 When Redis restarts, LogStash continues to keep an open connection (according to netstat), but no longer reads messages from the list. ...
0
votes
1answer
315 views

Default Time To Live (TTL) on AWS Elasticache Redis implementation

What is the default Time To Live (TTL) in the AWS Elasticache Redis Implementation? I figured I could get it from the redis-cli, but looks like it doesn't support the CONFIG GET * syntax generally ...
1
vote
1answer
75 views

What's the default username and password for the VM Depot “Redis Server 2.6.9 Ubuntu 12.04 LTS”?

I've got this server running on a local Hyper-V host, but can't log in because I don't know the username and password for it. http://vmdepot.msopentech.com/Vhd/Show?vhdId=147&version=254 I set ...
1
vote
0answers
198 views

what affects redis speed [closed]

On my mac local machine with ssd disk I got fast redis server. I run smembers operation for 0.81 seconds On remote ubuntu machine it is slow. The same smembers operation runs for 2.13 seconds I ...
0
votes
2answers
147 views

Permissions error trying to dump Redis to a Vagrant shared folder

I keep getting a permissions error when trying to dump the Redis .rdb file to my vagrant shared folder. The saves are working fine when going to the default /var/lib/redis location. A few things I've ...
1
vote
1answer
45 views

Setting up multiple redis masters

In recent study, I was led to the belief that it is not possible for redis to be setup with multiple masters with each master having 2 slaves. ...
1
vote
0answers
203 views

Copied redis dump.rdb server to new server, only loads < 5 MB into memory instead of ~1 GB from previous server

I am migrating redis servers (from 2.2 to 2.6, if that's relevant), and after I do a "SAVE" on the old box and copy the file to the new box, I put it in the same location from /etc/redis/redis.conf as ...
0
votes
2answers
554 views

redis “No route to host” when pinging a remote redis host

I'm in the process of setting up a Resque server and am having to setup Redis for the first time. When using redis-cli to ping the remote server I get a "No route to host" error, however when I ...
0
votes
0answers
68 views

How to connect redis-cli on Windows to redis on Linux (on VMware)

I have Windows 8 as a host and Linux guest on VMware and installed redis on Linux, redis works correctly. I don't know how to connect a redis-cli -h [ipAddress] to redis on Linux with VMware. How ...
0
votes
0answers
102 views

Setting up redis with docker

I have setup a basic redis image based on the following instructions: http://docs.docker.io/en/latest/examples/running_redis_service/ With my snapshot I have also edited the redis.conf file with ...
0
votes
0answers
165 views

Redis as substitution for Memcache

We have distributed web app, and for now, as session handler, we use two separate instances of memcache in redundancy, so everything that is written in one memcache is also written in other. Memcache ...
0
votes
1answer
94 views

celery tasks from one domain appear on another domain's django admin hosted on the same box

I have a rather funny problem that I didn't manage to find it elsewhere. I have 2 django-celery projects running with redis on 2 different domains, but apparently hosted on the same box. I don't have ...
-1
votes
1answer
39 views

Redis specific protocol

I was reading the redis documentation: http://redis.io/topics/quickstart And I come across this line "External programs talk to Redis using a TCP socket and a Redis specific protocol." TCP is the ...
2
votes
0answers
97 views

Putting a NetScaler infront of Redis master failover

I have a redis-sentinel solution for master failover, I just need to setup a vserver with all the master services in the pool. Only one master can act as the master at a time, the rest are slaves ...
1
vote
0answers
135 views

Trying to compile phpredis on a mac using phpize54

I installed php 5.4 using mac port. I then git cloned the phpredis repository ( https://github.com/nicolasff/phpredis ). Then, I execute these commands: phpize54 ./configure make && make ...
1
vote
1answer
126 views

HA for Resque & Redis

Trying to avoid SPOFs for Resque and Redis. Ultimately the client is going to be PHP via (https://github.com/chrisboulton/php-resque). After going through and finding some workable HA for ...
0
votes
1answer
214 views

Redis error on start: invalid bind address

I am seeing in the following in my redis log: [1398] 17 Jun 22:55:53.467 # Opening port 6379: invalid bind address When trying to start redis with service redis start. However, I confirmed that is ...
0
votes
1answer
381 views

Production redis server has 100% cpu usage

My production redis server has gone mad and has been hogging up 100% of CPU usage. I have done everything that I can from upgrading redis server to restarting the machine. I can't figure out what's ...
0
votes
0answers
102 views

Performance drop after hours of runtime - how to detecting bottleneck

I am running a local database server for 1 client machine. My DB server runs redis (version 2.6.13) and mysql (5.5.31-30.3-log Percona Server (GPL), Release 30.3). I have 1 Client machine that runs a ...