Pergunta de entrevista da empresa Everbridge

How to replicate data from Primary to Secondary (DB) in un-reliable network. Write code at primary and secondary side Consider single secondary as of now. 2 criteria : there should be no data loss and seq of data should be maintained.