Joy precedes competition.

Game && Jaguareins

Better, not the best

leave a comment »

I wasn’t really happy by the design of the application, which included polling. Now I have changed the design in the sense that constant polling will still be there, but content of polling will be different. So, the client and the server both maintain time stamps for their respective objects (which client need to load as soon as it changes at the server end). Let tc be time stamp at the client side, and ts, the time stamp at the server side. During polling, if the ts==tc, there is no transfer of data from server to client. And if tcts, is undefined, and just indicates an error.

This still is not the best solution, which would be using asynchronous communication from the server to the client. Which would use technology like pubsubhubbub.

Time constraint!!!


Written by LaFolle

April 5, 2011 at 18:39

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: