We have been thinking of similar approach as well.

Have you got a chance to try this approach ?


On Monday, May 11, 2015 at 7:39:55 PM UTC+5:30, Vinay Bhinde wrote:

> I have built an app using sencha touch mobile framework and CBLite cordova 
> plugin. The app works fine with sync on iOS and Android.
>
> But the performance of app overall (smoothness, UI, ease of use) on iOS is 
> very much high then Android. It runs little bit slowly and is not as smooth 
> as the iOS counterpart.
>
> As i use cordova plugin for cblite it involves a lot of AJAX calls for 
> getting and modified data from the app. In order to improve app performance 
> on Android i was wondering if making all those CBLite ajax calls on a 
> seperate worker thread would help so that the workload on the main UI 
> thread is little less and hence it can perform UI rendering tasks with more 
> ease.
>
> Right now many things such as Dom manipulation, data processing, ajax 
> calls to cblite all occur on the main thread.
>
> I know its less of issue concerning couchbase lite but i just want a 
> general opinion from people that will moving all the network calls for 
> cblite on a seperate thread improve android performance and should i put 
> more efforts into incorporating web worker threads. Also if anyone else has 
> been using worker threads for any similiar task , i would like to know 
> their opinions.
>
> Pros and cons, tips etc will be really helpful.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/20a7b1ec-2423-455b-9c85-66dde267bd35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to