Re: How does one build a big chat system?
| From: | Michael Stearne | Date: | Fri, 09 Feb 2001 16:18:01 +0000 |
| Subject: | Re: How does one build a big chat system? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38967@lists.php.net to get a copy of this message | ||
> 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
> j.kisters@rosomm-partner.de
> www.rosomm-partner.de
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net