Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^4: AJAX-based

by gregor42 (Parson)
on Dec 12, 2005 at 14:20 UTC ( #516022=note: print w/replies, xml ) Need Help??

in reply to Re^3: AJAX-based
in thread AJAX-based

The chatterbox will never be Ajax-based for two reasons. First, does not allow "chat servers" in its terms of use. The CB already is on the very border of that in my opionion

This is especially true of the Java based CB client.

Second, the server load would multiply if every page that a browser has open on Perlmonks would reload all the time.

Since JavaScript can span a user session & not only a window - there's no reason to open more than one connection per user session. However it would still be the rough equivalent of everyone running the Java client. And that certainly would increase the load. It could be throttled however to a slow refresh rate. I suppose it's all a matter of a breakeven point of performance vs. load. Clearly this isn't a big win scenario either way.

Voting however, could certainly be implemented using AJAX. That could significantly reduce load especially on long threads, since the only data you'd be requesting back would be related to voting, rather than resending all of the content.

Wait! This isn't a Parachute, this is a Backpack!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://516022]
[karlgoethebier]: Listen to Glenn: https://www. v=SiiVK3rMxxg
[karlgoethebier]: marioroy: If you provide an email address i'll send you the full script of TNOG...
[karlgoethebier]: marioroy: Checkout also "Linear Expressions" by the same author...
[marioroy]: thanks karlgoethebier.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (15)
As of 2017-03-24 10:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (298 votes). Check out past polls.