i would use nginx but lighttpd or apache (mod_proxy), squid, varnish,
anything would do.
On Sun, Oct 14, 2012 at 12:31 PM, Andreas Mock wrote:
> Hi Tatsuhiko,
>
> which proxy do you use in front?
>
> Best regards
> McA
>
>
> -Ursprüngliche Nachricht
nce it runs as one process
on one server :)
--
Tatsuhiko Miyagawa
behind proxy otherwise
your precious worker process is bound to slow networked clients, and
gets even worse if you run Starman with keepalive support (which you
can turn off with the options).
--
Tatsuhiko Miyagawa
# do initialization for config vars
bless { ... }, $class; # should return blessed object
}
package main;
my $config = My::Config->instance;
That'd be a *complete* sample to work.
--
Tatsuhiko Miyagawa
--
Reporting bugs: http://perl.apache.org/bugs/
Mail
bject into
necessary parts.
my $app = Your::App->new();
local *Your::App::get_cookie= sub { return "f" };
local *Your::App::request_param = sub { return "barrr" };
my $out;
local *Your::App::output_context = sub { $out = $_[1] };
# run it
$app->run();
#
, register_cleanup breakage. (e.g. Apache::Request's param()
method returns same value ignoring QUERY_STRING, once compiled.)
Apache::Profiler is here:
http://search.cpan.org/~miyagawa/Apache-Profiler-0.01/
(Don't try this on production environment, it's broken)
Any helps appreciated.
Thanks,