[Typo3-dev] Typo3 Application Server

Bernhard Kraft kraftb at mokka.at
Tue Jan 25 10:45:39 CET 2005


Michael Scharkow wrote:

> Dmitry Dulepov wrote:
>> About polling: chat server could send only new lines + changes in the 
>> user
>> list. It saves a lot of traffic...
> 
> 
> The issue with polling is not what the server returns (this can be 
> solved, as Bernhard did with a small dedicated server) but that the 
> client is not informed about updates and either polls the server for 
> nothing, or doesn't update fast enough if something happens on the server.

In fact I do what Dimitry explained.

I didn't want the client to poll the server in any way ...

So what I did is the server sends the client the message window in an ifram
and the browser starts rendering it ...
if you type in a message it gets processed by the chat server and sent out
to the message window... the client just notices that there is new data to
read from this socket and reads it and displays the new data ... so the
typed in message is displayed ...

thats what I understand under the term "live" or "application" server ...
not a server which serves out a site ...then closes connection and
gets a request (properly with data from the previous request so you have a
reference) again


greets,
Bernhard
-- 
Bernhard Kraft
MOKKA MEDIENAGENTUR GMBH / www.mokka.at
T: +43 1 895 33 33 50




More information about the TYPO3-dev mailing list