Re: Coupling Plack/PSGI with mod_perl, or an alternate architecture?

2012-10-14 Thread Tatsuhiko Miyagawa
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

Re: Coupling Plack/PSGI with mod_perl, or an alternate architecture?

2012-10-14 Thread Tatsuhiko Miyagawa
nce it runs as one process on one server :) -- Tatsuhiko Miyagawa

Re: Coupling Plack/PSGI with mod_perl, or an alternate architecture?

2012-10-14 Thread 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

Re: Apache::Singleton

2003-12-17 Thread 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

Re: Testing

2003-12-11 Thread Tatsuhiko Miyagawa
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() in PerlInitHandler harmful?

2003-10-07 Thread Tatsuhiko Miyagawa
, 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,