#1 2017-04-02 01:32:56

mohsenti
Member
Registered: 2015-04-11
Posts: 72

Offline cache

Hi,

What is my best choice to have an offline read/write cache of data and changes when network connection is lost and then sync back to/from server when it back?
Can I do it with mORMot and record version? can I only have read only cache? should I make it by hand or there is a ready to use tools for it?

Offline

#2 2017-04-02 10:26:22

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Offline cache

Use master/slave replication, for offline process.
See https://synopse.info/files/html/Synopse … l#TITL_147

Offline

#3 2017-04-02 14:02:59

mohsenti
Member
Registered: 2015-04-11
Posts: 72

Re: Offline cache

Sorry but I cant understand how it can help and I looked in the samples list an there is not one to show how it works.
I tried to change Sample 4 to make it like the doc and add TRecordVersion property and do RecordVersionSynchronizeSlave but it is not clear in the doc how it can help.

Can you point me to the working sample?

PS, https://synopse.info/forum/viewtopic.php?id=3912

Last edited by mohsenti (2017-04-02 14:06:19)

Offline

Board footer

Powered by FluxBB