FastSerilizer for Java
What is it?
Java serialization is fast? Well thats what I kept reading but I found it to be untrue. Putting that to the test it shows that Java serialization is not fast at all. Its many things but performance is not its greatest achievement.
I needed something that was lightning fast but I dis not need something with all the bells and whilst that the Java serilizer has (Most I admit I don't even understand the practice application of anyway)
The 1st alpha version of this serializer gets performance in the 10% of the time it takes for the native serilizer. Granted there is a lot of work to do in terms of possible object flexibility.
Who needs it?
Well if you need to turn objects into byte array very fast and don't mind having to have exactly the same objects on both sides of you application then this will work well for you. This does not work with streams but nothing stops you from writing the byte array out to a stream or reading it from one. However preserving the original object byte array size will be your responsibility.
Results
The 1st Alpha version results are as follows.
Basic test has Succeeded
Serialization Performance ----
Fast=4562
Java=40469
Fast/Java%=11
Deserialization Performance --
Fast=6422
Java=46328
Fast/Java%=13
Data Size comparison --------
Fast Size=3688
Java Size=5477
Fast/Java Size %=67
Road Map.
A real web page :p
Well firstly I need to write a great many more unit tests for this project. Fact is its the testing thats times consuming and the smallest change to the way the bytes are managed could result in any manner of data errors.