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

learn more… | top users | synonyms

3
votes
1answer
1k views

Configure fallback redis server

I am using redis as a cache server. Can I somehow configure multiple redis servers, that the cache is fully functional (read/write) even if some of them go offline? I looked into master->slave, but ...
2
votes
1answer
3k views

How can I generate a command for start-stop-daemon that will kill the process if it doesn't term during a timeout period?

I need to run a start-stop-daemon for a redis instance and I want it to send a SIGTERM and if the redis instance doesn't quit i would like it to force a quit. The start-stop-daemon configuration says ...
1
vote
1answer
208 views

RHEL 6.x on Rackspace Cloud and Dedicated hardware experiencing Redis Timeouts

I just recently set up a mixture of RHEL 6.1 Rackspace cloud hosts and RHEL 6.2 dedicated hosts using Rackconnect. I am experiencing intermittent Redis timeouts from within our Rails 3.2.8 app with ...
2
votes
3answers
5k views

How to uninstall the redis installed from source in ubuntu 12.04?

I'd installed the redis-server on Ubuntu 12.04 from source. But at somepoint it couldn't get installed fully, failed on last make install cmd. Then I just installed via apt package. Now I'm confused ...
2
votes
0answers
467 views

Redis on EC2 (Heroku) : RedisToGo v/s MyRedis v/s OpenRedis v/s RedisCloud v/s Others [closed]

Are there opinions and experiences to help decide between RedisToGo v/s MyRedis v/s OpenRedis v/s RedisCloud v/s Any Other Hosted Redis offerings? The goal is to have minimal latency and maximal ...
0
votes
1answer
1k views

How do I configure redis to allow me to connect through a SOCKS proxy?

I've got a redis server running on my remote machine. It's currently set only to bind 127.0.0.1. I can ssh into the machine with ssh -D 9999 mydomainwhatever.net to open a SOCKS proxy and then ...
1
vote
2answers
878 views

Troubleshooting poor disk IO performance

Note that while this question is a little Redis-specific, the main problem is generic: a process takes so much HDD IO write bandwidth that other processes can't write anything. We've got an Ubuntu VM ...
0
votes
3answers
168 views

How to choose NoSQL database engine?

We have a database with following specs: 30k records, 7mb in size 20 inserts/second 1000 updates/second 1000 range selects/second, by secondary index, approx 10 rows each needs at least one ...
1
vote
1answer
275 views

How to check if redis master is OK?

On the documentation, they advice the monitor command. But it has a 50% performance penalty for the whole system, and how should I do that ? Whatching the ouput using SSH until I don't see anything ? ...
0
votes
1answer
213 views

Should I use vm or set the maxmemory with Redis' 2.4

In redis 2.4 the vm-enabled no is the default, so I am using redis as database (not cache), and maybe occasionally the db size is larger than the memory, should I enable it? Or should I enfore ...
0
votes
1answer
935 views

Keepalived not honoring nopreempt

