I am using .NET C# on the server side and GWT on the client and the
data is interchange using JSON. I am currently going through some
optimisation to improve efficiency. Among other measures (code
splitting, shrinking parameter and property names etc), I have noticed
that the JSON transported back and forth contains many guids (from 10
to 100 GUIDs based on individual request) which inflates the size of
the JSON. That is because my database uses GUIDs as PKs and I have got
about 200 tables.
Now I am looking for a way to shrink the GUIDs losslessly or compress/
encode them to a smaller string. Another idea is to have an auto
increment column in each table and use that integer to be sent to the
browser instead of the GUID. However I realise that there would be a
processing overhead involved for encoding/decoding/comp/decomp on the
server for this.
Can you please comment on the above methods and if anyone has any
better ideas please do suggest. thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to