Ir al contenido principal.
Enlaces relacionados:  Press Room  Company  Clients  Contact us
Solsoft

Forum

Re: PHP limitation


Author Message
Written on: 06. 05. 2003 [22:27]
awclarke@tstt.net.tt
Arva Clarke
registered since: 31.12.1969
Posts: 0
------=_NextPart_000_002F_01C3141E.B6888300
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi
I agree with Klaus on most points
First of all 100 !!concurrent!! users is a lot!! I think you may mean
simulaneous users.
One of the things that impressed us was the speed of PHP-OpenISIS even on
really poor hardware
Our test machine was a Toshiba 2595 Celeron 400Mz with 128MB ram
We were surprised that we were easily able to support all our users 15-25
with no problem
even when we deliberately tried to stress the the machine. Remember if
transalated to SQL
these isis queries would be quite a handful
As for the performance of PHP. Please check out these slides from a
presentation
by Michael J. Radwin of Yahoo who has benchmarked PHP under "real"
(my.yahoo.com)
conditions http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm
I have attached two of his charts which may seriously question the assertion
about the scalability of PHP
Michael also has a number of other arguments in favour of PHP (easy to
learn, C extensions etc)
Also Michael seems to suggest that good performance even without treads was
one of the advantages of PHP
on Frees
Regards
Chris

----- Original Message -----
From: "Klaus Ripke" <paul@OpenIsis.org>
To: "israel cefrin" <israel@fee.tche.br>; "Php-Isis" <php@openisis.org>
Sent: Tuesday, May 06, 2003 6:08 PM
Subject: Re: PHP limitation


Hola

On Tuesday 06 May 2003 22:56, israel cefrin wrote:
> I am having a serious question on my job.
don't get me wrong -- I understand that somebody might have doubts,
every so more after some engage in the Dpt. for Fear,Uncertainty & Doubt.
However, for me this question is the opposite of serious ...

> Some guys (my co-workers) have doubts about PHP - ISIS search performance.
... because of this numbers: on select, we outperform MySQL by a factor
of 100, according to theirs own numbers, which in turn outperform
any other RDBMS.
http://openisis.org/openisis/doc/WritePerf

So, depending on actual application profile, it is pretty safe to state
that OpenIsis is at least by one order of magnitude (vulgo factor 10)
faster than the whole RDB bunch together.
That is, in single threaded mode; early test suggest, that multithreading
might add a factor of about two.
Since this is by design of ISIS databases, it should also hold for WXIS,
but I didn't take numbers.

To be (sort of) fair: the client/server-version of OpenIsis will be,
due to communications overhead and latency, not *that* fast
for any single client. However, the server will all in all have a throughput
as figured (for example, when it comes to full table scans).

> Some say even that PHP is slower when simultaneous users are more than 100
> (a hundred). Is this real ? Does someone herd about it ?
Wether PHP is slower (than what ?) is a pretty different question.
It depends highly on the given environment, like Webserver, OS
and PHP mode (multiprocess as Apache 1*/Unix module or multithreaded
with Apache 2 or FastCGI-Version).

If you really need absurd figures of throughput, a multithreaded environment
will certainly give you more (we envision a robust MT-version within about
half a year). Especially session handling is much cheaper with MT,
since sessions can be kept in RAM common to all threads.

However, a 100 simultaneous users (i.e. sessions) shouldn't be much of a
problem. At an average of one request per user/session every 20 seconds,
this is five requests per second. Even if you display a hundred records per
request (say each 1K, giving a total of 500K/sec plus html overhead),
you're going to have a bandwidth problem (you need about a 5 MBit line)
long before a CPU or disk problem.
If in doubt, add some RAM to your box, it'll do wonders for performance
with any version of PHP or other language.


so don't hesitate -- go ahead icon_wink.gif

Klaus


------=_NextPart_000_002F_01C3141E.B6888300
Content-Type: image/gif;
name="performance_requests.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="performance_requests.gif"

