View on GitHub

Fast-serialization

FST: fast java serialization drop in-replacement

Home

features:

Supports java 1.7+ (fst 1.62: JDK 1.6)

Maven, Download

download non-maven build at the releases section: https://github.com/RuedigerMoeller/fast-serialization/releases/

Note: fixes+updates are delivered with some delay to maven central, check downloads first for newest version

current:
<dependency>
    <groupId>de.ruedigermoeller</groupId>
    <artifactId>fst</artifactId>
    <version>2.08</version>
</dependency>
older version (slightly faster, less features, serialization probably more stable)
<dependency>
    <groupId>de.ruedigermoeller</groupId>
    <artifactId>fst</artifactId>
    <version>1.62</version>
</dependency>

State of this project

FST Serialization should be pretty stable and JDK-serialization compatible today. It is used in a large distributed high performance application. Additionally a lot of remaining corner cases (mostly JDK-serialization-compatibility-issues) have been fixed when replacing JDK-serialization in a prime-faces webflow webapp (lot's of rarely used constructs in there).

Documentation

see Wiki

Also see this blog post.

Limits

Benchmark

I measure different typical use cases (both classes with lots of native data and structural complex object graphs). The benchmarks assures, that only serialization speed is measured. Creation of ByteArrayStreams etc. is not included in the benchmark times. Additionally for each library best efforts are made to use them in the best possible way (e.g. reuse heavy weight objects if possible).

current results