Comments (5)
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.
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.
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.
@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.
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)
- Support for redis.conf configuration file(s) HOT 4
- Can't run with the Readme's help? HOT 4
- HTTP 500 error when accessing UI HOT 2
- Not able to deploy mr-redis Cluster on mesos. HOT 7
- sched panic HOT 5
- zookeeper cluster support HOT 4
- Integration with Mesos-DNS HOT 1
- Redis instances shut down when scheduler restarted HOT 13
- Instances loaded from Zookeeper have no slave records HOT 2
- mrr create instance failed error HOT 3
- How to expose redis ip after creating redis instance in mesos standalone mode HOT 1
- MR-Reids UI redis instance list is not sync with the redis stored in zookeeper after scheduler restarted HOT 1
- Mr-Redis UI single instance create successfully when name is null HOT 1
- Is there a plan to add Constraints feature into executor?
- Update DCOS Universe package to use Zookeeper as default
- is this project active? HOT 4
- UI dashboard doesn't display redis instances after restart sched, /v1/status return null HOT 1
- Creating redis failed due to error " uses less CPUs (None) than the minimum required (0.01). Please update your executor,"
- Is this a continued project?
- mr-redis framework loses the instances when it is deployed to another node in dcos HOT 1
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 mr-redis.