[buddypress-trac] [BuddyPress Trac] #5976: Addition of 'Live' notifications
buddypress-trac
noreply at wordpress.org
Fri Oct 31 18:25:57 UTC 2014
#5976: Addition of 'Live' notifications
-------------------------+-----------------------------
Reporter: style960 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Core | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+-----------------------------
Changes (by boonebgorges):
* keywords: => needs-patch
* milestone: Awaiting Review => Future Release
Comment:
I agree that this would be a pretty nice feature in terms of usability.
However, I'm very wary of putting this kind of thing into BuddyPress
itself. It has the ability to require significant amounts of additional
server resources, because WP is getting loaded many times in the
background. We already use WP's Heartbeat API to power "live" updates of
the activity stream, but that's only for a single page in the BP interface
(the Activity directory), while the notification stuff would be for every
user on every logged-in page. So, we'd need very conservative default
values for the ping interval, plus careful testing to ensure that, eg, the
heartbeats stop when the browser is out of focus.
If someone can demo this with a patch that addresses some of the above,
I'd be happy to take a further look.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5976#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list