Data will get updated on both sides ie., admin update data on web which 
needs to be synced with mobile and vice versa. Most of the users use mobile 
application offline mode as there is no network connectivity. Once the work 
done for entire day, they will be online and starts sync the data with 
server. Then we needs to sync recent updates. The data is unique for that 
user and remaining the users wont update the data apart from admin. 

Hope this helps. Let me know if you need more info. 

On Saturday, 22 July 2017 19:58:25 UTC+5:30, Hassan Schroeder wrote:
>
> On Fri, Jul 21, 2017 at 11:20 PM, siva subrahmanyam 
> <[email protected] <javascript:>> wrote: 
>
> > I want build an Rails API which serves as backend for a mobile app. 
> Since 
> > the mobile app will be used in offline mode. Hence I want data updates 
> needs 
> > to be synced between mobile and web app. What would be the best possible 
> > solution for this kind problems? 
>
> The one that meets your requirements, which you haven't defined. 
>
> * Where is the data changing that needs to be "synced"? 
>
> * Is the synced data on the phone unique to that user or shared? 
>
> * How frequently does it change and how big are the changes? 
>
> * How critical is it if the phone goes offline with data that's 5 seconds 
> old? 5 minutes? An hour? 
>
> etc. etc. 
>
> Draw a diagram of your application data flow and work from there. 
>
> HTH! 
> -- 
> Hassan Schroeder ------------------------ [email protected] 
> <javascript:> 
> twitter: @hassan 
> Consulting Availability : Silicon Valley or remote 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/45312053-773e-4e5b-8f82-25ef327ba24f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to