Synchronization Architecture 
for 
Cloud powered Mobile Apps 
Prithiviraj Damodaran 
www.ByteContinnum.com
Major Concerns Addressed 1 of 2 
From the App User and Device Resource view point the 
following are some of the critical factors a cloud backed 
mobile engineering team should consider. 
• Smart Disk space usage - A lot of apps including some 
popular social media apps abuse device disk space. Every time the 
apps sync with the cloud counter part they bring down fresh data. 
Apps should be considerate of device user and should come up with 
some clean-up mechanism.
Major Concerns Addressed 2 of 2 
• Smart Network usage – Be it upstream or downstream sync 
i.e. apps as well as the cloud counter parts should be designed to be 
very frugal about the number of bytes sent over the wire as well as 
the number of network calls as it directly impacts the data usage and 
hence the device user. 
• Smart Battery consumption - 
For instance 
• Apps which broadcast real time user activities should smartly club 
syncs to reduce multiple device pings 
• Location and geo fence based apps should use the right strategy to 
avoid draining device battery.
Event Driven Synchronization 
Cloud-2-Device 
• On-AppStartup 
• On-AppBackground2Foreground Transition 
• On-AppSignin (if any) 
• On-Demand user action 
Device-2-Cloud 
• On-AppUITransition
Cloud-2-Device
On-Start-up - online 
• First time fetch of current Location 
• Instantiate N/W Connection receiver. (Wifi/Data) 
• “All” data if new device or “Newer” data 
deals since last sync date, if used device. 
• Clean up older disk cache records. (Cache date < 
Current date and un synchronized) 
• Any other Metadata sync or change in Business rules or 
disclaimers etc..
On-Start-up - offline 
• If new device change to offline mode and provide an option 
to retry N/W connection 
• Active fetch of current Location. 
• If used device use last synced data 
• Clean up older disk cache records. (Cache date < 
Current date and synched)
On-Sign in 
• User data later than last sync if already used device - 
Something like getting the newer emails from the server since 
last sync. Using the app in Multiple devices doesn’t affect this 
part of the sync. But it does affects the synch of user specific 
settings/ preferences. 
• User specific notifications – offers or expiry notices etc. 
Since there could be multiple devices in which user could login 
from, every device will have to maintain last sign in timestamp 
and Cloud will maintain last synchronization timestamp at levels 
desired. Every time during sign-in If these 2 time stamps vary 
then it calls for Synching all user specific settings data 
• User specific app settings and preferences
On-Sign in - offline 
• show the message and continue as guest in offline mode.
On-Demand Sync – 2 Way 
• All data listing screens shall support on-Demand sync. 
Using a pull down or swipe down gesture user can initiate sync. 
• During swipe down n/w state will be first checked before 
making the Sync call. If offline appropriate message shall be 
shown. 
Best real life example would be your Gmail app. 
Try to “star” an email and Swipe down. Your “star” should 
reflect in your server (try and open gmail in another device or 
PC) and if you had new emails that would be in your device too. 
So 2 way cloud sync.
On-Demand Sync – 2 Way 
1 
2 
3 
Rest APIs
Device-2-Cloud
On-UITransition 
• All user activities shall be stored at disk first and synced on the 
next UI based action like a UI Transition. The approach is 
disk first and asynchronous calls to cloud. The stored data shall look 
something like below. Choice of storage could be disk caches like 
SQLLite or something similar. 
Data Cache Date Sync Status 
{“test”:”data”} 2014-08-01:00:00:00 Sync Progress 
{“test”:”data”} 2014-08-01:00:00:00 Sync Complete 
{“test”:”data”} 2014-08-01:00:00:00 To be Synced
1 
2
Offline mode 
As a part of the strategy make sure all deal breaking features 
(whichever possible) are supported in offline mode for the 
success of the app. This might require some careful planning 
and some extra processing / storing required data in the 
device.

More Related Content

PPTX
Low memory footprint programs-iSeries
PPTX
An Efficient Decentralized Load Balancing Algorithm in Cloud Computing
PDF
Dimensions computation meetup
PPT
Presentation major
PDF
Results 1 Spanish City Council
PPTX
Hpc 1
PDF
EC2 Masterclass from the AWS User Group Scotland Meetup
PPTX
Chap 1(one) general introduction
Low memory footprint programs-iSeries
An Efficient Decentralized Load Balancing Algorithm in Cloud Computing
Dimensions computation meetup
Presentation major
Results 1 Spanish City Council
Hpc 1
EC2 Masterclass from the AWS User Group Scotland Meetup
Chap 1(one) general introduction

