-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
17 lines (15 loc) · 966 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
The goal of Cohort is to provide a library for high-latency, low reliability network clustering communicating over HTTP.
High level design ideas:
- p2p based with no master
- Required operations: list members of a swarm (name?), add member, remove member
- loose consistency on swarm membership, total membership = sum of lists of members from all members
- event based async messaging api (possibly use https://github.com/sonatype/async-http-client under the covers)
- use JAXB to marshall messages to XML
- listen with servlet (3.0)
- optionally permanently queue messages and retry periodically
Membership join protocol
- join request issued by new member
- recieves successful response with list of known members
- send join request to all other known members
- using guaranteed delivery system just pretend acknowledged,
any attempted communication with them will fail anyway if initial failed