Richard Lynch wrote:
> At 31:3 ratio, it's almost for sure NOT the fault of 3-tier
> architecture nor the OR-mapper.
>
> Or, if it is, it's because you've chosen a HORRIBLE 3-tier
> architecture or a RIDICULOUS OR-mapper.
>
> My *first* *first* *first* SWAG is that you've got something very very
Stanislav Malyshev wrote:
>> OK, I installed FCGI and ran my testsuite. I did get more requests in a
>> timeperiod of 5 minutes, but unfortunatly I also got a lot of errors
>> (HTTP 500). But the performance of successful pages was increased by
>> almost 15%.
>
> Maybe you need to configure FastC
Richard Lynch wrote:
> On Wed, April 25, 2007 5:48 am, Henning Eiben wrote:
>> But as far as I understand, java kinda does the same thing, doesn't
>> it?
>
> Sort of, but not really...
>
> Java has a single central one giant process architecture.
>
>
Richard Lynch wrote:
Are there multiple threads spawned?
>>> Depends on server API. ISAPI does, fastCGi doesn't.
>> OK; so for serving multiple concurrent clients ISAPI would sound to me
>> like the better choice, since it can use threads, or what would be the
>> advantage of using fastcgi?
>
Stanislav Malyshev wrote:
>> OK, so I will give that a try. As far as I understand, I basically just
>> have to replace the association of ".php" to "php5isapi.dll" with
>> "php-cgi.exe"; and then set the global path to include my php-folder,
>> right?
>
> No, that probably would make it CGI, whi
Stanislav Malyshev wrote:
>> OK; so for serving multiple concurrent clients ISAPI would sound to me
>> like the better choice, since it can use threads, or what would be the
>> advantage of using fastcgi?
>
> Non-threaded PHP is faster than threaded PHP, because it doesn't need to
> do locks betw
Tijnema ! wrote:
>> I have a small sample-application, that uses smarty for the presentation
>> layer. Unfortunately I might encounter script-timeouts (not necessarily
>> from smarty, could also be the DB-connection or something). In this case
>> I would like to return an appropriate HTTP status-c
Stanislav Malyshev wrote:
>> But as far as I understand, java kinda does the same thing, doesn't it?
>> Java programs are being compiled into some intermediate language, and
>> this is being interpreted at runtime. So using an accelerator should
>> mimic the same setup for php.
>
> Java is much l
Zoltán Németh wrote:
I wrote a small sample-application once using PHP (with propel and
smarty) and once using Java (JBoss, EJB3, JSP & Servlets). Both apps are
being served from a windows server (2x Xeon 1,3GHz, 2 GB RAM), but the
performance of the PHP version is much slower
Richard Davey wrote:
>> Running my test for about 5 minutes, I get about 31.000 request for the
>> java application, but only about 3.000 for the php.
>
> No offence, but the problem is almost 100% certainly in your PHP code
> then. I'd look very carefully at what is going on there before trying
Zoltán Németh wrote:
I already installed an php-accelerator (eAccelator) which increased the
overall performance, but still the performance is quite poor.
>>> I would not say php performace is poor, I think it is quite fast (at
>>> least on my linux boxes, I know nothing about php on win
Zoltán Németh schrieb:
>> I wrote a small sample-application once using PHP (with propel and
>> smarty) and once using Java (JBoss, EJB3, JSP & Servlets). Both apps are
>> being served from a windows server (2x Xeon 1,3GHz, 2 GB RAM), but the
>> performance of the PHP version is much slower than t
Hi,
I wrote a small sample-application once using PHP (with propel and
smarty) and once using Java (JBoss, EJB3, JSP & Servlets). Both apps are
being served from a windows server (2x Xeon 1,3GHz, 2 GB RAM), but the
performance of the PHP version is much slower than the Java version.
I already ins
Hi,
I have a small sample-application, that uses smarty for the presentation
layer. Unfortunately I might encounter script-timeouts (not necessarily
from smarty, could also be the DB-connection or something). In this case
I would like to return an appropriate HTTP status-code (might be 500 or
some
14 matches
Mail list logo