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.