[wp-trac] [WordPress Trac] #23216: Create "WP Heartbeat" API
WordPress Trac
noreply at wordpress.org
Wed Jan 16 21:28:47 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: |
----------------------------+------------------
Comment (by bobbravo2):
Replying to [comment:3 rmccue]:
> Replying to [comment:2 nacin]:
> > WebSockets use port 80, so it would simply be a matter for us to code
it.
> >
> > PHP 5.3 examples: https://github.com/nicokaiser/php-websocket and
http://socketo.me/
>
> These need to be long-running processes (they're essentially separate
servers on that socket), which may get killed by services internally.
Long-polling (as per azaozz's suggestion) is a better idea given the
variability of servers.
I agree - and most Webhosts will kill any process around 180 seconds.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23216#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list