Tagged Questions

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

learn more… | top users | synonyms

5
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
221 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
230 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
502 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
471 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
310 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 ...
0
votes
1answer
4k 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
691 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
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
2answers
1k 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
780 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
436 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
1k 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
406 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
213 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
770 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
164 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
498 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
84 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
351 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
519 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
555 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
651 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
708 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 ...
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 ...
1
vote
2answers
3k 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
806 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
737 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 ...
1
vote
1answer
223 views

Redis 2.0.3 would not let go of deleted appendonly.aof file after BGREWRITEAOF

Ubuntu 10.04.2, Redis 2.0.3 (more details at the end of the question). My AOF file for Redis is getting too large, to the point where it soon would threaten to take whole free disk space on my ...
0
votes
1answer
619 views

Deploying Memcached as 32bit or 64bit?

I'm curious about how people deploy memcached on 64 bit machines. Do you compile a 64bit (standard) memcached binary and run that, or do people compile it in 32bit mode and run N instances (where N = ...
10
votes
2answers
11k 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 ...
-1
votes
3answers
360 views

Redis Server: RAM [closed]

I am needing to set up a Redis server, how much RAM do I need to allow for the server?
1
vote
1answer
181 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 ...
2
votes
2answers
1k 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) ...
0
votes
1answer
131 views

Accessing applications on another VPS

I'm doing something that (to me) seems very simple, but perhaps I'm looking at the problem wrong. I've deployed a Redis box to Linode. I have a number of web servers that also sit on Linode (in the ...