Use replicate storage and request smaller bundles
Store all chats as Text Posts using ERP5 in a replicate storage. Synchronize divergent chats through a three-step process: 1. send doubler (request a request from the host) receive request (get dict of host's last-seen messages) 2. send archive (give all new messages to the host) receive doubler (get after host is fully updated) 3. send request (give dict of your last-seen messages) receive archive (get all new messages from all peers) This means that Space Chat now synchronizes correctly even when peers disconnect from each other, and all chat messages will eventually be stored on ERP5 as soon as one peer reconnects.
Showing
File moved
File moved
File moved
File moved
File moved
File moved
Please register or sign in to comment