WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #23216, comment 24


Ignore:
Timestamp:
01/20/13 23:22:43 (15 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23216, comment 24

    v2 v3  
    22> Rather than a strict 15 seconds, maybe Wordpress should send back a value specifying a suggested time for the client to wait until the next 'beat'... 
    33 
    4 Yes, was thinking/testing something similar. Perhaps we can throttle the beat when user B performs an action that would need response from user A like opening a post that is already being edited by user A, etc. 
     4Yes, was thinking/testing something similar. Perhaps we can speed up the beat when user B performs an action that would need response from user A like opening a post that is already being edited by user A, etc. 
    55 
    66We can add support for this on both sides, PHP and JS. 
     
    4343'''Hybrid''' 
    4444 
    45 Start with polling and switch to long-polling when needed instead of throttling (as described above). This still needs some time to switch both user A and user B to long-polling, but preforms better after that. 
     45Start with polling and switch to long-polling when needed instead of reduced interval (as described above). This still needs some time to switch both user A and user B to long-polling, but preforms better after that.