I'm using Keepalived to manage two Redis instances in a master/slave configuration. I'm experiencing a situation where, if Keepalived is terminated on the Master box (the one with the higher ...
0
votes
1answer
499 views

Session persistence between multiple Rails / Unicorn servers with Redis as session_store on AWS

I've got 2 nginx EC2 instances pointing to 2 Unicorn EC2 instances in a round robin load balanced configuration. The two nginx instances are being the Elastic Load Balancer. Both Unicorn instances ...
2
votes
2answers
165 views

Cron job not putting Redis in slave mode

My organization has Redis running in a Master/Slave configuration, using Keepalived to switch between the two. It was discovered that when the Slave instance dies for some reason, Keepalived will not ...
0
votes
2answers
372 views

Configure redis to not have everything in memory?

I like redis because it lets me do operations on data structures. I wanted to see what would happen if i were to put more data into redis then i have for ram. So i wrote a loop that inserted 30k bytes ...
3
votes
2answers
2k views

Redis Master and Slave usage

While I know how to configure and run Redis master and slave on two different servers, I would like to whether my Webserver will be able to connect to slave redis server if the master redis server ...
2
votes
1answer
589 views

How can I set up redis to run automatically on my Ubuntu machine the way it does on mac

On my (new) mac I can use spork and redis seems to be already running. However on my Ubuntu system (11.10) I get Connection refused - Unable to connect to Redis on localhost:6379 ...
5
votes
2answers
4k views

How do I install the latest stable version of Redis?

I am new to redis. and I just followed cli to install redis sudo apt-get install redis. but the install server version is 2.2.12 . If I want to update this version and I want to install redis 2.7 + ...
0
votes
1answer
257 views

Getting cron to start Redis on reboot [duplicate]

I am trying to get Redis to start every time my system reboots to make sure that the cache are availables to my webserver. What I did is that inserted the following line in my crontab: @reboot ...
-3
votes
1answer
253 views

Mongodb/Redis setup [duplicate]

Possible Duplicate: Can you help me with my capacity planning? I am contemplating purchasing/setting up a 16gb server which will contain 2 5gb instances of mongodb (multi drive ...
0
votes
1answer
654 views

Setting Up Redis-py in ubuntu

I am trying to install redis-py or redis-rb (preferably redis-py) but none of the sites I visit and the blogs I have read have provided a solution that has been satisfactory. Can anyone please tell me ...
3
votes
2answers
3k views

PHP on several servers with session-sharing

there's certanly other threads about this, but I have one more question. We are about to scale the website at work to have more than one server. And we need to share the sessions between the servers. ...
2
votes
3answers
531 views

Am I using too much memory? (Rails on EC2 with Resque)

I am looking at the memory usage of the Rails application (it uses background processes via Resque) and since the common answer to the question, "how many workers is too many" was "test and see", I ...
0
votes
2answers
361 views

Monitoring Redis and mysql server for memory and cpu usage

I want to compare the memory and cpu usage of the the redis-server and the mysql-server. I have used a profiler to get the client data but I would also like to know what is going on on the servers ...
1
vote
3answers
1k views

Can I use redis with load balancer?

I am using redis's 1 master & 1 slave. I also want to use both under load balancer.So that I can make use of both redis server at once. Also I want to add slave as master's fail over. So can I ...
2
votes
1answer
5k views

How do I load the dump.rdb file into redis?

I have a dump.rdb file, which is in the same directory as redis.config. When I start my sever: redis-server ./redis.config It does not load the data in that 1 GB file. How do I load that data?
0
votes
1answer
987 views

What steps are required to ensure more than 1024 clients can connect to redis?

I require more than 1024 clients to be connected to a single redis instance at once. My redis process runs as user ubuntu. I have edited /etc/security/limits.conf to specify: ubuntu soft nofile 65535 ...
1
vote
3answers
2k views

How can I block port 6379 for outside traffic on ubuntu?

I want to block access to port 6379 on my server, but I still want to connect to it internally. The redis-server application runs on that port and I want to connect to it only locally (127.0.0.1). ...
1
vote
1answer
3k views

Scaling a node.js application, nginx as a base server, but varnish or redis for caching?

I'm not close to being well versed in using nginx or varnish but this is my setup at the moment. I have a node.js server running which is serving either json, html templates, or socket.io events. ...
3
votes
2answers
2k views

Nginx dynamic upstream configuration / routing

I was experimenting with dynamic upstream configuration for nginx and cant find any good solution to implement upstream configuration from third-party source like redis or mysql. The idea behind it ...
0
votes
2answers
850 views

Advice on where to install Redis

I have just introduced Redis into our application and I am not sure where best to install in production. I read that the Windows option is not production quality so i need to install on Linux. I ...
2
votes
1answer
480 views

Separate server for Resque workers

I'm trying to segment a few servers for a Rails project and part of that is entertaining the idea of isolating Resque workers to their own box. I already have Redis broken out, but is it common to ...
3
votes
4answers
2k views

Redis won't shutdown

Most of the time when I reboot my Ubunutu server, I get "Waiting for Redis to shutdown…" over and over and it never stops until I force reboot. What could cause this? I have http://godrb.com/ ...
2
votes
1answer
434 views

Resque(Redis) On EC2 Micro Replciated to 3 availability zones

I'm going to build a failover setup for my resque jobs system wich uses Redis as a queue. The idea is to put 3 redises in different availability zones on micro instances and replicate them. Also would ...
0
votes
1answer
215 views

Setup multiple webapps to respond to multiple domains using a single IP

I have two rails webapps, I have configured one webapp to respond to multiple domains. I have done this by making the corresponding server block in nginx as the default. Now, I want to make even the ...
1
vote
2answers
826 views

Redis taking up all server memory. What to do?

I have a Redis server running version 2.4.5 and with a dump.rdb of 11GB loaded into memory. It is running on EC2 on a high memory 4x extra large instance (70GB total memory). However, turns out Redis ...
-1
votes
1answer
3k views

Booting the server redis no errors

The redis but usually begins with the following errors: tyler @ tyler-vortex: ~ / pens $. / src / redis-server [3690] Dec 01 10:56:05 # Warning: the specified config file, using the default config. ...
1
vote
0answers
171 views

Large scale custom domain support for a hosted web service

I am running a hosted platform for publishing Markdown documents. Currently I offer a subdomain per user, but the number one request right now is custom domains. My server stack is NGINX and uWSGI ...
0
votes
1answer
543 views

Monitoring queue depth of resque/resque-scheduler

I'm looking for a way to monitor the "queue depth" of my resque and resque-scheduler redis instances. Currently I am using god to ensure the resque and resque-scheduler tasks are running, and I use ...
2
votes
1answer
86 views

Force a process to update cwd after mount?

Redis is dumping snapshots to device that is rapidly running out of space. I've tried mounting a larger device to the snapshot directory, but Redis continues to dump snapshots to the smaller device. ...
1
vote
1answer
363 views

Not able to setup juggernaut push notification server on ubuntu

I am developing a ruby on rails application to implement chat. I am not able to setup juggernaut server in production mode. I followed this guide to setup redis. and its working perfectly fine. Then ...
1
vote
1answer
3k views

How to install Predis

I am trying to install Predis, but keep getting a 500 Server errror. Here is what I have done. 1.) Have apache and php installed on Ubuntu Natty. 2.) Used the instructions on this page ...
4
votes
1answer
2k views

