open-source, networked, in-memory, key-value data store

learn more… | top users | synonyms

14
votes
1answer
5k views

How to implement a message queue over Redis?

Why Redis for queuing? I'm under the impression that Redis can make a good candidate for implementing a queueing system. Up until this point we've been using our MySQL database with polling, or ...
13
votes
1answer
4k views

Redis vs Zookeeper

It seems silly to compare these two servers considering that they're meant for very different things. But if you think about it, they can do lots of similar things: store configuration data, ...
2
votes
1answer
514 views

How would you use Redis for Exception Handling?

I was reading this transcript of an interview with a GitHub developer and he was describing how they use Redis: Q: You mentioned using Redis. How do you use that? A: We use Redis for exception ...
2
votes
1answer
573 views

Querying key/value store

I don't know whether this question is reasonably answerable (and therefore will be closed), but I will take my chances: What are the possible problems (and solutions), one might encounter, when ...
2
votes
1answer
183 views

In-memory DB to perform intersects on set slices

I have a specific programming need where I need to efficiently store large sorted sets in memory, query them for ranges, and intersect them against other sets that are also queried for ranged. I am ...
2
votes
1answer
165 views

Semi-securely storing data in a remote key-value store, ensuring minimal data corruption/tampering

I'm bashing around a few ideas for storing usage data (similar to google analytics) for some Javascript products that we are working on. Unfortunately as yet we don't quite know 100% what data we ...
2
votes
0answers
53 views

Managing setTimeouts and setInterval in a distributed environment

I am building a turnbased game on nodejs using socket.io and redis as the datastore. I am planning on hosting the game on AWS opsworks with the ability to scale by adding more nodes. How should I ...
1
vote
1answer
306 views

2 Servers 1 Database - Can I use Redis?

Ok I have a couple of questions here. First let me give you some background information. I'm starting a project where I have a node.js server running my application and my website running on another ...
1
vote
1answer
138 views

What is a good practice to push notifications in a “near real-time” delay in this case?

I want to enable some real-time notifications about friend's activities (social network). Technical context is: Webapp calling backend (REST API's). Scenario is: Kevin follows Bob. When Bob ...
1
vote
2answers
845 views

Redis strategy for activity log data

Our application requires an activity log of actions that a user has done. For example: 3/19/2013 ------------- 9:37 AM Chuck Norris scrapped 3 robots. 9:15 AM Chuck Norris fought 3 robots. ...
1
vote
0answers
217 views

How to tell SignalR Notifications Hub that there is a new notification without having SignalR poll on that table

I'm developing a push-notifications system for my ASP.NET MVC app. The idea is to use Redis for queueing, ServiceStack for queue processing and SignalR for push-notifications to implement a system ...
0
votes
1answer
292 views

Redis & MongoDB for Metrics Platform

I'm in the process of writing an app that will ultimately display analytics to the user. I've written a service that collects data from an API. This data will then be processed, stored, then when the ...
0
votes
1answer
50 views

Should I persist notification before or after publishing it through Redis pub/sub?

I'm implementing a mechanism to notify a group of users about newly inserted blog comments. The architecture uses the Redis Pub/Sub mechanism. By definition, the pub/sub mechanism aims to propagate ...
0
votes
1answer
67 views

Storing primary keys of objects in Redis and then querying them in Postgres through Django

This is probably my second time posting in programmers. I'm usually on stackoverflow but this question is more fit for the community here. All suggestions, advice and insight on this matter is ...
0
votes
0answers
92 views

How to use Redis properly on big object

I have a relatively big object that is the wrapper of a HashMap that has 200 K entries. This HashMap wrapper, after being serialized, would take 67 Megabytes. Because this big object is the result of ...
0
votes
1answer
68 views

Backing up messages in S3 within a Storm topology

In my project we are trying to build up a KIND-of-a-lambda storm based architecture. The component would be responsible for indexing the site usage events so we expect a quite massive random load. The ...
0
votes
0answers
145 views

What is the best procedure to setup real-time data transfers with Redis?

I have setup a RESTful API using Ruby on Rails for an iPhone application.There are some instances, however, that I would like to use Real-Time Pub/Sub data-transfers, I have drawn up 2 potentials: ...
0
votes
0answers
139 views

Safe caching (i.e. memoizing) with locks in Redis

I have an access token that needs to be used by several parts of our system. It expires after a certain amount of time, at which point any component in the system needs to be able to get a new one. ...
0
votes
0answers
164 views

Redis Parent-Child Caching Strategy

We have trouble with our current caching mechanism and tracking which items need cleared out when an object changes. We are using Enyim Memcached which does not have Cache Dependencies. I have ...