Performance Problems of Object Serialization
Does not handle float and double types efficiently.
- The type cast which is implemented in the JNI, requires various time consuming operations for check-pointing and state recovery.
- float arrays invokes the above mentioned JNI routine for every single array element.
Costly encoding of type information
- For every type of serialized object, all fields of the type are described verbosely.
Object creation takes too long.
- Object output and input should be overlapped to reduce latency.