FYI-- here are some Apache::Session benchmark results. As with all
benchmarks, this may not be applicable to you.
Basically, though, the results show that you really ought to use a database
to back your session stores if you run a high-volume site.
Benchmark: This benchmark measures the time tak
> Matt Sergeant writes:
>
> CORBA::ORBit is very simple to use. I'd be very interested in
> hearing from
> anyone who has used this in a mod_perl project.
We are currently using CORBA and mod_perl for scaleable access to databases.
The setup is:
Web-server: Apache::ASP and client-side COPE.
Joshua Chamas wrote:
> If you are using CGI.pm object methods, I would worry about calling
> all those methods to build your HTML and if you are performance
> minded, I would use them frugally.
>
IIRC, CGI.pm is actually slower to run the functional syntax than the object
syntax. This is because a
[EMAIL PROTECTED] wrote:
>
> Could you please explain the differences between
> CGI Raw and CGI.pm? I'm using oo method of
> CGI.
>
> Thanks
>
> On Mon, Dec 11, 2000 at 07:56:03PM -0800, Joshua Chamas wrote:
> > Hey,
> >
> > Updated results from the other day with the Template Toolkit
> > benc
Could you please explain the differences between
CGI Raw and CGI.pm? I'm using oo method of
CGI.
Thanks
On Mon, Dec 11, 2000 at 07:56:03PM -0800, Joshua Chamas wrote:
> Hey,
>
> Updated results from the other day with the Template Toolkit
> benchmark properly optimized, thanks Perrin!
>
Hey,
Updated results from the other day with the Template Toolkit
benchmark properly optimized, thanks Perrin!
The reference for these numbers is at: http://www.chamas.com/bench
If you would like the hello test suite, please email me separately.
]# ./bench.pl -time=60
Test Name
A linguistics discussion on the mod_perl list.
Larry would be proud. =o)
Je pense, donc je sui! lol!
--- [EMAIL PROTECTED] wrote:
> > Is rebate in the sense of the word that the amount is reduced an
> American thing?
>
> Hmmm. I hadn't thought about it, but come to think of it, I think it
> is
At 01:23 PM 12/11/00 -0800, [EMAIL PROTECTED] wrote:
> > Is rebate in the sense of the word that the amount is reduced an
> American thing?
>
>Hmmm. I hadn't thought about it, but come to think of it, I think it is
>used more extensively in America. The sense it has here is more of a
>partial r
I've snipped some stuff out of both sides.
At 09:58 AM 12/11/00 +, Matthew Byng-Maddick wrote:
>On Sun, 10 Dec 2000, Gunther Birznieks wrote:
> > At 03:33 PM 12/10/00 +0100, Stas Bekman wrote:
>
> > For example, perhaps the mod_perl server and the HTML/images server should
> > be separately c
At 10:51 AM 12/11/00 -0500, Vivek Khera wrote:
> > "SB" == Stas Bekman <[EMAIL PROTECTED]> writes:
>
>SB> Do you think I should include the scenario of making Apache run in
>SB> chroot enviroment in the guide?
>
>That require quite a bit of stuff be crammed into the chroot jail.
>You'll need a
OK,
J. J. Horner writes:
>> I would be willing to donate my time to write and initially test
>> the exercises to the slides that are taught for the days. If a
>> couple people were to donate their time to writing the slides
>> based on an outline produced by Stas and Randal.
>
I will write t
I looked int he archives for this problem and, while mentioned,
not definitive solution was apparantly found. I did notice the
handler get called once, but only once: total server shutowns
and restarts don't make it get called.
I'm using Apache 1.3.12, mod
Count me in! I'll help!
Stas Bekman wrote:
> > Er. I think you mean 'rebuttal'.
> > I don't know what kind of rebate anyone's expecting from mod_perl, since it's free.
> > In fact, more people might be expecting to pay for it ;-)
>
> So you've know my secret now... my English sucks... please do
> Er. I think you mean 'rebuttal'.
> I don't know what kind of rebate anyone's expecting from mod_perl, since it's free.
> In fact, more people might be expecting to pay for it ;-)
So you've know my secret now... my English sucks... please don't tell
anybody... Now you start wondering how he [me]
On Mon, 11 Dec 2000, Richard Dice wrote:
> > It shouldn't be gigabytes -- you want to strace only special events like
> > open and read, and you want to attach to the process only before running
> > the script (run under -X) -- so you should have just a few lines!!!
> >
> > % strace -p PID -e t
> Is rebate in the sense of the word that the amount is reduced an American thing?
Hmmm. I hadn't thought about it, but come to think of it, I think it is used more
extensively in America. The sense it has here is more of a partial refund, as in "Buy
this mouse and send in the manufacturer's co
At 15:58 11/12/2000 -0500, Aaron Johnson wrote:
>Actually in some context rebate will do.
>
>One meaning of rebate is:
>Middle English rabet, from Old French rabat:
>recess in a wall, act of beating down,
>from rabattre,
>to beat down again;
>
>Is rebate in the sense of the word that the amount is
At 11:55 11/12/2000 -0500, barries wrote:
>I tested sharing fds beteen parent & child, but not dbms, and it breaks
>as expected. sysseek() in one process alters the internals of the fd,
>tripping up the other process if it happens between seek and read.
I guess that's pretty much to be expected.
Actually in some context rebate will do.
One meaning of rebate is:
Middle English rabet, from Old French rabat:
recess in a wall, act of beating down,
from rabattre,
to beat down again;
Is rebate in the sense of the word that the amount is reduced an American thing?
Aaron Johnson
[EMAIL PROTEC
J. J. Horner writes:
>> I would be willing to donate my time to write and initially test
>> the exercises to the slides that are taught for the days. If a
>> couple people were to donate their time to writing the slides
>> based on an outline produced by Stas and Randal.
>
> So would I. I'm more
Er. I think you mean 'rebuttal'.
I don't know what kind of rebate anyone's expecting from mod_perl, since it's free.
In fact, more people might be expecting to pay for it ;-)
Tom>
On Sun, Dec 10, 2000 at 06:13:13PM +0800, Gunther Birznieks wrote:
> It sounds to me like you have hit the nail on the head. Perhaps what is
> needed in terms of recouping costs for a mod_perl hands-on development
> course and/or online course is the open source/collaborative approach.
>
This s
> It shouldn't be gigabytes -- you want to strace only special events like
> open and read, and you want to attach to the process only before running
> the script (run under -X) -- so you should have just a few lines!!!
>
> % strace -p PID -e trace=open,read
I was talking about ltrace, not stra
Eran Keshet wrote:
>
> hi,
> im trying 2 call the "handler" function in Apache::asp from a perl module
> (in apache with mode_perl),
> i need 2 pass parameters 2 that function like the filename, and i tried 2
> modify the handler function accordingly,
> but i keep getting errors like " [client 10
Joshua Chamas <[EMAIL PROTECTED]> writes:
> Joe Schaefer wrote:
> >
> > IME, simple mod_perl handlers typically run around 50% as fast as
> > HTML static pages. Your hello world benchmark seems to be slightly
> > misleading in this respect, since the content-length is small
> > relative to the
That is just what I was looking for.
I just modified the $r->filename and left $r->uri untouched.
10 lines of code and I have it doing exactly what I needed and Apache::ASP reads
the correct file.
I still have the $ENV{REQUEST_URI} to check for the orginal name requested, there
by allow me to se
Joe Schaefer wrote:
>
> IME, simple mod_perl handlers typically run around 50% as fast as
> HTML static pages. Your hello world benchmark seems to be slightly
> misleading in this respect, since the content-length is small
> relative to the header size.
>
I'll send you my benchmark suite separ
On Mon, 11 Dec 2000, Richard Dice wrote:
> > Have you looked at the permissions and verified that the uid of the user
> > running apache has permissions to list the contents of the directory?
>
> It's a good suggestion, but we've been all up and down this one over
> here. (For instance, if it d
As it was said before, successfull projects are self-fueled once they get
to the press. Look at this article dated Nov 7, 2000.
http://www.WebDevelopersJournal.com/articles/why_php.html
The article starts with what seems to be a hard evidence:
"According to NetCraft surveys, PHP is now the most
> Have you looked at the permissions and verified that the uid of the user
> running apache has permissions to list the contents of the directory?
It's a good suggestion, but we've been all up and down this one over
here. (For instance, if it didn't have perms, then the opendir/readdir
commands
hi,
im trying 2 call the "handler" function in Apache::asp from a perl module
(in apache with mode_perl),
i need 2 pass parameters 2 that function like the filename, and i tried 2
modify the handler function accordingly,
but i keep getting errors like " [client 10.10.10.19] need AuthName: /Test"
,
On Mon, 11 Dec 2000, Richard Dice wrote:
> Everyone:
>
> Here's something that myself and my sysadmin guy have been working on
> for a bit: opendir appears to be broken for us on a new Apache/mod_perl
> installation.
Rich, please send in the relevant parts of the strace output, or may be
you w
> -Original Message-
> From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 11, 2000 1:27 PM
> To: Geoffrey Young
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Still bugs in Apache::Dispatch with .htaccess
>
>
>
> I'd make it as simple as possible. Make it DispatchRoot (
Everyone:
Here's something that myself and my sysadmin guy have been working on
for a bit: opendir appears to be broken for us on a new Apache/mod_perl
installation.
We've tried checking out the mailing list archives but nothing jumpped
out at us along these lines.
Any ideas from anyone? (much
On Sun, 10 Dec 2000, Gunther Birznieks wrote:
> At 03:33 PM 12/10/00 +0100, Stas Bekman wrote:
> >Do you think I should include the scenario of making Apache run in chroot
> >enviroment in the guide?
> I think chroot Apache is important especially for dynamic services.
Definitely.
> For example,
I know this is off topic, but does anyone know if the config files in
Apache support IPv6 addresses?
--
Jimi Thompson
Web Master
L3 communications
"It's the same thing we do every night, Pinky."
begin:vcard
n:Thompson;Jimi
tel;pager:877-309-2784
tel;cell:817-980-7863
tel;work:817-619-3612
x-
On Mon, 11 Dec 2000, Geoffrey Young wrote:
> >
> > OK, so how about a new directive: DispatchBase. If that is set, remove
> > that from $r->filename, and use that as the base path.
> > Otherwise use the
> > $r->location method.
>
> yeah, I thought about that too - it would involve less overhead t
> -Original Message-
> From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 11, 2000 11:57 AM
> To: Geoffrey Young
> Subject: RE: Still bugs in Apache::Dispatch with .htaccess
>
>
> On Mon, 11 Dec 2000, Geoffrey Young wrote:
>
> >
> >
> > I've started poking around.
On Mon, 11 Dec 2000, Jim Woodgate wrote:
>
> Matt Sergeant writes:
> >
> > Except that won't scale beyond 1 server...
>
> If I needed to go beyond one server in java, I would probably look at
> something like Objectspace Voyager, which is the easiest to use orb
> I've ever seen. Is there anyth
Matt Sergeant writes:
>
> Except that won't scale beyond 1 server...
If I needed to go beyond one server in java, I would probably look at
something like Objectspace Voyager, which is the easiest to use orb
I've ever seen. Is there anything similar in perl? I'd love to try it
out!
--
[EMAI
On Mon, Dec 11, 2000 at 05:08:29PM +0100, Stas Bekman wrote:
> > At 22:11 10/12/2000 +0100, Stas Bekman wrote:
> >
> > I don't know whether or not you're correct as I haven't tested this (which
> > I guess is the only way to really know :). I don't much about fd's either,
I tested sharing fds be
> At 22:11 10/12/2000 +0100, Stas Bekman wrote:
> >Am I correct to say that it's wrong to tie the dbm file in startup.pl and
> >than share it across the children?
> > [snip]
> >I think that unexpected things may happen since %My::Tied::btree has only
> >one file descriptor, and different processe
> > "SB" == Stas Bekman <[EMAIL PROTECTED]> writes:
>
> SB> Do you think I should include the scenario of making Apache run in
> SB> chroot enviroment in the guide?
>
> That require quite a bit of stuff be crammed into the chroot jail.
> You'll need an entire perl install there, wouldn't you
> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes:
SB> Do you think I should include the scenario of making Apache run in
SB> chroot enviroment in the guide?
That require quite a bit of stuff be crammed into the chroot jail.
You'll need an entire perl install there, wouldn't you? It might ma
At 22:11 10/12/2000 +0100, Stas Bekman wrote:
>Am I correct to say that it's wrong to tie the dbm file in startup.pl and
>than share it across the children?
> [snip]
>I think that unexpected things may happen since %My::Tied::btree has only
>one file descriptor, and different processes accessing
--
mod_perl digest
December 3, 2000 - December 9, 2000
--
Recent happenings in the mod_perl world...
Features
o
> -Original Message-
> From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 11, 2000 8:27 AM
> To: [EMAIL PROTECTED]
> Subject: Still bugs in Apache::Dispatch with .htaccess
>
>
> Sorry Geoff,
>
> OK, the bug now is that the _translate_uri sub expects you to
> be w
Sorry Geoff,
OK, the bug now is that the _translate_uri sub expects you to be working
with rather than .htaccess. It does this to do
s/location/prefix/, which is why it doesn't work with .htaccess.
Now first of all, there's a bit of a security risk in there - you're doing
s/$location/$prefix/.
I have just done a complete install of RedHat v7.0 which includes
Perl 5.6.0. Image Magick was running fine on my old system, but now
when I attempt to install it, it gives the following error message
when attempting to do the PerlMagick install:
./perlmain.o: In function: 'xs_init' :
./perlmain
Joshua Chamas <[EMAIL PROTECTED]> writes:
> RESULTS:
>
> [hello]# ./bench.pl -time=60
> ...
> Test Name Test FileHits/sec Total Hits Total Time Total
>Bytes
>
>
> HTML Stati
On Mon, 11 Dec 2000, Joshua Chamas wrote:
> > [EMAIL PROTECTED] wrote:
> >
> > Hello, I have a question that may have a simple answer.
> >
> > In order to satisfy some broader system dependencies I need to define my mod_perl
>process name. By default $0 seems to get set to "/dev/null".
> > Wh
Thanks to Brian Behlendorf and Jim Winstead the [EMAIL PROTECTED]
is back to normal operation.
_
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.o
> [EMAIL PROTECTED] wrote:
>
> Hello, I have a question that may have a simple answer.
>
> In order to satisfy some broader system dependencies I need to define my mod_perl
>process name. By default $0 seems to get set to "/dev/null".
> When I try to modify $0 in the Apache startup script or e
Hi Aaron,
Check out the section titled "Using a Translation Handler to Change the
URI" in Chapter 7 of the Eagle book, at
http://www.modperl.com/book/chapters/ch7.html#Using_a_Translation_Handler_to_C.
Aaron Johnson ([EMAIL PROTECTED]) said something to this effect:
> Is there a module that allo
I have just done a complete install of RedHat v7.0 which includes
Perl 5.6.0. Image Magick was running fine on my old system, but now
when I attempt to install it, it gives the following error message
when attempting to do the PerlMagick install:
./perlmain.o: In function: 'xs_init' :
./perlmai
"Alexander Farber (EED)" wrote:
>
> Hi Joshua,
>
> you sort the table at http://www.chamas.com/bench/ by Hits/s,
> but the ModPerl Handler was tested on PIII-500 x 2 and the Java
> thingies below - only PII-266.
>
> Is it an intended joke or do I misunderstand something?
>
The first page is m
Hi Joshua,
Joshua Chamas wrote:
> Note, this is the first benchmark that I've run of Apache::ASP on
> Linux, which is nice to see because Linux is one of the faster OS's,
> and it now looks bit more of a player, compared to what's listed at
> http://www.chamas.com/bench/ when I benched it on Sola
On Sun, Dec 10, 2000 at 07:26:38PM -0800, Bill Moseley wrote:
> Just how smart is the compiler?
[snip]
> use constant DEBUG_TEMPLATE => 1;
> use constant DEBUG_SESSION => 2;
> use constant DEBUG_REQUEST => 4;
> use constant DEBUG_QUERY => 8;
> use constant
Gunther Birznieks wrote:
>
> Then it seems odd that there is such a huge discrepency between CGI.pm and
> no CGI.pm. If you preload CGI.pm in startup.pl does the difference go away?
>
I did preload CGI.pm. I'll send you the hello world
suite separately since you seem curious. Note that at 500
Then it seems odd that there is such a huge discrepency between CGI.pm and
no CGI.pm. If you preload CGI.pm in startup.pl does the difference go away?
At 02:56 AM 12/11/2000 -0800, Joshua Chamas wrote:
>Gunther Birznieks wrote:
> >
> > Is CGI Raw decoding the get/post yourself? Or using the Apac
On Mon, 11 Dec 2000, Joshua Chamas wrote:
> Lastly, I was unable to get AxKit to run without segfaulting ...
http://axkit.org/faq.xml
Either you're running PHP on that server, or you have an Apache with expat
included. Do "nm /path/to/apache/bin/httpd | grep -i XML" to find out if
the latter is
Gunther Birznieks wrote:
>
> Is CGI Raw decoding the get/post yourself? Or using the Apache::args,
> Apache::Request::param mechanism?
>
In the hello world scripts, there is no get/post processing as
part of the benchmark. Here's the code that's run:
http://www.chamas.com/bench/#perlrawcgi
On Mon, 11 Dec 2000, Gunther Birznieks wrote:
> >Except that won't scale beyond 1 server...
>
> But that's the same thing with IPC shared mem modules yet people still use
> them on mod_perl for various tricks. It's still easier in Java to do that
> sort of sharing -- at least it is for me. As alw
Is CGI Raw decoding the get/post yourself? Or using the Apache::args,
Apache::Request::param mechanism?
At 02:13 AM 12/11/2000 -0800, Joshua Chamas wrote:
>Hey,
>
>I have automated a portable Hello World test suite, but its not
>CPAN ready, so if any would like to contribute, run, and comment
>
At 10:07 AM 12/11/2000 +, Matt Sergeant wrote:
>On Sun, 10 Dec 2000, Jim Woodgate wrote:
>
> >
> > [EMAIL PROTECTED] writes:
> > > You can do the twostage server if you are short on memory, speed is
> > > important and usage of active content is relatively low. Setup a
> mod_proxy
> > > an
On Sun, 10 Dec 2000, Jim Woodgate wrote:
>
> [EMAIL PROTECTED] writes:
> > You can do the twostage server if you are short on memory, speed is
> > important and usage of active content is relatively low. Setup a mod_proxy
> > and stripped down apache for port 80 and mod_perl for port 8080 for
Hey,
I have automated a portable Hello World test suite, but its not
CPAN ready, so if any would like to contribute, run, and comment
on the sources, give me a holler & I'll send them to you. What
it does is fire up a lean apache on a high port with only the
config necessary to run the benchmar
67 matches
Mail list logo