CloudServices/FirefoxMobileServices/ChannelService
Overview
Channel Service is a service for Mozilla Cloud Services that need to communicate with a Firefox OS client-side component.
Project Contacts
Principal Point of Contact (US) - Ben Bangert bbangert@mozilla.com
Principal Point of Contact (EU) - Tarek Ziade tziade@mozilla.com
Goals
To develop a single multiplexed communication channel between FxOS devices and Mozilla Cloud Services.
This should result in:
- Cleaner client-side services code in the FxOS parent process
- Clean separation between the code handling the persistent connection between the device and Cloud Services
- Ability to easily update client-side service code without affecting complex channel code
- Ability to easily update the server-side code for higher client handling efficiency without changing Cloud Services code
Use Cases
Push
The first candidate for using the ChannelService is Push, which is already on FxOS. At the moment the code handling the socket connection is mixed in with the code handling the DOM API's for Push. By splitting the channel out, future Push updates could be easier to land in the client.
Presence
The Presence project would benefit from having an easier client-side API to use for talking over a single shared channel.
Requirements
- Client-side JSM developer familiar with Push's implementation that can split out the socket handling portion
- Client-side JSM developer to implement the new client-side API to talk to the channel
- Server-side dev's to implement the new Mozilla server-side portion
Design
Platform Requirements
What are the things this needs (OS, language, databases, etc.)?
Libraries Required
List of external project dependencies. (Stuff that's not pulled in via the installation script)
Code Repository
Links to the published code bases
Release Schedule
Predicted code delivery dates
QA
Points of Contact
Engineer - Name contact@info
Test Framework
Security and Privacy
Fill out the security & privacy bug template: https://bugzilla.mozilla.org/form.moz-project-review (https://wiki.mozilla.org/Websites/Kick-Off_Form)
For security reviews, there's: https://wiki.mozilla.org/Security/ReviewProcess
Points of Contact
Questionnaire Answers
1.1 Goal of Feature
2. Potential Threat Vectors and Mitigation Points
Review Status
Bugzilla Tracking # - see https://wiki.mozilla.org/Security/Reviews
Issues and Resolutions
Legal
Points of Contact
Operations
Points of Contact
Deployment Architecture
Bugzilla Tracking # -