How do you get Redis connections working within an Amazon VPC private subnet?

I have an Amazon VPC setup with a private subnet containing 2 instances. One of them has redis running on it, the other instance I want to use to connect to the redis server. I have the redis instance ...
0
votes
2answers
586 views

Redis using lots of RAM, steadily increasing until I restart it

I have a simple redis installation and it seems to slowly eat more and more ram at a steady incline until I restart the redis server. I'm using redis as a caching layer, currently I don't set an ...
2
votes
1answer
620 views

Amazon EC2 ELB directing load to other instances and session stores

If we scale up (add an instance to ELB), could we redirect some existing requests to the new instance. So that, The users that we force to a new server will be asked to login again If we scale down ...
1
vote
2answers
738 views

What happens to redis when your server runs out of free RAM?

Let's say you're hosting redis on a small server with little RAM. What happens if there's too much data, and all the RAM gets used up? Does redis die? Or does it continue operating?
0
votes
3answers
782 views

RedisToGo - remote Redis server. When to use one?

I like the concept of relying on third-party service hosting my data but what's the point of using super-fast NoSQL storage via remote hosting? It maybe in different datacenter or even country! And ...
14
votes
3answers
2k views

Some Linux systems become very slow when Redis is loading a big dataset

I received a report from a Redis user, and I'm not sure what to reply as I'm not an expert in the area of Linux and its scheduler, however we (as the Redis project) need to figure this kind of issues ...
1
vote
2answers
4k views

Cannot connect to Redis installed on VirtualBox running Ubuntu from Windows 7

I've setup an Ubuntu image on VirtualBox on a Windows 7 host. On the Ubuntu guest I've installed Redis which runs on port 6379 (TCP) by default. I've setup port forwarding using the VirtualBox GUI ...
1
vote
1answer
826 views

Troubles installing/starting Redis via Resque

Trying to complete instructions for Resque/Redis installation here: https://github.com/defunkt/resque/blob/master/README.markdown Am stuck at where I'm trying to start up Redis via Resque at the ...
0
votes
1answer
786 views

How to send task to celery using redis pubsub with postgresql?

How do you send task to celery through redis pubsub once a new record has been inserted into a postgresql table? My problem here is to get redis to listen for inserts in my postgresql table, and when ...