Local Storage and Synchronization
Local Storage and Synchronization
Local Storage and Synchronization
OutSystems Training
1
Topics
● Synchronize Data
○ Frequency
○ Size of data
○ Transactions
○ Granularity
2
OutSystems in the Enterprise ecosystem
Intranet/
extranet users
OutSystems
External
Portals Microsites Applications
ESB
4
Mobile architecture - Limit server side calls
unt MB_Account
Adopt the correct sync frequency:
1 1. At process start and online, sync to
Customer Account
2 local storage
2. At process/transaction end and
online, sync back to server
Plugin ID Fingerprint
Rs Scanner reader
Services
Sync data required per use case:
○ On Session start sync accounts’ summary
Plugin Repository (GIT)
○ On account selection, sync its details
6
Synchronization tips - transactions & granularity
Mobile
Banking Avoid long synchronizations in a
unts My account
single transaction:
unt MB_Account
● Impacts UX - App becomes unresponsive
● Not prepared for constant offline or device
Customer Account
standby
Plugin ID Fingerprint
Rs
Services Scanner reader Ensure sync granularity
● Incremental by entity with partial commit -
Plugin Repository (GIT) prepared for constant retries without
repeating
7
Review
● Synchronize Data
○ Frequency
○ Size of data
○ Transactions
○ Granularity
8
Local Storage & Synchronization
Thank you!