cancel
Showing results for 
Search instead for 
Did you mean: 

Can i do an application online (or a quicker offline)?

Former Member
0 Kudos

Hi, i want do this application with MI in smart sync:

- i write a dataA.

- send the dataA to middelware.

- receive from the middelware the dataB according dataA.

I would like to be as fast as possible, can i? Other solutions?

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

2Way SyncBO - Synchronous - repetitive sync

These three things and you have the answer in the same sync loop by 99.9%

Online is perhaps faster - but works only while you have coverage and can access the server. The Smartsync solution works always.

Hope this helps to solve the issue.

Regards,

Oliver

Former Member
0 Kudos

I do it... in the file MobileEngine.config i have this (with other lines not important):

MobileEngine.Sync.TimedSyncActive=true

MobileEngine.Sync.TimedSyncTimeInterval=1000

MobileEngine.Sync.RepetitiveSyncEnabled=true

MobileEngine.Sync.TimeBetweenRepetitiveSyncs=1000

But... the data are slow about 30seconds... Can i do faster?

Thanks,

Former Member
0 Kudos

Hi Victor,

well, if I see that correct:

MobileEngine.Sync.TimedSyncActive=true

MobileEngine.Sync.TimedSyncTimeInterval=1000

gives you the ability to do a sync every xxxx ms. So this is more or less the auto sync value and not necessaru in this case.

MobileEngine.Sync.RepetitiveSyncEnabled=true

MobileEngine.Sync.TimeBetweenRepetitiveSyncs=1000

this is the repetitive sync value. The number 1000 means: wait 1000ms before starting the next sync. You could try to reduce this number to - lets say - 100. BE aware, that the backend needs some time to prepare the data. So the shorter you make the number, the less time the backend has to prepare. Or other way round: the more often you need to sync until the data is prepared. There is a third value I would recommend:

MobileEngine.Sync.MaximumNumberOfRepetitiveSyncs=10

This will end the process, if after 10 syncs ther eis still data missing. Yoiu get a message, telling the user that he needs to sync again.

Hope this helps to give you a better understanding of the process.

Regards,

Oliver

Answers (0)