Gaia/Architecture Proposal: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 423: Line 423:


[[File:Gaia Architecture Proposal MultiApp MultiProcess MultiThread.png|600px]]
[[File:Gaia Architecture Proposal MultiApp MultiProcess MultiThread.png|600px]]
= FAQ =
== Given that we are moving from a packaged to a hosted apps model, it seems that we will be consuming more data from the network ==
Not at all. With service workers we will have the chance to dynamically cache application resources for offline usage, so once these caches are populated all the requests to fetch app resources will consume the local offline content instead of going to the network, just like it happens with packaged apps. For preinstalled apps we can do an initial population of these caches just like we did with AppCache in the early days of Gaia and so there won't be any data consumption for the initial population of the offline cache. We will have the same scenario as we have with packaged apps in this case.
Moreover, the current proposal enables us to implement a more clever updates strategy that should mean less network consumption for application updates. If we can download only the resources or even the resource diffs that changed in the server instead of downloading the whole set of application resources on each update like we currently do with packaged apps, we will be consuming far less data from the network and so the cost of updates should be drastically reduced.
Confirmed users
483

edits

Navigation menu