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

learn more… | top users | synonyms

1
vote
0answers
293 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
202 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
700 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
1k 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
122 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 ...
0
votes
1answer
472 views

How to install Redis - executables missing after make

Trying to install Redis on Ubuntu 12.04.2 LTS. I ran the steps from the website: wget http://download.redis.io/redis-stable.tar.gz tar xvzf redis-stable.tar.gz cd redis-stable make And then: sudo ...
-1
votes
1answer
148 views

What type of amazon ec2 instance should i take ? And how many of them? [duplicate]

I will be hosting a website . Our initial target will be around 50,000 unique visitors a day . Files are served using apache/php and the realtime events (likes,comments) are handled using a nodejs ...
1
vote
1answer
115 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 ...
0
votes
1answer
443 views

Getting a connect timed out error when using HttpRedis and eval modules for NGiNX

I am trying to catch the value from Redis. So that I can echo it via a variable. This is why I am using eval block. But for some reason I am getting errors. I don't get any config errors when I ...
7
votes
3answers
3k 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 ...
1
vote
1answer
668 views

Allowing access to redis port for only specific servers with ufw

I've installed ufw on my Ubuntu 10.04 server. The only thing running on that server is going to be ElasticSearch and Redis. Redis uses port 6379. I only want two different IPs to be able to access the ...
0
votes
1answer
53 views

Force apt-get not to upgrade a custom package dkpg [duplicate]

I've created my own deb package for Redis 2.6.11 instead of the very old default version for Ubuntu. All works well except when I do an apt-get upgrade it tries to install what it thinks is the latest ...
0
votes
1answer
871 views

Approach to auto scale celery servers based on broker(redis) queue size

I am working on a project which requires rolling out new celery servers if the broker(redis) queue is consistently higher than a predetermined threshold size and killing the new boxes when the queue ...
0
votes
1answer
840 views

logstash trying to connect to redis server on mapped ipv6 address

I've just started playing with logstash, and I'm having a problem getting a log shipper process to send events to a redis server on another host. The output stanza of my logstash config file reads ...
-2
votes
2answers
80 views

How to stop every incoming traffic except from 1 ip, on an ubuntu server [closed]

I have 1 server that runs Redis on port 7632. I want to block all incoming traffic to that server, for this port, except from my web server and from localhost. My web server ip is, for this example, ...
0
votes
1answer
891 views

Nginx for Windows or Linux - which is recommended for a Redis cluster and what is the recommended configuration? [closed]

We are currently exploring Nginx as a reverse proxy server and have done some preliminary tests with the Windows version. Since the stable product has been available for Linux, I would like to know ...
0
votes
1answer
736 views

fsockopen(): unable to connect to 127.0.0.1:6379

Im running centOs 6.3, I installed redis-server via remi repository on my local machine. I can run the redis cli. But when I try to connect via php script I get fsockopen(): unable to connect to ...
2
votes
2answers
2k 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?
1
vote
1answer
128 views

Is there a benefit to managing programs with a process manager instead of with init.d?

I'm using Redis, Memcached, and Nginx, to be specific, and Supervisor as the process manager, but any general information is helpful as well. Each of the aforementioned programs when apt-get ...
2
votes
1answer
752 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 ...
14
votes
1answer
12k 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 ...
3
votes
2answers
866 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 ...
0
votes
1answer
1k views

redis conf changes without restart

Sorry for a silly question, I want to change logfile and loglevel in redis without doing restart, if there is a way to do that?
0
votes
1answer
131 views

With NGiNX how can get a user to access a file on another server without redirection?

I have a server that is password protected, where I store files that I want my users to be able to access only if they have the rights. In the NGiNX configs I want to be able to do something like ...
3
votes
1answer
1k 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
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
222 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 ...
3
votes
3answers
6k 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
480 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
2k 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
975 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
179 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
314 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
238 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
1k 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
539 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
182 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
428 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 ...
4
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
749 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 ...
6
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
341 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
272 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
834 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
4k 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
566 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
431 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
2k 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
3answers
7k 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?