[Catalyst] long poll AJAX
Larry Leszczynski
larryl at emailplus.org
Tue Jun 7 20:23:33 GMT 2011
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
More information about the Catalyst
mailing list