redis
Redis: Is ZADD better than O(logN) when the inserted element is at the beginning or end?
The redis documentation for ZADD states the operation is O(log N). However,开发者_如何学JAVA does anyone know if ZADD is better than O(log N) when the inserted element is at the beginning or end of t[详细]
2023-03-29 11:08 分类:问答How to perform an as fair as possible load balancing based on specific resource paths
I have an application that serves artifacts from files (pages from PDF files as images), the original PDF files live on S3 and they are downloaded to the servers that generate the images when a client[详细]
2023-03-28 19:57 分类:问答Question related to the use case of Redis/NoSQL database
I am building a website where I will have two kind of users - X and Y. X will be few (hundreds) and Y will be many (millions). Basically for each X, there will be some set of Ys. Y will add friends in[详细]
2023-03-28 14:50 分类:问答Can you use Redis alongside Resque?
I\'m using Redis To Go on Heroku, and I\'d like to use it to store some data alongside Resque jobs, much like I can store DelayedJobs in the same Postgres database as the rest of my model data.[详细]
2023-03-28 11:35 分类:问答Rails: Initialization Code for Redis: Where to put?
I have some initialization code in Ruby that initializes a Redis database with some values. Where is the best place to put this code in the Rails application? I wa开发者_如何学Cnt this code to run rig[详细]
2023-03-28 03:38 分类:问答How to set and get an object stored in Redis?
I\'m trying to store an object in redis, and when I get the object it doesn\'t seem to work. I tried: u = User.new[详细]
2023-03-28 03:20 分类:问答Running rake tasks to start Resque workers on Heroku
So I have Resque and redis to go set up on Heroku and this is what my resque.rake file looks like: require \'resque/tasks\'[详细]
2023-03-28 03:12 分类:问答equivalent of .net output cache in node.js?
New to node coming over from asp.net so was curious about the best modules/frameworks to implement caching in node.js.I would like to cache some expensive db queries so looking for an easy way to cach[详细]
2023-03-27 20:10 分类:问答NoSQL / Redis Scaling Theory
Is it more effici开发者_StackOverflow中文版ent for a key-value data store such as Redis to handle X number of requests over 1 client connection or 1 request per client over X number of client connecti[详细]
2023-03-27 16:13 分类:问答Error when trying to use async.concat to retrieve data from redis
I was following an example posted by the async author here but I\'m getting an error. redis-2.2.12 node v0.4.11-pre[详细]
2023-03-27 14:20 分类:问答