Skip to content

fayer1986/ekka

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ekka

A New Distribution Layer for EMQ X

----------             ----------
|  EMQX  |<--- MQTT--->|  EMQX  |
|--------|             |--------|
|  Ekka  |<----RPC---->|  Ekka  |
|--------|             |--------|
| Mnesia |<--Cluster-->| Mnesia |
|--------|             |--------|
| Kernel |<----TCP---->| Kernel |
----------             ----------

Node Discovery and AutoCluster

TODO:...

Network Partition and Autoheal

  1. Report the partition to a leader node which has the oldest guid

  2. Leader generates a global netsplit view and selects one node in the majority as coordinator

  3. Leader requests the coordinator to autoheal the network partitions

  4. Coordinator reboots all the nodes in the minority side

License

Apache License Version 2.0

About

A New Distribution Layer for EMQ X

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Erlang 99.1%
  • Makefile 0.9%