Page MenuHomePhabricator

Show when users are online or offline in Conpherence
Open, LowPublic

Assigned To
Authored By
Jan 5 2015, 5:21 PM
Referenced Files
F261831: connection_status_v1.png
Jan 5 2015, 5:21 PM
"Like" token, awarded by tomekj2ee."Mountain of Wealth" token, awarded by johnny-bit."Like" token, awarded by qgil."Like" token, awarded by btrahan.


  • We don't have infrastructure support for this yet, until T7575.
  • Once we do, this is pretty straightforward, depending on how many options we need like "Invisible".

Original Description

We have connection information on each user, it'd be useful to show a persons status inside Conpherence (so I know if someone's around for immediate conversation). Though maybe someone would want to also be 'invisible' perhaps? Not sure what products like Slack offer.

connection_status_v1.png (612×656 px, 86 KB)

Event Timeline

chad raised the priority of this task from to Low.
chad updated the task description. (Show Details)
chad added a project: Conpherence.
chad added subscribers: chad, btrahan, epriestley and 2 others.

Where does the connection information live?

It doesn't exist and is very hard to build :)

I can contextualize this a bit, I think I had some ramblings elsewhere. Let me see if I can dig them up.

Oh, there's a bit of discussion in T5364. I think there are two ways to build the connection stuff:

  1. We can store the information in the database, and have the JX.Leader make an Ajax request every few minutes.
  2. We can store the information on the Aphlict server, and update it when Websockets connect and disconnect.

The tradeoffs of (1) are:

  • PRO: Easier to build.
  • PRO: Other applications can easily query the table if we want to do more stuff with this.
  • PRO: Information is authenticated (no figuring out if someone's online unless you can see the information).
  • CON: Slightly more expensive to scale, although not hugely so.
  • CON: Less precise, and we may miss signoffs. Making it more precise involves higher load.

And pretty much the opposite for (2):

  • PRO: Uses slightly fewer resources (we can figure out status almost-for-free on the Aphlict server).
  • PRO: More precise about when users connect/disconnect.
  • CON: Harder to build.
  • CON: Applications can't cheaply/easily query it.
  • CON: Information is not authenticated.

Overall, I think we should just hold this for a while. It does not seem hugely valuable to me. I lean toward (1), but there might be other use cases which come up which make having this available in Aphlict or in other applications an obvious win and push it one way or the other.

epriestley renamed this task from Add Connection information to Participants to Show when users are online or offline.Mar 3 2015, 11:15 AM
epriestley renamed this task from Show when users are online or offline to Show when users are online or offline in Conpherence.Mar 16 2015, 8:19 PM

Idea: Displaying Last-Seen: 5 minutes ago should already help many people and might not require you to track open connections.