CloudServices/FirefoxMobileServices/ChannelService: Difference between revisions

Line 15: Line 15:
==Goals==
==Goals==


To develop a single multiplexed communication channel between FxOS devices and Mozilla Cloud Services.
To develop a single multiplexed communication channel between clients and Mozilla Cloud Services.


This should result in:
This should result in:


* Cleaner client-side services code in the FxOS parent process
* Client-side API for client-side code that needs to talk to a Mozilla Cloud Service
* Clean separation between the code handling the persistent connection between the device and Cloud Services
* Server-side API for Cloud Services that need to talk to a client
* Ability to easily update client-side service code without affecting complex channel code
* Cleaner code in the client that is not entangled with a specific service
* Ability to easily update the server-side code for higher client handling efficiency without changing Cloud Services code
* Cleaner client-side service code that does not need to concern itself with the channel back to Mozilla Cloud Services
* Easier updates of client-side code that is not intermixed with channel code
* Ability to update channel code for efficiency/performance/cost-savings without changing other client-side or Cloud Services server-side code


==Use Cases==
==Use Cases==
Confirmed users
192

edits