Quote:
Originally Posted by CP,
This does look good, but are you sure about bandwidth? Yes it may save stress on the server but ive noticed Ajax being used like this uses mega bandwidth.
|
how can it use more bandwidth?
the response is less than 1KB, the request is even smaller. Lets say every check call is about 250bytes (thats being generous) and a successful response with an updated post is 7KB.
20 calls a min (5kb).
a page refresh is like 70kb+
...
on an active topic you really think this wouldn't save bandwidth? (its CPU intensive, that's why you have the option to control the flow. If it really is hurting your server change it up.)
(this is just an example)
without live topic:
example i go to a thread (70kb) (full page query + post generation)
i post a quick reply (10kb)
i wait 90 seconds and refresh this happens about 4 times (280kb) (full page query + post generation)
some one responds i respond to them (10kb)
i wait 90 seconds and refresh this happens about 2 times (140kb) (full page query + post generation)
total: 510kb
width live topic"
example i go to a thread (70kb) (full page query + post generation)
i post a quick reply (10kb)
i wait 90 seconds (7.5kb) (tiny queries)
i recieve a response (7.5kb) (query + post generation)
i respond (10kb)
i wait 90 seconds (7.5kb)(tiny queries)
i recieve a response (7.5kb) (query + post generation)
total: 120kb