My Photo

Become a Fan

DailyMile

Google Ad Skyscraper

« AJAX and its impact on servers | Main | Coding wait in Java correctly »

April 19, 2006

Comments

Josh Peters

I think this post is a bit more realistic than yesterday's :)

In the end though, it's really nothing new: unless you understand a technology you cannot expect to weild it well.

AJAX opens the doors to new and useful applications (Google Suggest still rocks my socks) but unless the developers of such applications understand the impact of their toolkits they potentially waste resources.

Consider if Google Suggest and Google Video Search married into some new "Google Smart Video Search". Every stroke of a key in the search box could return dozens of Flash objects. Such an application could potentially be really useful, but at the cost of a great number of computing resources.

You hit the nail on the head that effective caching needs to take place, but this isn't any new advice either--large applications utilize caching, plain and simple.

Billy

Thanks for the kind words, Josh :)

Well, I got asked yesterday to back it up hence this one. I think you've hit a homer with the caching statement. Advanced caching is going to be a must for this and typically, the built in caches in application servers are not going to work, especially in rich media cases as you mentioned in your comment. Caches need to be able to scale to hold many Gb's or more of data. Of course, I'm pushing ObjectGrid as that fabric but all players will benefit as AJAX is increasingly adopted.

Archimedes Trajano

I wrote up a possible pattern for Ajax development on my blog to use a JMS queue to allow for horizontal scalability.

However, to reduce the burden on application servers, it might be best to redirect Ajax queries against a separate server rather than the main one, so you don't overload the main server.

To solve the issue of lots of small data retrieval, the javascript can retrieve more than one event in one request from the queue.

The comments to this entry are closed.