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

learn more… | top users | synonyms

0
votes
1answer
233 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
337 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
406 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?
0
votes
1answer
111 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
299 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 ...
10
votes
1answer
5k 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 ...
1
vote
1answer
305 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
132 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
116 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
797 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
520 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 ...
1
vote
1answer
913 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
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 ...
0
votes
3answers
2k 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
384 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
444 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
617 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
1answer
121 views

Moving Redis persistence to a slave

Redis' background AOF rewrites are killing performance of our service. The general consensus is to move AOF persistence to a slave in a separate VM and disable it on master. There is a problem with ...
0
votes
3answers
145 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
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 ? ...
0
votes
1answer
148 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
487 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
301 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
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 ...
0
votes
2answers
237 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
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 ...
2
votes
1answer
398 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 ...
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 + ...
0
votes
1answer
138 views

Getting cron to start Redis on reboot

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
209 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
271 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
369 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
232 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
716 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 ...
0
votes
1answer
2k 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?
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 ...
0
votes
1answer
420 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
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
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. ...
3
votes
0answers
683 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
637 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
341 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
4answers
670 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
0answers
380 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
197 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
611 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
2k 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
146 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
0answers
310 views

Empty pid created by Redis 2.4 on Debian + dotdeb

I just upgraded our Redis from 2.2.2 to 2.4.1 (I use http://www.dotdeb.org/ for package management), and now, /etc/init.d/redis-server start creates /var/run/redis/redis-server.pid, but the content ...