javaserializationoracle-coherence

POF vs Java serialization for Oracle Coherence


I understand that POF is needed if you are using C++ and .Net clients. However, what are the factors that can help decide whether to use POF for Java clients using Oracle Coherence cache?

As per the Oracle documentation, POF gives performance benefit over default java serialization. So, why don't all applications using Coherence go for POF instead of Java serialization?


Solution

  • From my understanding:

    Java serialisation

    POF serialisation

    Also, you could look at the various serialisation schemas: JSON, XML, Protocol Buffers, Avro, Thrift, etc. In longer term, they may offer these advantages: