Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 44960 invoked from network); 12 Nov 2009 20:22:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Nov 2009 20:22:35 -0000 Received: (qmail 24913 invoked by uid 500); 12 Nov 2009 20:22:34 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 24890 invoked by uid 500); 12 Nov 2009 20:22:34 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 24882 invoked by uid 99); 12 Nov 2009 20:22:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 20:22:34 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pharkins@gmail.com designates 209.85.221.204 as permitted sender) Received: from [209.85.221.204] (HELO mail-qy0-f204.google.com) (209.85.221.204) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 20:22:31 +0000 Received: by qyk42 with SMTP id 42so1204546qyk.28 for ; Thu, 12 Nov 2009 12:22:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=S5TRZBoeA0d7+g3PUYUjqk6gFzWVcxwKRwMX1/bICGo=; b=e2IQ3+HYvp+nJj7SdttzmfRAtbp+ZlW0LdlymZdDm399G6ic5RSHSXO0FmlyBQ54gB n6PRIdTHpii6ZVLZ4o9HKRDNTMUhTN4uRGG9Qw6MLK0XfTk1qo1wNIlru2N+ZiQ4Z73F Nf94PHPdMlxSk38x+I74cB9rLMrZVg7Md09sg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=uBBjKvLjH/Kxbg5BydVkROCW96NJMFvaEzWf9b5LJS7/l+kEa5Mj8CzjUg50PHqY4A tHo0EKWBdyfmL89fXRC+gCX4p7iqbGpEC/aNiiIN9cyvLXNsUa+oJClJhIGM/Ty2DDSy lSpC7lndV13NRWynWNTBxboRn5CmlTdlUt+so= MIME-Version: 1.0 Received: by 10.229.40.200 with SMTP id l8mr443492qce.104.1258057330791; Thu, 12 Nov 2009 12:22:10 -0800 (PST) In-Reply-To: <20091112185332.GC31986@phare.normalesup.org> References: <20091112185332.GC31986@phare.normalesup.org> Date: Thu, 12 Nov 2009 15:22:10 -0500 Message-ID: <66887a3d0911121222x57a6aadclee4e5d264accc3eb@mail.gmail.com> Subject: Re: AJAX pseudo-push From: Perrin Harkins To: Nicolas George Cc: modperl@perl.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Thu, Nov 12, 2009 at 1:53 PM, Nicolas George wrote: > There is an increasingly popular technique to emulate server-initiated push > over HTTP. I'm sure everyone here knows it well, but for the sake of > completeness: the clients sends a XMLHttpRequest to the server in the > background; the server does not answer it immediately, but keeps it for > later when there is actually something to say to the client; if the request > timeouts, the client re-sends it. I think you'd be better off using polling. There are tools for this in the popular JS frameworks. - Perrin