Docker & Container Runtimes, News & Announcements

Writing a Mesos Framework from scratch with Mesos-starter

This week it’s time to show you how easy it is to get started with writing a Mesos scheduler.

Imagine just having a Docker Image, but you know that you further down the line need to add some pretty complex features into your scheduler, that are just not covered elsewhere. That’s where Mesos-starter comes to the rescue.

Introduction to Tansu

Tansu is a distributed key value and lock store designed to maintain configuration and other data that needs to be highly available. It uses the Raft Consensus protocol to keep data synchronised. Tansu has a simple REST based using the open API specification (fka Swagger) that also streams changes to the client.

Related Post:  Distributed data analysis with plain UNIX commands and Docker Swarm

By default it uses mDNS for membership making it simple to form a cluster. Tansu favours availability over consensus, with followers responding directly to read requests by default (which may be overriden on a per request basis). Requests are automatically routed within the cluster to the leader for locks, writes and deletions.
Creating the application

Related Post:  How to install and run private parse server in production using Docker

The easiest way to create a new Spring Boot application is by using the Spring Initializr. Give your new application a Maven GroupID and an ArtifactID. For Mesos-starter you don’t need any other Spring dependencies but we very much encourage you to add Actuator. Continue reading.

mesos framework

JOIN OUR NEWSLETTER
Enjoying the article you're reading? Subscribe to our newsletter to receive updates and new articles as soon as they are published - right in your Inbox
We hate spam. Your email address will not be sold or shared with anyone else.
Please share:
Tags:

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

Your email address will not be published. Required fields are marked *

*