[Catalyst] long poll AJAX
Mesdaq, Ali
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.
Thanks,
ALI MESDAQ
Sr. Security Researcher
WEBSENSE, INC.
ph: +1.858.320.9466
fax: +1.858.784.4466
www.websense.com
Websense TRITONT
For Essential Information ProtectionT
Web Security | Data Security | Email Security
-----Original Message-----
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
Larry,
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.
>
>
> HTH,
> Larry
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
_______________________________________________
List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
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
mailing list