I guess you can optimize yourself by removing/compressing repeated
data.
You may return in a call all children of a certain item, this saves
repeating the "parent".
It sounds that you are going to send huge complex structures. For GWT
I would consider to request data only when they become visible.
However, some how I could not believe to compress GWT-RPC data by a
factor of 70.
This is what the starter app exchanges
POST:
5|0|6|http://gwtworld.de :8888/xt/|B3E96A978B0717279C7F8CFDC241E855|
x.client.GreetingService|greetServer|java.lang.String/2004016611|GWT
User|1|2|3|4|1|5|6|
REPLY:
//OK[1,["Hello, GWT User!<br><br>I am running jetty-6.1.x.<br><br>It
looks like you are using:<br>Mozilla/5.0 (X11; U; Linux i686; de; rv:
1.9.0.19) Gecko/2010040118 Ubuntu/8.10 (intrepid) Firefox/3.0.19"],
0,5]
Hardly to believe that any other technique will compress it by a
factor 70. (POST 2 Bytes REPLY 2 Bytes?)
Stefan Bachert
http://gwtworld.de
On 24 Mai, 14:37, Gursel Koca <gurselk...@gmail.com> wrote:
> I am using direct-eval rpc. The performance is better than the usual
> gwt-rpc mechanism especially in dev mode.
> But while I am checking the payload size with fiddler, I am
> surprised
> to notice the payload size is 70 times more than usual rpc mechanism.
>
> Serialized domain objects represents organizational hierarchy,
> therefore they do have parent child relation. I believe that this is
> the reason , why the payload is much more..
>
> Are there any planned improvement on this subject?..
>
> Thanks in advance,
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment