In this case we are using Ember for a mobile app. The number of devices the app is installed on is fixed (8). The problems is with synchronizing data between the devices. Every device stores data to a remote data source (REST API). And it has a refresh button to fetch new data from the remote data source (generated by the other devices). This data is pushed directly into the local data store (in our case localforage). Then we reload the models. Of course, only the models that could have been changed are reloaded.
This works quite well when number of models is reasonbly low (< 300). However, when the number of models increase, the refresh process takes too long. More specifically: reloading say 1000 models is too heavy, even for my browser. When I start console logging, I can see that the observers (.observe and .property) for those models are fired too often. They should be fired once, after the complete reload process is finished.
The above indicates that reloading each model might not be the correct solution. Does anyone have experience with situation? Does anyone have any suggestions how to improve to performance of the refresh process?
System: Ember 1.7, Ember Data 1.0beta11, using ember-localforage-adapter