Giter VIP home page Giter VIP logo

Comments (5)

dhilipkumars avatar dhilipkumars commented on May 19, 2024

HI Gavin, Sorry for the delay in responding. it is great to hear from you. I will update the docker image (so that you get the latest in DC/OS) as well as update the release with the latest binaries.

I have planned certain things for the next release dockerizing the workload and wanted to use the latest Mesos's POD facility (especially the Auto Restart Policy) as soon as its available. It might take bit more time.

It would be great to hear more from you on this project.

Thanks Dhilip

from mr-redis.

gdhgdhgdh avatar gdhgdhgdh commented on May 19, 2024

Excellent - thank you :)

One of the key points for me is the need for better service discovery... e.g. the DC/OS Cassandra and Kafka frameworks all have callable API's to get connection information, e.g.

https://github.com/mesosphere/dcos-cassandra-service#retrieve-connection-info

Similarly being able to call <dcos_url>/mr-redis/v1/nodes/<INSTANCENAME>/connect and get the addresses + ports of masters + slaves would be much more consistent with DC/OS design.

This is key because only nodes inside DC/OS are able to resolve 'mr-redis.marathon.mesos' and our automation relies on this information being accessed from other networks via a well-known URL.

from mr-redis.

gdhgdhgdh avatar gdhgdhgdh commented on May 19, 2024

Actually, even more useful would be 'VIP' (virtual IP) support.. This is a new internal load-balancer https://github.com/dcos/minuteman in DC/OS 1.8 which uses iptables to pass traffic into userspace:

In short, by accessing a special hostname format, you can access a service on a fixed hostname and IP address, and get the same benefit as using HAProxy, but without having to use HAProxy, and without any DNS caching problems.

Taking Kafka as an example: See step 3 of https://github.com/mesosphere/dcos-kafka-service#quick-start

Now rather than having to store + access each of the broker hostnames (broker-0, broker-1, broker-2) individually, it is now possible to access the single hostname broker.kafka.l4lb.thisdcos.directory (minuteman will automatically allocate a fictional IP address and adjust the networking)

It would be excellent to be able to access master.instancename.mr-redis.l4lb.thisdcos.directory or slave.instancename.mr-redis.l4lb.thisdcos.directory !

from mr-redis.

dhilipkumars avatar dhilipkumars commented on May 19, 2024

@gdhgdhgdh we can easily expose a 'connect api but not sure how they have integrated it with dcos_url, ill check for now you could use mr-redis:port/v1//STATUS returns a json with connection information.

with respect to VIP, i have been looking at the VIP options and want to give it a try. I will create ISSUES and add it to the next milestone. Hopefully you should be able to get these the next version.

from mr-redis.

gdhgdhgdh avatar gdhgdhgdh commented on May 19, 2024

Ah excellent, thank you :) I have already been using the JSON output from the STATUS endpoint - the complexity in our environment is that we submit new Marathon jobs from Jenkins, which lives outside the DC/OS cluster...

So whilst it's fine to access the external-facing DC/OS URL for Cassandra/Kafka, the mr-redis admin endpoint is only available inside the DC/OS cluster on port 5656... that means some bad trickery is needed to get the host/port :)

I'm really looking forward to future releases - thanks for picking this up!

from mr-redis.

Related Issues (20)

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.