Comments (4)
@yagnik Yea we do this at Yelp with cross registration (nerve registers the service in multiple places). Airbnb went the filtering route. See #81 for context.
My reply on #81 starting with "I apologize ahead of time for the book of a reply here" has a breakdown of how you can do cross-dc failover using HAProxy ACLs and cross registration. If you're only running one ZK cluster you can use the filters that were added as part of airbnb/synapse#164
from nerve.
I'm unsure how I missed labels!!
We are doing exactly what you suggested just needed the glue to patch it all together. This is excellent.
Thanks!
from nerve.
btw @jolynch do you guys use multiple zk clusters one per az ?
Network flapping has caused me much grieve when running cross dc cluster.
from nerve.
@yagnik we run ZKs across AZs and have not had too many issues, but we've also tuned the bejeezers out of our ZK instances and are careful with Nerve restarts (which cause a lot of zk churn). I recall us having reliability improvements by moving to a big enough instance to have SSDs and the one step up networking (mostly m3.larges, with the occasional m3.xlarge for the "High" networking).
from nerve.
Related Issues (20)
- Nerve reporting to Kubernetes API Server HOT 2
- Install nerve in Ubuntu 20
- Project dependencies may have API risk issues
- Gem does not build on arm64 platform
- Unitialized constant error HOT 2
- Marathon support HOT 4
- nerve can silently stop watching a service! HOT 3
- Publish nerve 0.3.0 to rubygems.org HOT 1
- More than one reporter? HOT 5
- service_watcher does not exit properly in long sleep loop HOT 2
- Nerve ParseError HOT 2
- Nerve fails to restart on watcher failure HOT 3
- Dynamic Configuration HOT 2
- Please upgrade Bunny dependency
- serf Support HOT 4
- Connect to different zookeeper clusters async
- Should nerve consider a 3xx status to be successful? HOT 1
- ZK connectivity failure with multiple watchers leads to permanent failure HOT 3
- Is this project still active? HOT 2
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 nerve.