|
Posted by F Laupretre on 03/02/06 01:33
Le Wed, 01 Mar 2006 21:48:03 +0100, Jan <janoleolsen@hotmail.com> a écrit:
> We expect about 570 new visitors every minute on our web page, 17 of
> these will press the submit button to invoke the PHP.
>
> Would you expect the performance hit to noticeable at this volume, this
> we should consider a cgi-bin perl instead of PHP. Perl is never invoked
> unless submit is pressed.
>
> We would also like to store the referrer in a cookie when someone
> enters the page, this could be done with PHP. Maybe javascript is
> quicker?
>
If you plan building a site with 400000 hits per day, may I suggest you to
start reading some documentation about the underlying principles and
architecture of web programming. Just to know how PHP, Javascript, cookies
and, why not, cgi/perl, work in this kind of environment.
Just to answer your question about perl : it won't be faster with perl
than with PHP.
And, for your information, NEVER ask a PHP programmer if it wouldn't be
faster to use a Perl script ;-)
François
Navigation:
[Reply to this message]
|