I have a fat client application that sends data via serialized objects to a WebSphere 7.0 server, which then gets or sets data to a DB2 box via stored procedure calls. The database end is quick as it's only really dealing with the raw data. Even our biggest query, thanks to indexing, can take less then 2 seconds to run. At peek times, in a 15 minute window, our WebSphere box can output 1GB of data to clients while only receiving 25MB from the DB, a shocking difference.
We store the data inside objects that can be inside other objects that can be inside other objects, based on the logical design of model we are building (ex. 1 house object can contain x number of chair objects that can contain x number of lint objects, etc. basic stuff) We use Java's standard serialization to transport our data back and forth to the server. As our app grows, this is already starting to become a performance headache for our users when dealing with large amounts of objects in one transaction (passing a house with all chairs included).
I'm wondering what's the best option for serialization. I was looking into JBoss Serialization and was wondering if that would work with WebSphere and if so, how much of a mod it would be as RAD/WebSphere builds my server side Stubs for me. In the end, I'm just looking for a faster way to transport objects back and forth from client desktops to the WebSphere server as I know how verbose Java's standard serialization can be.
What would you suggest? Thanks for your time.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2012-01-20T06:34:02Z by evantanski
Pinned topic Java Serialization - What's Best/Faster?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-01-20T06:34:02Z at 2012-01-20T06:34:02Z by evantanski
evantanski 270004YR8Y6 PostsACCEPTED ANSWER
Re: Java Serialization - What's Best/Faster?2012-01-20T06:34:02Z in response to ethansmithI have found the Serialization functionality in hadoop to be very per formant compared to java itself, and while it isn't the best, but if it provides enough performance, I would think its best to keep dependencies low.