MatrixAI / Relay

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

Service migration and state management #12

Open ramwan opened 6 years ago

ramwan commented 6 years ago

Issue to track research into service migration and cases that will arise when services are moved. Initial research into Mobile IP and link/network layer hand-off protocols don't solve the fundamental problem of maintaining state in one service instance and transferring that across to a new instance of the service.

Some cases to consider

ramwan commented 6 years ago

Initial state migration experiment writeup @ https://github.com/MatrixAI/Relay/blob/master/experiments/stateless_container_ping_migrations/README.txt

CMCDragonkai commented 6 years ago

Something to study: VM Snapshotting, Orthorgonal Persistence and CRIU. Leave it to later though, (we need Vivian and potentially the new hire).

ramwan commented 5 years ago

Stateless connection migration is simple and can be done with iptables nat rules to swap out both src and dst addresses in a packet with the conntrack module being able to keep track of the connection. Migrating TCP however doesn't seem possible for now and further research is being done to see how we can migrate TCP.