On Friday, March 1, 2013 3:41:54 PM UTC+1, salk31 wrote:
We have been using the DefaultRequestTransport implementation but now we want features like:* Retry after seeming network or server error (exponential back off )* Different queues with throttling, priority etc
I wonder how that could work: how would you select a particular queue?
* Detect auth failure, prompt for re-auth, retry
See https://github.com/tbroyer/gwt-maven-archetypes/blob/master/guice-rf-activities/src/main/resources/archetype-resources/__rootArtifactId__-client/src/main/java/AuthAwareRequestTransport.java for this specific aspect.
* Expose state of the request transport, requests pending etc to drive progress indicators...This all seems like quite standard stuff? GMail does most or not all of this.Anyone know of some existing code we could use?
GMail uses Closure Library's BrowserChannel which handles network errors with retries. For the authentication part, I have no idea though. They don't seem to use different queues.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment