MatrixAI / Relay

Service-Centric Networking for Matrix Automatons
0 stars 0 forks source link

Relay network design #4

Open ramwan opened 6 years ago

ramwan commented 6 years ago

Things to examine when determining how a relay network will be created and how communication will occur on top of the network are:

This issue builds off a decent amount of what Issue: Relay Service Abstraction and Addressing attempts to deal with.

P2P networks and protocols

Network modularity

Protocols and algorithms

CMCDragonkai commented 6 years ago

@Ramwan please write down the issues we discussed with regards to Architect design and Automaton specification and the composition of Automatons, and the requirements to be able to move Automatons around nodes without interrupting communication up to the constraint what is an atomic message. Let's enumerate all the kinds of "zero downtime changes" that can occur for composed Automatons. I can think of some examples already: an automaton fails by breaking, composition objective has changed, scale up, scale down, optimisation has decided that an automaton should be moved somewhere else. There's more!

ramwan commented 6 years ago

Another thing to consider is how services can be migrated and state managed during and after the migration. We'll need to consider how this is done and what trade-offs we'll take. Tracked in issue #12.

ramwan commented 6 years ago

Initial design considerations:

ramwan commented 6 years ago

writeup for initial experiment @ https://github.com/MatrixAI/Relay/blob/master/experiments/stateless_container_ping_migrations/README.txt