Serialization Formats
Cross-Language Services Framework
★ 4.0
Fast JVM Serialization Framework
★ 4.1
pip install thriftN/A — Java librarypip install thriftN/A — Java libraryPython data engineers encounter Apache Thrift when working with systems like Apache Parquet, HBase, and Cassandra, which use Thrift internally for data serialisation and RPC. The thrift Python library enables engineers to call Thrift-based services from Python pipelines. Thrift is also used in microservice architectures where Python services need to communicate with services written in Java, Go, or C++ via a strongly-typed interface.
Python data engineers encounter Kryo when tuning PySpark job performance — enabling Kryo serialization in Spark config (`spark.serializer=org.apache.spark.serializer.KryoSerializer`) reduces shuffle data size and speeds up operations that cross network boundaries between Spark executors. PySpark's Python UDFs still use pickle for Python objects, but JVM-side data uses Kryo.
Individual Tool Pages