Closed Bug 1083408 Opened 10 years ago Closed 5 years ago

[tracker] Create Presence architecture and API

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mythmon, Unassigned)

References

Details

This is going to be hard to fit in to our architecture. Our options include a websocket connect that can be live updated with presence information. Another option is to have the clients ping a heartbeat endpoint that they are still around. Other clients could then make short polls check who is around. We could also use long polls to push data to live clients.

Short polling is probably the easiest, but also the most resource intensive. Long polling might work in our current setup, and would be cheaper than short polling. Websockets would be really nice developer wise (in my opinion), but I don't know if our infrastructure can deal with that.

Another option would be to stand up a second service optimized for this kind of two-way commnunication. I bet it would be based on Twisted or Node.js, not Django, because those technologies deal better with many open connections.

This is hard. This will probably be done later in the development, and might not make it for technical reasons. This will involve lots of interaction between SUMOdev and IT, and between SUMOdev and the Buddyup App developers.
Blocks: 1061591
Blocks: 1061594
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.