[PHP] 3 situations - PHP Power or... servlet(JSP) power ?

2001-03-15 Thread Marian Vasile

I have 3 situations and I need an answer about what is faster...

1. A PHP script that it's executed 10 times in a second, and have to update
a a MySQL table.
1. A PERL script that it's executed 10 times in a second, and have to update
a a MySQL table.
1. An servlet(JSP) script that it's executed 10 times in a second, and have
to update a MySQL table.

Marian Vasile
IT Manager
Schnecker van Wyk & Pearson
www.investments.ro


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?

2001-03-15 Thread Chris Lee

try it. everyone will get a differnet answer, the only way we could tell would be to 
write three scripts and time them, you write three scripts and time it and you will 
get different results then us.


-- 

 Chris Lee
 [EMAIL PROTECTED]



""Marian Vasile"" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have 3 situations and I need an answer about what is faster...

1. A PHP script that it's executed 10 times in a second, and have to update
a a MySQL table.
1. A PERL script that it's executed 10 times in a second, and have to update
a a MySQL table.
1. An servlet(JSP) script that it's executed 10 times in a second, and have
to update a MySQL table.

Marian Vasile
IT Manager
Schnecker van Wyk & Pearson
www.investments.ro


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?

2001-03-15 Thread Pierre-Yves Lemaire

You know I personnaly speak 3 language, French, English and Spanish.
If you ask me to write a 3 page document, I would do it in french because
I am more comfortable with it. I believe you should base your solutions on
the language you and your team is comfortable with. You will end up with
better code, code that is easier to modify and code that is probably faster
no matter what technology you use.

Pierre-Yves

- Original Message -
From: Marian Vasile <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2001 5:59 PM
Subject: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?


> I have 3 situations and I need an answer about what is faster...
>
> 1. A PHP script that it's executed 10 times in a second, and have to
update
> a a MySQL table.
> 1. A PERL script that it's executed 10 times in a second, and have to
update
> a a MySQL table.
> 1. An servlet(JSP) script that it's executed 10 times in a second, and
have
> to update a MySQL table.
>
> Marian Vasile
> IT Manager
> Schnecker van Wyk & Pearson
> www.investments.ro
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?

2001-03-15 Thread Mark Maggelet

On Thu, 15 Mar 2001 19:59:50 +0200, Marian Vasile
([EMAIL PROTECTED]) wrote:
>I have 3 situations and I need an answer about what is faster...
>
>1. A PHP script that it's executed 10 times in a second, and have to
>update
>a a MySQL table.
>1. A PERL script that it's executed 10 times in a second, and have
>to update
>a a MySQL table.
>1. An servlet(JSP) script that it's executed 10 times in a second,
>and have
>to update a MySQL table.

it depends on many things, but in general I'd say the first two are
about the same and the third is about 3-4 times slower.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?

2001-03-15 Thread Marian Vasile

I don't think that JSP is slower than PHP... really...
In fact I think JSP is a lot more faster just because JSP is compiled than
executed...

Marian Vasile
IT Manager
Schnecker van Wyk & Pearson
www.investments.ro

-Original Message-
From: Mark Maggelet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 9:11 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?


On Thu, 15 Mar 2001 19:59:50 +0200, Marian Vasile
([EMAIL PROTECTED]) wrote:
>I have 3 situations and I need an answer about what is faster...
>
>1. A PHP script that it's executed 10 times in a second, and have to
>update
>a a MySQL table.
>1. A PERL script that it's executed 10 times in a second, and have
>to update
>a a MySQL table.
>1. An servlet(JSP) script that it's executed 10 times in a second,
>and have
>to update a MySQL table.

it depends on many things, but in general I'd say the first two are
about the same and the third is about 3-4 times slower.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?

2001-03-15 Thread Michael Kimsal

Agreed.  I think that JSP in some cases would be faster because the JVM is
always running.  Really depends on the structure of the code and what's it's
doing.
The first time a JSP is run it'll compile, so it's slow, but after compilation
exists
its fine.

If you're doing database stuff, that'll probably be the bottleneck anyway.


Marian Vasile wrote:

> I don't think that JSP is slower than PHP... really...
> In fact I think JSP is a lot more faster just because JSP is compiled than
> executed...
>
> Marian Vasile
> IT Manager
> Schnecker van Wyk & Pearson
> www.investments.ro
>
> -Original Message-
> From: Mark Maggelet [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 15, 2001 9:11 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?
>
> On Thu, 15 Mar 2001 19:59:50 +0200, Marian Vasile
> ([EMAIL PROTECTED]) wrote:
> >I have 3 situations and I need an answer about what is faster...
> >
> >1. A PHP script that it's executed 10 times in a second, and have to
> >update
> >a a MySQL table.
> >1. A PERL script that it's executed 10 times in a second, and have
> >to update
> >a a MySQL table.
> >1. An servlet(JSP) script that it's executed 10 times in a second,
> >and have
> >to update a MySQL table.
>
> it depends on many things, but in general I'd say the first two are
> about the same and the third is about 3-4 times slower.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

Marian Vasile wrote:

> I don't think that JSP is slower than PHP... really...
> In fact I think JSP is a lot more faster just because JSP is compiled than
> executed...
>
> Marian Vasile
> IT Manager
> Schnecker van Wyk & Pearson
> www.investments.ro


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?

2001-03-15 Thread Mark Maggelet

On Thu, 15 Mar 2001 21:36:52 +0200, Marian Vasile ([EMAIL PROTECTED])
wrote:
>I don't think that JSP is slower than PHP... really...
>In fact I think JSP is a lot more faster just because JSP is
>compiled than
>executed...

So is php. Java has some strengths, but speed is definitely not one
of them.

>Marian Vasile
>IT Manager
>Schnecker van Wyk & Pearson
>www.investments.ro
>
>-Original Message-
>From: Mark Maggelet [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, March 15, 2001 9:11 PM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: Re: [PHP] 3 situations - PHP Power or... servlet(JSP) power
>?
>
>
>On Thu, 15 Mar 2001 19:59:50 +0200, Marian Vasile
>([EMAIL PROTECTED]) wrote:
>>I have 3 situations and I need an answer about what is faster...
>>
>>1. A PHP script that it's executed 10 times in a second, and have
to
>>update
>>a a MySQL table.
>>1. A PERL script that it's executed 10 times in a second, and have
>>to update
>>a a MySQL table.
>>1. An servlet(JSP) script that it's executed 10 times in a second,
>>and have
>>to update a MySQL table.
>
>it depends on many things, but in general I'd say the first two are
>about the same and the third is about 3-4 times slower.
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: php-list-
>[EMAIL PROTECTED]
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: php-list-
>[EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]