[PJUG Javamail] [PJUG javamail] JDK 1.4 - Faster Java serialization options?

Joe Hoffman joe at intelopment.com
Mon Feb 2 21:26:55 UTC 2009


Subba,

You mention that you are playing a big penalty for JDK 1.4  
serialization.  I'm curious as to why you came to that conclusion.   
Did you perform any empirical measurements?

If you haven't already done so, it might be worthwhile to  
quantitatively measure various components of your system, including  
the network latency, volume of actual data moved, marshal/unmarshal  
time, method response time, CPU time, etc.  Then just as important is  
to perform these measurements across a stairstepped load to see which  
components don't scale as our load increases.

Perhaps you've already done this,  just curious as to what you  
measured and what you found.

thanks

joe

On Feb 2, 2009, at 11:11 AM, Subbu M Iyer wrote:

> Thanks guys. Will check the Jboss serialization option and see what
> positive difference it can make.
>
> We moved the option of Externalizable to the back burner for two
> reasons. 1. Effort involved 2. We wanted to exhaust all available
> options before taking that approach.
>
>
>
> On Mon, Feb 2, 2009 at 10:46 AM, Bill Kayser <bill at kayser.org> wrote:
>> You can do a lot to tune serialization.  Implement Externalizable  
>> where
>> possible.  Define serialversionuid everywhere you can (eclipse will  
>> do this
>> for you with a refactoring i think).
>>
>>
>> On Feb 2, 2009, at 9:37 AM, Subbu M Iyer wrote:
>>
>>> Hi all,
>>>
>>> We are exploring an external caching strategy and we are seeing that
>>> we are paying a big penalty for JDK 1.4 serialization and looking  
>>> for
>>> ways to optimize that penalty. Does any one know of faster java
>>> serialization utilities/options for JDK 1.4? Also can some one share
>>> any numbers they have comparing JDK 1.4 vs 1.5 vs 1.6 serialization
>>> improvements?
>>>
>>> thanks
>>> _______________________________________________
>>> Web Site - http://www.pjug.org/
>>> Javamail mailing list
>>> Javamail at pjug.org
>>> http://www.pjug.org/mailman/listinfo/javamail
>>
>>
> _______________________________________________
> Web Site - http://www.pjug.org/
> Javamail mailing list
> Javamail at pjug.org
> http://www.pjug.org/mailman/listinfo/javamail




More information about the Javamail mailing list