tobilg / docker-mongodb-marathon Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] Please use https://github.com/tobilg/dcos-commons/tree/mongodb-replicaset/frameworks/mongodb-replicaset
License: MIT License
[DEPRECATED] Please use https://github.com/tobilg/dcos-commons/tree/mongodb-replicaset/frameworks/mongodb-replicaset
License: MIT License
hi,
looking at this code,
if (isInitialRun) {
marathon.setupEventCallback(options.host, options.webPort.public)
...
mongoDb.initializeReplicaSet()
.then(function(result) {
// Now we are ready to handle the events from Marathon
isReady = true;
unless I missed something, only the first instance that registers a node with zk can create a marathon event listener, and is also the only instance that isReady is ever == true.
if my first instance (in a replicaset) dies, and a new mongo master is elected, how can it's instance ever subscribe or react? (because even if it subscriibes, its isReady will always be false).
what am I missing?
Hi, nice work.
I'm running mongodb on marathon/mesos. Our main issue is that the process often dies as it exceeds any memory set in the marathon job. We have 32 Gb servers and allocate 4Gb to mongo. Usually we have 20Gb free when the 4Gb mongo is exceeded. Is there a way to un-restrict the memory for a task?
oversubscription seems to be a possible mechanism, placing mongo as the only priority task and letting all others run as over-subscribed. Have you tackled this? What about if mongo exceeds 32Gb, can we spill to swap somehow?
https://mesosphere.com/blog/2015/08/26/turbocharging-your-mesos-cluster-with-oversubscription/
Hmm. Looks like it will have to wait till marathon catches up
mesosphere/marathon#2424
¡Hola!
I am trying to deploy a replica set on ECS (+route 53?); I am thinking about making a derivate of your image for that propouse. Would you kindly point me to some document about the node.js configuration app your'e using on it?
¡Gracias!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.