On Mon, 4 Oct 1999, Joshua Chamas wrote:
Hello, Joshua!
> Sergey,
>
> You can crank up Apache::ASP's speed by setting StateDir to somehting
> like /tmp/asp, or setting NoState to 1.
StateDir was /tmp/www_samara_ru NoState was 1, I dont need Application and
Session objects.
> Please check out http://www.nodeworks.com/asp/tuning.html
I checked out it more than twice :)
> When well tuned, Apache::ASP scripts will still be
> slower than tuned Embperl & modperl, but not as much as
> shown in your testing.
>
Performance was a 7 req per sec... :( While clean perl - 24.
> For other benchmarks, check out:
> http://www.chamas.com/hello_world.html
>
> -- Joshua
> _________________________________________________________________
> Joshua Chamas Chamas Enterprises Inc.
> NODEWORKS >> free web link monitoring Huntington Beach, CA USA
> http://www.nodeworks.com 1-562-683-2142
>
> BeerBong wrote:
> >
> > Huh, another test
> >
> > test.epl
> > ----------------------------------------------
> > <html>
> > <title>DBTest</title>
> > <body>
> > <pre>
> > [-
> > use DBI;
> >
> > $dbh = DBI->connect("DBI:Oracle:SIMain","test","test");
> > $sth = $dbh->prepare("select login,fio from test where login like ?");
> > $sth->bind_param(1,"Be%");
> > $sth->execute;
> > $sth->bind_columns(\$login,\$fio);
> > local $^W=0;
> > $escmode =0;
> > -]
> > [$ while ($sth->fetchrow_arrayref) $]
> > [+ $login +] - [+ $fio +]
> > [$ endwhile $]
> > </pre>
> > </body>
> > </html>
> > ----------------------------------------------
> > ./ab -n 1000 -c 10 http://apache/test.epl
> > 19 Requests per second...
> > PHP3 and mod_perl script with DBD::Oracle - 24 Requests per second
> > And I still don't know why PHP3 has the same speed as DBD::Oracle, DBI is
> > neccessary layer, and PHP hasn't it and directly calls to OCI. I guess if
> > Tim Bunce rewrite PHP it will be safer and faster :)
> > Apache::ASP - 7 Requests per second, but Apache::ASP was installed and works
> > without any troubles, EmbPerl has them... I still dont know why error log
> > doesnt work, though it is not neccessary feature, and why my
> > PerlPostReadRequestHandler stops the rewriting Remote IP :(
> > ----------------------------------------------
> > Sergey Polyakov (BeerBong)
> > Chief of Web Lab (http://www.mustdie.ru/~beerbong)
>