> How does one build a big chat system?
>
Not in PHP :-). Really though, PHP is probably not the optimal language to
do something like that in. I would think a Java Servlet or a C program or
a Java applet (client) would be better for building something like that.
PHP was not designed to keep a long script running and running, either was
ASP, Perl or any scripting language. A Java program on the server or a
Java applet in the browser would be better suited because it is used to
running for the long periods of time that a chat program requires.
Michael
Jens Kisters wrote:
> The approaches i've so far using PHP is letting a script run (almost)
> infinitely and refresh the output every 500ms or so, but this will
> require a httpd-Process to run for every chatter, consuming several MB
> per User.
>
> Any other suggestions which will cause less server load?
>
> I don't think that refreshing the page on the clientside is a very clean
> solution, it really looks quite ugly.
> --
> Grüße aus dem schönen Kleve
> Jens Kisters
>
> +++++++ neue Anschrift +++++++
>
> rosomm et partner
> Agentur für neue Medien GmbH
> Dienstleistungszentrum am
> Weißen Tor - Eingang B
> Gocher Landstrasse 2
> 47551 Kleve / Bedburg-Hau
>
> Telefon: 02821 - 97856-20
> Telefax: 02821 - 97856-77
> [EMAIL PROTECTED]
> www.rosomm-partner.de
>
> --
> 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]