Comments (4)
Related points.
Do callers expect mget to return values in the same order the keys where in (with nils on misses)? My hack doesn't really worry about this, but it probably should....
(Update: the gist's mget response is congruent with the input keys now)
Do you think DistRedis#pipelined should be grouping commands by node too?
from redis-rb.
Yeah this is the hard part about using a hashing scheme to distribute requests. I think we can do a mget across nodes fairly easily but for pipelines I think we may need to disable them on DistRedis because otherwise we would have to pull apart the pipeline to try to regroup it based on the key, this way lies madness of a full blown redis parser or some other hackery.
But we should figure out or document how these things should work with DistRedis.
from redis-rb.
In current master, Redis::Distributed#pipelined
is disabled: http://github.com/ezmobius/redis-rb/blob/master/lib/redis/distributed.rb#L420
from redis-rb.
We added support for more methods on Redis::Distributed
as long as you're using key tags (so that we can ensure that the keys involved are in the same node). Would love to know what you guys think.
from redis-rb.
Related Issues (20)
- SORT_RO support HOT 1
- `ERR value is not an integer or out of range` after redis.ping HOT 4
- LMPOP not working HOT 5
- Unable to load application: TypeError: superclass mismatch for class Cluster HOT 7
- status
- Sentinel TLS: Sentinel TLS not supported HOT 5
- Configure Rails redis_cache_store with redis 5 HOT 1
- Unable to create redis cluster HOT 1
- Add support for redis Time Series module HOT 1
- OpenSSL::SSL::SSLError: SSL_write: unsupported method HOT 1
- Max number clients reached using subscribe_with_timeout HOT 2
- [Doc] Improve documentation about acceptable regular expressions pattern HOT 4
- Behavior of `pipelined { multi }` changed HOT 1
- 5.x seems to break IPv6 URL parsing HOT 1
- Redis::Cluster attempting Redis connection during asset precompilation HOT 5
- initialize': no implicit conversion of String into Integer (TypeError) HOT 1
- `:blpop` returns an exception when using sentinels HOT 3
- Proper documentation on how to setup rails to connect to a redis cluster for session management HOT 14
- redis-clustering: NoMethodError: undefined method `node_keys' for nil:NilClass HOT 1
- Use of RedisClient built-in connection pool HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis-rb.