Comments (6)
Sorry, I do not understand your use-case. What's your cluster topology? You have a single master with 50+ replicas? You have a cluster with 50 shards? What do you expect will happen when you write into a slave?
from dragonfly.
We have 1 primary KeyDB server and many replicas. (no cluster). Each replica is also being used from application servers as local cache. Do achieve that the application server has to write directly against replicas. (which is not working by default because replicas are read-only)
Basically the same as what DragonDB describes here:
https://www.dragonflydb.io/faq/redis-replica-read-only-configuration
but this option doesn't seem to exist.
I'm aware that this might raise architecture design questions, but we do that with a good reason to keep latency low and high throughput.
from dragonfly.
Frankly, it's the first time I am learning about such setup. So basically you are making sure that a slave writeable keyspace does not overlap with the master?
@adiholden what do you think? Seems like a simple extension to add?
@m1cha3lf Besides this writeability issue, have you already tested Dragonfly with replicating to 50 replicas?
from dragonfly.
Yes, the application is using a special prefix for all keys to avoid conflicts with keys coming from master.
i wasn't able to test the whole setup and replication due to the requirement of writing against a replica / slave.
from dragonfly.
I think those unrelated. We've never tested master with 50 replicas so I prefer to hold on with this request until you are sure everything else works well
from dragonfly.
Not planned
from dragonfly.
Related Issues (20)
- Support cluster commands in `loading` state HOT 1
- tiered_storage_test memory pressure fails
- add `allcomands` and `nocommands` support for ACL's
- test_disconnect_replica fails HOT 2
- deadlock during shutdown in test_replicaof_flag_disconnect
- deadlock during ping() in test_password
- New version replication regression test
- CmdArgParser::ToUpper needs to be removed
- test_network_disconnect_small_buffer deadlock HOT 10
- Inability to Authorize Non-Default User with RESP3 Protocol by `HELLO 3 AUTH non_default_user some_pass` HOT 3
- benchmark n2d-*-16 and n2-*-16 on GCP
- test_cluster_migration_cancel assertion failure
- FT.SEARCH can not parse multiple integer tags in OR expression HOT 2
- implement FT.TAGVALS
- aggregate group by might not work for the snippet below HOT 1
- Ram overflow error when querying number range
- `SIGSEGV` crash during `DEBUG POPULATE`
- Allow loading empty objects
- FT.SEARCH - search on TAG not working HOT 2
- Modify Lua flags format
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 dragonfly.