Git Product home page Git Product logo

docker-mongodb-marathon's Issues

only ever one marathon event subscriber?

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?

strategy for memory limits

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

ECS + AWS Route 53?

¡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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.