Re: Hessian Serialization Performance...

From: Radu-Adrian Popescu <radu.popescu@xxx.com>
Date: Mon May 02 2005 - 23:03:29 PDT

You might want to include CORBA in your tests.
The thing with CORBA is that both end-points:
- share knowledge on the object definition (since they share the IDL)
- marshall objects using generated code instead of reflection
I'm quite sure that this approach will lead to gains in performance, if
not size as well.

Another completely different idea is to enable HTTP compression in your
webserver in your current Hessian tests.
I'm not sure which HTTP Java clients are capable of reading compressed
HTTP streams though, but if you can implement it you'll see high
compression rates. We've done this in the C++ Hessian implementation,
using a custom Hessian version on the server (with GZIPOutputStream) and
zlib on the client, and we're also using Apache HTTP compression for the
Flash clients, which is achieved transparently (since Flash uses the
browser to send/receive HTTP, and Apache's mod_proxy routes calls to the
Hessian service endpoints).

Regards,

-- 
Radu-Adrian Popescu
CSA, DBA, Developer
Aldrapay MD
Aldratech Ltd.
+40213212243
Received on Mon 02 May 2005 23:03:29 -0700

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:41 PDT