[wp-trac] [WordPress Trac] #23216: Create "WP Heartbeat" API

WordPress Trac noreply at wordpress.org
Mon Jan 21 02:57:19 UTC 2013


#23216: Create "WP Heartbeat" API
----------------------------+------------------
 Reporter:  azaozz          |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.6
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  autosave-redo   |
----------------------------+------------------

Comment (by azaozz):

 > The last part (flushing local cache on loop iteration) would mostly take
 care of it...

 You're right, it will take care of most places we "cache" in PHP but not
 of `constant` inside classes and functions. So we may still run into
 problems with our APIs. Add to that the extra server resources and long-
 polling doesn't look very appealing.

 Agree that we should do normal polling and make it easier for plugins to
 implement long polling. Speeding the "heartbeat", perhaps down to 5 sec.
 plus time taken by the XHR, would also improve the user experience/reduce
 waiting to take over a post lock by up to 10 sec.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23216#comment:29>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list