ataggart/loci — Issue #2: Broadcast API
Author: ataggart
Created: 2012-02-04 21:09:25+00:00
State: open

Features:

* Protocol for communicating state of servers/nodes
* New Server A is online
* Server A has load info X (load fields as yet unspecified, should be protocol agnostic)
* New node(s) added to Server A
* Node(s) moved from server A to server B
* Node(s) replicated from Server A to Server B
* Node(s) deleted from Server A (This could also be a delayed form of cancelling a replication?)
* Has both transmit and receive interfaces
* Transmit is event based
* Receive is event-listener based
* Has real network implementation and dummy implementation where transmit and receive ends are local to the JVM
* Supports batch transmits (e.g., collecting a number of node change events, and then broadcasting one message)
* Configurable at runtime (e.g., set a min period for batch messages)
* Node changes and Server Online should probably both be TCP
* Server status probably UDP