Friday, November 14, 2014

Re: Creation of multiple RPC services and performance

Also that article is just talking about hosted mode, not production mode.

On Thursday, November 13, 2014 6:28:03 PM UTC-5, Juan Pablo Gardella wrote:
This article is very old. I don't if it's still valid.

On 13 November 2014 20:00, BM <bhusha...@gmail.com> wrote:
Thanks Luke. This article explains the performance hit on every GWT.create which is an expensive operation. Unless I am misunderstanding something that was my initial impression was hence to create GWT.create more singleton.


Please advise further.


On Thursday, November 13, 2014 3:29:02 PM UTC-6, Luke Last wrote:
The performance hit comes from actually performing the RPC request between client and server. Instantiating the service with GWT.create doesn't cost anything compared to that. So combining your RPC requests or making them in parallel will give better performance, but the number of RPC services that exist in your code doesn't matter.


On Thursday, November 13, 2014 4:16:49 PM UTC-5, BM wrote:
Is it okay to have any number of RPC services in a GWT project or does that affect performance?

Considering I use GWT Activities & Places, each RPC call is instantiated using deferred binding GWT.create and I am not sure how expensive that operation is?

I am trying to organized my project and wanting to seek help to understand, if does it matter to have any number of RPC services in a project or should be conglomerate methods into certain fix RPC service and increas performance?

Please advise. Any insight would be helpful.


--
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-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
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