Timers synchronized over cloud based google app engine
Ok, so after thinking long and hard from my last post, I have decided to try and code my own site. Being completely new to Java I plan on asking for alot of help and advice. Hopefully you guys can help me out.
So I need to create an accurate count down timer that is uses the cloud based google app engine. There are obviously a few issues with this, the main one being that all clients are properly synced.
These are my thoughts, let me know what you guys think. As I said I am new to Java programming, so I may be well off base.
Admin page - start timer server side. This communicates the time with the datastore each second.
Client page - pulls the time from the datastore, runs a timer to check the datastore each second (using Ajax) and update the time on the page.
Just a note, the reason for checking the datastore each second, is that the count down timer has the potential of gaining time, so in order to stay properly synced it needs to continously check that data.
Any input would be much appreciated.