What's hot (15)

PPTX
Deployment Checkup: How to Regularly Tune Your Cloud Environment - RightScale...
PPTX
Parallel computing
PPTX
Chap 2 classification of parralel architecture and introduction to parllel p...
PPT
An efficient approach for load balancing using dynamic ab algorithm in cloud ...
PPTX
Multi objective vm placement using cloudsim
PPTX
Clone cloud
PDF
Creating order in the database patching chaos
PPTX
Hadoop Map Reduce OS
PPTX
A Comparative Study between Honeybee Foraging Behaviour Algorithm and Round ...
PPTX
Weather and Climate Visualization software
PDF
Cloud computing overview
PPT
Load Balancing In Cloud Computing newppt
PDF
Dealing With The Optimizer complexity
PPTX
Introducing MapReduce Programming Framework
PDF
GECon2017_High-volume data streaming in azure_ Aliaksandr Laisha
Deployment Checkup: How to Regularly Tune Your Cloud Environment - RightScale...
Parallel computing
Chap 2 classification of parralel architecture and introduction to parllel p...
An efficient approach for load balancing using dynamic ab algorithm in cloud ...
Multi objective vm placement using cloudsim
Clone cloud
Creating order in the database patching chaos
Hadoop Map Reduce OS
A Comparative Study between Honeybee Foraging Behaviour Algorithm and Round ...
Weather and Climate Visualization software
Cloud computing overview
Load Balancing In Cloud Computing newppt
Dealing With The Optimizer complexity
Introducing MapReduce Programming Framework
GECon2017_High-volume data streaming in azure_ Aliaksandr Laisha
Ad

Similar to Mobile cloud sync (20)

PDF
AndroidAppPPT
PDF
Mobile Saturday. Тема 2. Особенности тестирования приложения на Android: Spec...
PPTX
"Going Offline", one of the hottest mobile app trends
PPTX
Meet with Meteor
PPTX
Android Mobile Application Testing: Specific Functional, Performance, Device ...
PDF
How to Lower Android Power Consumption Without Affecting Performance
PPTX
Mobile Synchronization Patterns for Large Volumes of Data
PPTX
redpill Mobile Case Study (Salvation Army)
PDF
Doug Sillars on App Optimization
PPT
SaaS Enablement of your existing application (Cloud Slam 2010)
PDF
H017113842
PDF
An in-building multi-server cloud system based on shortest Path algorithm dep...
PPTX
Unit-I Introduction to Cloud Computing.pptx
PDF
SA UNIT I STREAMING ANALYTICS.pdf
PPTX
Cloud Computing
PDF
Making awesome apps
PPSX
Microsoft Sync Framework (part 1) ABTO Software Lecture Garntsarik
PDF
A Review And Research Towards Mobile Cloud Computing
PDF
IBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging Capabilities
PDF
A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...
AndroidAppPPT
Mobile Saturday. Тема 2. Особенности тестирования приложения на Android: Spec...
"Going Offline", one of the hottest mobile app trends
Meet with Meteor
Android Mobile Application Testing: Specific Functional, Performance, Device ...
How to Lower Android Power Consumption Without Affecting Performance
Mobile Synchronization Patterns for Large Volumes of Data
redpill Mobile Case Study (Salvation Army)
Doug Sillars on App Optimization
SaaS Enablement of your existing application (Cloud Slam 2010)
H017113842
An in-building multi-server cloud system based on shortest Path algorithm dep...
Unit-I Introduction to Cloud Computing.pptx
SA UNIT I STREAMING ANALYTICS.pdf
Cloud Computing
Making awesome apps
Microsoft Sync Framework (part 1) ABTO Software Lecture Garntsarik
A Review And Research Towards Mobile Cloud Computing
IBM IMPACT 2014 AMC-1866 Introduction to IBM Messaging Capabilities
A Scalable Network Monitoring and Bandwidth Throttling System for Cloud Compu...
Ad

Recently uploaded (20)

PDF
CloudStack 4.21: First Look Webinar slides
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPTX
Tartificialntelligence_presentation.pptx
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
STKI Israel Market Study 2025 version august
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Five Habits of High-Impact Board Members
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Unlock new opportunities with location data.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
CloudStack 4.21: First Look Webinar slides
Taming the Chaos: How to Turn Unstructured Data into Decisions
Tartificialntelligence_presentation.pptx
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
STKI Israel Market Study 2025 version august
observCloud-Native Containerability and monitoring.pptx
NewMind AI Weekly Chronicles – August ’25 Week III
Web Crawler for Trend Tracking Gen Z Insights.pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Five Habits of High-Impact Board Members
WOOl fibre morphology and structure.pdf for textiles
A review of recent deep learning applications in wood surface defect identifi...
Univ-Connecticut-ChatGPT-Presentaion.pdf
A contest of sentiment analysis: k-nearest neighbor versus neural network
Benefits of Physical activity for teenagers.pptx
Unlock new opportunities with location data.pdf
A novel scalable deep ensemble learning framework for big data classification...

Mobile cloud sync

  • 1. Synchronization Architecture for Cloud powered Mobile Apps Prithiviraj Damodaran www.ByteContinnum.com
  • 2. Major Concerns Addressed 1 of 2 From the App User and Device Resource view point the following are some of the critical factors a cloud backed mobile engineering team should consider. • Smart Disk space usage - A lot of apps including some popular social media apps abuse device disk space. Every time the apps sync with the cloud counter part they bring down fresh data. Apps should be considerate of device user and should come up with some clean-up mechanism.
  • 3. Major Concerns Addressed 2 of 2 • Smart Network usage – Be it upstream or downstream sync i.e. apps as well as the cloud counter parts should be designed to be very frugal about the number of bytes sent over the wire as well as the number of network calls as it directly impacts the data usage and hence the device user. • Smart Battery consumption - For instance • Apps which broadcast real time user activities should smartly club syncs to reduce multiple device pings • Location and geo fence based apps should use the right strategy to avoid draining device battery.
  • 4. Event Driven Synchronization Cloud-2-Device • On-AppStartup • On-AppBackground2Foreground Transition • On-AppSignin (if any) • On-Demand user action Device-2-Cloud • On-AppUITransition
  • 6. On-Start-up - online • First time fetch of current Location • Instantiate N/W Connection receiver. (Wifi/Data) • “All” data if new device or “Newer” data deals since last sync date, if used device. • Clean up older disk cache records. (Cache date < Current date and un synchronized) • Any other Metadata sync or change in Business rules or disclaimers etc..
  • 7. On-Start-up - offline • If new device change to offline mode and provide an option to retry N/W connection • Active fetch of current Location. • If used device use last synced data • Clean up older disk cache records. (Cache date < Current date and synched)
  • 8. On-Sign in • User data later than last sync if already used device - Something like getting the newer emails from the server since last sync. Using the app in Multiple devices doesn’t affect this part of the sync. But it does affects the synch of user specific settings/ preferences. • User specific notifications – offers or expiry notices etc. Since there could be multiple devices in which user could login from, every device will have to maintain last sign in timestamp and Cloud will maintain last synchronization timestamp at levels desired. Every time during sign-in If these 2 time stamps vary then it calls for Synching all user specific settings data • User specific app settings and preferences
  • 9. On-Sign in - offline • show the message and continue as guest in offline mode.
  • 10. On-Demand Sync – 2 Way • All data listing screens shall support on-Demand sync. Using a pull down or swipe down gesture user can initiate sync. • During swipe down n/w state will be first checked before making the Sync call. If offline appropriate message shall be shown. Best real life example would be your Gmail app. Try to “star” an email and Swipe down. Your “star” should reflect in your server (try and open gmail in another device or PC) and if you had new emails that would be in your device too. So 2 way cloud sync.
  • 11. On-Demand Sync – 2 Way 1 2 3 Rest APIs
  • 13. On-UITransition • All user activities shall be stored at disk first and synced on the next UI based action like a UI Transition. The approach is disk first and asynchronous calls to cloud. The stored data shall look something like below. Choice of storage could be disk caches like SQLLite or something similar. Data Cache Date Sync Status {“test”:”data”} 2014-08-01:00:00:00 Sync Progress {“test”:”data”} 2014-08-01:00:00:00 Sync Complete {“test”:”data”} 2014-08-01:00:00:00 To be Synced
  • 14. 1 2
  • 15. Offline mode As a part of the strategy make sure all deal breaking features (whichever possible) are supported in offline mode for the success of the app. This might require some careful planning and some extra processing / storing required data in the device.