Comments (1)
Hey @marcoivich
yes, there is a binding to EC2_AVAILABILITY_ZONE and yes Dyno does use local rack affinity, for best latency results. You can override your own local rack using these method in ConnectionPoolConfigurationImpl.
@Override
public String getLocalDC() {
return localDC;
}
public ConnectionPoolConfigurationImpl setLocalDC(String dc) {
this.localDC = dc;
return this;
}
So 2 ways to do it.
- Cast to ConnectionPoolConfigurationImpl and then call the setLocalDC method.
- Extend and Override ConnectionPoolConfigurationImpl with your own class and then pass that to the DynoClient buildier object.
Hope this is helpful. I'm closing out the issue. Please let me know if you have any more questions. And please feel free to reopen.
from dyno.
Related Issues (20)
- Could not find any remote Racks for fallback : when creating DynoJedisClient with ConnectionPoolConfiguration HOT 1
- Reconnect application when a node goes down
- NullPointerException when connecting to multiple hosts HOT 1
- Need step by step procedure for DYNO setup for my DynomiteDB --> REDIS
- ArrayIndexOutOfBoundsException in HostUtils.calculateReplicationFactorForDC HOT 4
- dyno_scan goes into infinite loop
- JedisConnection - Socket not closed properly when redis.quit command fails HOT 1
- Need Help
- RetryNTimes does not reset RetryState when begin() is called
- Use Dyno for AWS ElastiCache for redis with Auth enabled
- Dynomite with Jedis in same project HOT 1
- d_hscan does not work when compression strategy is set to something other than NONE
- Unreleased Resource: Streams
- Unused Field
- Incomplete compression and dual write implementation
- Local rack host offline and could not find any remote hosts for fallback connection at
- Local rack host offline and could not find any remote hosts for fallback connection at HOT 2
- Need Auth Support for Dyno Client To Connect with Dynomite Cluster
- Using Dyno lock with conductor HOT 2
- hscan with ScanParams implementation for DynoJedisClient
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 dyno.