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

learn more… | top users | synonyms

13
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 ...
10
votes
1answer
4k views

Scaling Logstash (with redis/elasticsearch)

Over a cluster of over 12 centos 5.8 servers, I deployed logstash using the native logstash shipper, which sends /var/log/*/*.log back to a central logstash server. We tried using rsyslogd as the ...
8
votes
2answers
9k views

Tips for maximizing Nginx requests/sec?

I'm building an analytics package, and project requirements state that I need to support 1 billion hits per day. Yep, "billion". In other words, no less than 12,000 hits per second sustained, and ...
6
votes
3answers
1k views

node.js, mongodb, redis, on ubuntu performance degradation in production, RAM is free, CPU 100%

As the question title suggests, I'm having an hard time to figure out what can be improved on my application(or tuned in the os, ubuntu) to achieve an acceptable performance. But first I'll explain ...
4
votes
1answer
1k 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 ...
4
votes
2answers
160 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 ...
3
votes
2answers
3k 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 + ...
3
votes
1answer
784 views

Migrating to AWS Cloud with auto-scaling - where to put Redis and ElasticSearch?

I've been trying to research this topic but haven't found anywhere that recommends where to install services such as Redis and ElasticSearch when migrating to a cloud framework. I'm currently running ...
3
votes
2answers
1k 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 ...
3
votes
1answer
515 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 ...
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. ...
3
votes
1answer
283 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 ...
3
votes
0answers
680 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 ...
2
votes
2answers
124 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 ...
2
votes
2answers
915 views

How do I configure another instance of redis on ubuntu?

I basically want to have 2 instances of redis on Ubuntu. I looked at /etc/init.d/redis-server script and tried to create a new one (redis-server-dev) pointing to another config file (new port etc) ...
2
votes
3answers
368 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 ...
2
votes
4answers
658 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
396 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 ...
2
votes
1answer
338 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 ...
2
votes
1answer
81 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. ...
2
votes
1answer
461 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 ...
2
votes
2answers
398 views

Redis reload configuration changes without restarting service

When I change redis configuration via puppet, is there a better way to load the configuration other than restarting the redis service?
2
votes
1answer
296 views

How to use ELB to load balance redis slaves and use sec groups

I have a load balancer listing on TCP port 6379 on ELB. I have a redis sec group that only allows amazon-elb/sg-843f59ed (amazon-elb-sg), and another sec group called frontend_servers. 6379 ...
2
votes
0answers
73 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 ...
2
votes
0answers
383 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 ...
2
votes
0answers
379 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 ...
1
vote
3answers
1k 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
2answers
609 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
vote
1answer
52 views

REDIS connection environment variable

I have an application server that is connecting to an external redis server for pub/sub, I am currently using a redis python library, when I connect using the library it assumes the redis server is ...
1
vote
1answer
889 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
58 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
3answers
708 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 ...
1
vote
2answers
505 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?
1
vote
1answer
2k 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
178 views

Publish Subscribe Foreign Exchange Channel

I have quite a strange question.. Has anyone setup a Publish/Subscribe Foreign Currency Exchange server??? I know that redis can perform the PUB/SUB.. but i need a channel or a better idea :D Any ...
1
vote
1answer
28 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 ...
1
vote
2answers
99 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 ...
1
vote
1answer
106 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 ...
1
vote
1answer
303 views

Redis vs Memcache

I'm a bit new to Memcache and Redis and I'm trying to understand the difference between the two and what each actually is. As has been explained to me Memcache is a database caching solution. Data ...
1
vote
1answer
138 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 ...
1
vote
2answers
615 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 ...
1
vote
1answer
2k 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. ...
1
vote
1answer
2k 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 ...
1
vote
0answers
83 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 ...
1
vote
0answers
19 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
105 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
143 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 ? ...
1
vote
0answers
217 views

Redis mass insert vs Memcached [closed]

I was trying to decide what to pick for a project , redis or memcached and while collecting cons i saw something on redis page about mass-insert http://redis.io/topics/mass-insert , it looks like it's ...
1
vote
0answers
144 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 ...
1
vote
1answer
321 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 ...