R0lGODlhcQHXAHcAMCH+GlNvZnR3YXJlOiBNaWNyb3NvZnQgT2ZmaWNlACH5BAEAAAAALAQABABq
Ac8AhIGBgQAAAAAAgAD//4CAgMDAwP8A////AP///wECAwECAwECAwECAwECAwECAwECAwECAwEC
AwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwT/MMhJq7046827/2Ao
jmRpnmiqckjrvnAsz3Rt33iu73zv/8CgcEgs0iTGpHLJbDqf0Kh0hpxar9isdss1VrvgsHhMLuu+
5rR6zW4P0e64fE4nw+v4vH5PvPP/gIGBfoKFhodqhIiLjI1Tio5mFVIBNZWRjZCYY1Wab5dUm4ye
ol2doBQuk6ctqQgYrROtsadfsqVupLharK+XSKzB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6pxHmFwrxl2wMOEwXWDsQmFgTaIEfmDSC81GVRHLawH/d4X+z934ZeFsC
qIEhWF84B4MduBMxCFk3WIA1SBrol34bOIL492k/mGjytzcoOGxFCDv1J305GDU5eB492FigdQa4
pjwE+GTjl33PRX6hJXtI1H3Wt4XQ931XSHrNd4aWgoZqCFJRuIbO14Zu2BYVGIddMYd0uBdweIdl
YYd6eHt52IdhwYeA2BSCCA4eYnt/aBOFWAZDeFNOQ3yLaAdfuEUJKGjiB35dCIYPEYDjZwGZgxiR
yAlCyFa8pV3JpZd+7HeK3eWEHNh7oTgvo8iK7Cc27HCK8FeJq5gQjvWK/WcSsriKSWeKyzNJfvOL
AngHiagSvFhv5bBW5ceJlxM1tZY5uugz0LNFoJiMhDiIu3eH2lgVy8iNORGO4qiI31iOhHiO6JgU
5LiOP6GO7igU7RiPtAeP9NgT83iPvmiP+ogT+diPIfGPANkRlleQBnmQCJmQHBABADs
------=_NextPart_000_002F_01C3141E.B6888300
Content-Type: image/gif;
name="performance_trans.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="performance_trans.gif"

R0lGODlhegHXAHcAMCH+GlNvZnR3YXJlOiBNaWNyb3NvZnQgT2ZmaWNlACH5BAEAAAAALAQABABz
Ac8AhIGBgQAAAAAAgICAgMDAwP8A////AP///wECAwECAwECAwECAwECAwECAwECAwECAwECAwEC
AwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwECAwP/GLrc/jDKSau9OOvN
u/9gKE5AaZrBoa5s675wLM90bd94ru987//AoDAWOBlTw6RyyWw6n9Co9FU0oqbYrHbL7XqTVSsA
+S2bz+i0+ha2ktfwuHxOB7aP9bx+z4/fT299goOEhUJ/V4aKi4yNLIglgY6TlJVrkGOWmpucW5iS
nXAOhwo2DTKgoXyfqnmlpDivry6zrYKstnO1DAcLKqe/D8GyvsHGw73FvLl0uMyib7LGxMnDSNS1
1drXKdTaz6JikeDQj2S82Mrc6IHA1tvu5GnO8me73NXeycvZ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N1LmgsslVf6tWCQYWCPPhAK2hraReEMwKDBEGDcgJcWqaEcjKEN8iE
TsZjE4iDfNUaJDiCJkgYSCgKaIZeRphLBWiFS6h2iuWDT2iGohaBKehnp5GFR6h/q+BFTfhcZQiH
JyaFOKaH2rWFDQSELphKcFhOhWB+Ayh3ByiBZXiBHqiI2eOItmaBNghzgGY8kIhYlAh+RdKFANiJ
luaJoHhDGRiKnexhiKToGaZ4iqkxiqqoGKnYiq7IirA4GK84i7Qoi7boF7VYEpOoXxpoF7tYEXg4
UL84F8FoEJKgJZGxVzrEXs2YWXMndQ9IgGpxjAPRDmhIiCNYhHT4htmIhoF4FdZYD9jojea4jZaC
gC2ohTvIY6QWgeNHFOMIFt94jqfWVOvohNyYX8lYjbgojHO3jTEnjRvRP2f3EdRoYKMgg1oxj+wX
j3LhkOsHkW8hkbnoFhZ5kf7IiRqJfhnZkWPxkSD5FSI5kltRkiYpjv+Ykhsphyw5fyj5kk8RkzKp
FDRZk0jxCcK3kzzZkz7ZkyeRAAA7

------=_NextPart_000_002F_01C3141E.B6888300--

------------------------------------------
Posted to Phorum via PhorumMail



User login

Enter your username and password here in order to log in on the website:
Login

Forgot your password?


Copyright © 2003-2009, Solsoft de Costa Rica S.A.
Declaración de privacidad