Coder Social home page Coder Social logo

akka-cluster-etcd's Introduction

Akka cluster management using etcd

Travis Widget

Running an Akka cluster requires establishing a set of seed nodes. The purpose of them is two-fold: all nodes joining the cluster do so by contacting any of the seed nodes over the network, and one of the seed nodes bootstraps the cluster by "joining itself" - establishing a new cluster with size 1.

When running a distributed application on a cloud platform, the IP address of VM/container where a particular application module will execute is generally not known beforehand. This creates an administrative burden: first a an initial node needs to be launched to bootstrap the cluster, then an appropriate number of secondary seed nodes need to be launched and join the initial seed, then finally ordinary nodes may be launched using full seed list. Collection of IP addresses of running nodes and passing around is a process that begs to be automated.

There are several cloud application platforms based on Docker (Kubernetes, Fleet) where etcd is used as a distributed configuration store that is used by the platform for workload scheduling and maintaining SDN (Weave, Flannel). etcd instance used by the platform is not available to the managed applications, however an etcd instance (or a cluster) may be started also as an application module. etcd can be then used to elect the initial seed node and publishing a list of seed nodes afterward. This enables a zero-configuration deployment scenario for Akka cluster.

Examples

  • Cluster Monitor โ€“ a minimal demo application that boots an empty Akka cluster and stays idle until VM is terminated
  • Docker Compose โ€“ Cluster Monitor running inside Docker Compose containers

akka-cluster-etcd's People

Contributors

everpeace avatar maciej avatar mingchuno avatar odd avatar omersadika avatar rkrzewski avatar

Watchers

 avatar  avatar  avatar

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.