Comments (3)
Hi, cluster scan is ill-defined and problematic - just see to what efforts the Amazon fork goes to enable such a feature - amazon-contributing#141. It might be merged eventually, but it's a hard feature, and it won't be merged soon.
If you're using the async cluster, you can use the route_command
function to route your requests to separate nodes, and scan each one. It won't maintain coherency if you'll experience topology changes during the scan, but it should be good enough.
I expect that the sync cluster will also receive such functionality eventually, but it's not there ATM.
from redis-rs.
Hi, cluster scan is ill-defined and problematic - just see to what efforts the Amazon fork goes to enable such a feature - amazon-contributing#141. It might be merged eventually, but it's a hard feature, and it won't be merged soon.
If you're using the async cluster, you can use the
route_command
function to route your requests to separate nodes, and scan each one. It won't maintain coherency if you'll experience topology changes during the scan, but it should be good enough. I expect that the sync cluster will also receive such functionality eventually, but it's not there ATM.
Thanks for response
from redis-rs.
update - routing to specific nodes is enabled in the sync cluster by this PR - #1233
from redis-rs.
Related Issues (20)
- support maybe async HOT 1
- multiplex connection doesn't recover from ErrorKind::IoError HOT 5
- add ability to specify count for scan match HOT 2
- output stops around 15k messages. Can you please help with what's wrong with this example? HOT 12
- provide two-stage api for MultiplexedConnection HOT 6
- Things to complete for 0.26v HOT 3
- ConnectionManager with broken pipe HOT 2
- Issue with a simple GET command HOT 3
- Warning about Rust 2024 with the newest Nightly Compiler: `this function depends on never type fallback being ()` HOT 7
- is there a reason test_block_on_all_panics_from_spawns test is not marked as #[should_panic]? HOT 2
- Blocking operations and aio MultiplexedConnection HOT 14
- Master with given name not found in sentinel- MasterNameNotFoundBySentinel HOT 6
- Connection Timeout leads to data corruption HOT 1
- My Redis server enabled kerber verification, Can I use this client for it? HOT 1
- Support `query_async` for `ClusterPipeline` HOT 5
- Using redis with rustls is blocking HOT 2
- Alternatives to aio::Connection in combination with WATCH HOT 1
- How to dynamically reconstruct a Redis client based on cluster information? HOT 3
- EVALSHA in cluster pipelines 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-rs.