[Catalyst] long poll AJAX
amesdaq at websense.com
Tue Jun 7 22:56:49 GMT 2011
Aha! My configuration was on Apache so that's why I wasn't seeing the same behavior. Good to know the --fork option I always assumed it was forking.
Sr. Security Researcher
For Essential Information ProtectionT
Web Security | Data Security | Email Security
From: jeff robinson [mailto:jeffreyianrobinson at gmail.com]
Sent: Tuesday, June 07, 2011 1:40 PM
To: The elegant MVC web framework
Subject: Re: [Catalyst] long poll AJAX
You're a genius! That was it.
Thanks so much - J
On Tue, Jun 7, 2011 at 4:23 PM, Larry Leszczynski <larryl at emailplus.org> wrote:
> Hi Jeff -
>> The problem seems to be a bottleneck in Catalyst, because as soon as
>> the long poll completes all of the waiting status requests complete
>> instantly as well. I had imagined that the threading on Catalyst
>> would support the functionality I'm looking for.
> Just a guess... By any chance are you launching Catalyst by running
> the myapp_server.pl script? By default it starts up in
> single-threaded mode. You would need to add the "--fork" option to to
> make it fork a new process for each request.
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
List: Catalyst at lists.scsys.co.uk
Searchable archive: http://firstname.lastname@example.org/
Dev site: http://dev.catalyst.perl.org/
To report this as spam, please forward to spam at websense.com. Thank you.
Protected by Websense Hosted Email Security -- www.websense.com
More information about the Catalyst