This topic provides links to documentation about data serialization in VMware Tanzu GemFire.
Data that you manage in Tanzu GemFire must be serialized and deserialized for storage and transmittal between processes. You can choose among several options for data serialization.
Overview of Data Serialization
Tanzu GemFire offers serialization options other than Java serialization that give you higher performance and greater flexibility for data storage, transfers, and language types.
Tanzu GemFire PDX Serialization
Tanzu GemFire’s Portable Data eXchange (PDX) is a cross-language data format that can reduce the cost of distributing and serializing your objects. PDX stores data in named fields that you can access individually, to avoid the cost of deserializing the entire data object. PDX also allows you to mix versions of objects where you have added or removed fields.
Tanzu GemFire Data Serialization (DataSerializable and DataSerializer)
Tanzu GemFire’s DataSerializable
interface gives you quick serialization of your objects.
You can use standard Java serialization for data you only distribute between Java applications. If you distribute your data between non-Java clients and Java servers, you need to do additional programming to get the data between the various class formats.