Google Groups Home
Help | Sign in
Message from discussion Optimizing RPC: directly-eval'able server responses
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Rob Jellinghaus  
View profile
 More options Jun 6 2007, 2:12 pm
From: Rob Jellinghaus <rjellingh...@gmail.com>
Date: Wed, 06 Jun 2007 18:12:13 -0000
Local: Wed, Jun 6 2007 2:12 pm
Subject: Optimizing RPC: directly-eval'able server responses
[Sorry if this gets duped; got 502 error from Groups posting UI....]

>From the Gears/GWT thread, Scott said:

"BTW: The reason the server couldn't simply send the client a
directly-evalable string is that the server doesn't know the
obfuscated
symbol names of the various fields and constructors.  If the server
DID know
those symbols, we could probably make deserialization an order of
magnitude
faster.  But that's a separate discussion. :)"

This thread is that separate discussion!

Why can't the server know the obfuscated symbols on the client?  Is it
to prevent the server from having to be aware of what client-side
compilation mode was used?  Could there be some kind of dictionary
that the GWT generator builds, that could be put on the server's
classpath as a resource, and loaded (if present) to enable server-side
direct-eval response construction?

The key questions are:
1) is this breaking some important information hiding that you want to
maintain over the wire?
2) how large would the performance increase actually be?
3) is this moving in the direction of something like a generic JSON-
ish wire format that would let the server part of GWT RPC be used by
NON-GWT clients?????????

Cheers!
Rob


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google