in reply to Re: AJAX to reduce server load
in thread AJAX to reduce server load
Then you'd have to make additional AJAX calls to update all the other bits that come with the entire site view (cb, messages, xp). So now you've split one request, with one overhead, into several requests, each adding their own overhead. Now factor in that you can vote for several nodes in a single request without AJAX, but you have to make a new request for each vote with AJAX and you've multiplied the server load many times over yet again.With respect, there is no reason you'd "have" to do things that way. That would be a very poor implementation. Obviously if you are going to send several AJAX requests for something that currently takes one request, you face diminishing returns. However, in my write-up, I specifically said that the voting AJAX could work just like the current interface, overriding the "Vote" button itself. This means that we have merely replaced a full page load (on submitting the vote) with a single AJAX request (on hitting the "vote" button).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: AJAX to reduce server load
by ruzam (Curate) on Mar 20, 2009 at 15:54 UTC | |
by puudeli (Pilgrim) on Mar 20, 2009 at 19:11 UTC | |
by Your Mother (Archbishop) on Mar 21, 2009 at 00:14 UTC | |
by ruzam (Curate) on Mar 21, 2009 at 03:07 UTC | |
by Your Mother (Archbishop) on Mar 21, 2009 at 04:47 UTC |