[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: science fair project
- From: E Nigma <enigma os2 ami com au>
- To: enigma-list redhat com
- Subject: Re: science fair project
- Date: Wed, 2 Jan 2002 06:42:29 +0800
On Tuesday 01 January 2002 22:41, you wrote:
> Hey all.
>
> Im currently working on my high school science project and am hoping
> someone can help me out. Here's the project overview:
>
> I am building a simple web application in several languages (PHP, JSP,
> Perl and ColdFusion). It takes data from MySQL, builds an HTML doument
> from it, and sends it off to Apache. The idea is to see which language
> is fastest.
>
> The problem I have is the timing. I need to get an accurate time
> between the HTTP request is sent, and the time the first HTTP response
> headers start coming back. This way I can compare the times to see
> which language adds the most execution time.
>
> Anyone have an idea how to implement this? I'm thinking a simple Perl
> script will do it, but I don't know how to go about it. Or maybe
> someone knows of another program that will do this.
If you direct your requests through a proxy server running on a different
machine than the server, then you can analyse the proxy's logs.
I suspect that the answers you get will depend in some measure on the size of
the server machine. A solution that runs worst on a stressed low-end server
may well perform best on a more generously-proportioned server.
I read a comparison of Postgresql any Mysql (not directly relevant to you,
but a good illustration). The latter performed better under light load,
producing shorter transaction times. Under load, Postgresql did better, with
more concurrent transaction and better reliability under load.
--
Please, no off-list mail
Note: mail delivered to me is deemed to be intended for me, for my
disposition.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]