3 ms·
Makes sense! Have you considered Ansible?
by sinzone 11y ago
Makes sense! Have you considered Ansible?
- lobster_johnson 11y agoAnsible doesn't give us any benefits over our current system. (Salt would be a better choice. Not a fan of YAML templating, to be honest, nor the tight integration with Python.) Configuration management systems like Ansible and Salt and Puppet are fairly rigid; they are basically modular recipes for placing files and starting services on remote servers. What you get from Mesos (combined with its frameworks) is something that can run your services, keep them running, and handle the several state transitions that affect any running application: Transitioning from one version to another, for example, or restarting a failing app. We've tried using supervisord as a stopgap solution, but it, frankly, sucks. Doesn't follow forks (no cgroups), isn't capable of cleaning reloading its config, can't do master/worker replacement, doesn't support syslog in any meaningful way.
- sinzone 11y agoall those help with the infrastructure part, take a look at http://github.com/mashape/kong http://github.com/mashape/kong for helping with the code.
- lobster_johnson 11y agoI don't know Kong very well, but having look at the documentation, feels a little too much like a framework to me. The nice thing about Mesos etc. is that it makes almost no assumptions about what your system is. You pick and mix the functionality you need. For example, Marathon is basically just a process manager. You wire it up the way you want; the application can be anything, from a web server to a one-off script. Kong seems to be "Rails for microservices". Which is probably useful to someone, of course.