Sunday, August 17, 2014

Request factory performance much worse than RPC

Resently I noticed some performance issues with my request factory application. I did some research and some debugging, but could not find any flaws in my application.

Then I created a simple test application to compare the performance of GWT and request factory to be sure I have a very simple application and no other components that could have an influence on the performance. And this test application shows same result: Data retrieval via request factory seems to much slower than RPC. The retrieval of 100 very simple objects takes with RPC ~200ms, with request factory ~700ms (Locally the difference is even much bigger).

I uploaded the code to github: https://github.com/jan10101/requstFactoryVSRPC

And deployed the application to app engine so it can be testet: http://requestfactorytest.appspot.com/

I also experimented with several approaches to increase the performance like overriding "ServiceLayerDecorator.isLive()" but could not archieve ansignificant improvement.

Is the performance of request factory a known issue? Am I the first one noticing this? Is there a way to improve the performance? Or du I just need to use RPC to get the best performance?

--
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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment