Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Java
  3. FST

FST

Apache-2.0Java3.0.0

A high-performance, JDK-compatible Java serialization library offering significant speed improvements and additional features like JSON serialization and off-heap maps.

GitHubGitHub
1.6k stars237 forks0 contributors

What is FST?

FST (fast-serialization) is a Java library that provides a high-performance alternative to the standard JDK serialization. It serializes and deserializes Java objects much faster while maintaining compatibility with existing Serializable classes, solving performance bottlenecks in data-intensive applications.

Target Audience

Java developers working on performance-sensitive applications, such as trading systems, distributed systems, or middleware, who need efficient object serialization without rewriting existing code.

Value Proposition

Developers choose FST for its significant speed improvements (up to 10x faster), its near-perfect drop-in compatibility with JDK serialization, and additional features like JSON support and off-heap maps that extend its utility beyond basic serialization.

Overview

FST: fast java serialization drop in-replacement

Use Cases

Best For

  • Speeding up serialization in existing Java applications with minimal code changes
  • Building high-performance trading systems or financial middleware
  • Developing Android applications requiring efficient object serialization
  • Creating distributed systems where fast data serialization is critical
  • Managing memory efficiently with off-heap data structures
  • Enabling JSON serialization of complex Java object graphs

Not Ideal For

  • Applications demanding absolute 100% compatibility with JDK serialization for regulatory or legacy codebases
  • Projects locked to Java versions older than 1.6 without access to FST's legacy builds
  • Teams needing a lightweight, single-purpose serialization library without extra features like off-heap maps
  • Environments where serialization formats must be easily human-readable without binary decoding tools

Pros & Cons

Pros

Blazing Fast Performance

Offers up to 10 times faster serialization than standard JDK serialization, as benchmarked and highlighted in the project description, making it ideal for performance-critical applications.

High JDK Compatibility

Acts as a near drop-in replacement with 99% compatibility, supporting advanced features like Lambda Serialization from Java 8 without code changes, per the README.

Android Ready

Provides dedicated configuration via FSTConfiguration.createAndroidDefaultConfiguration() for cross-platform support, ensuring efficient serialization in mobile environments.

Feature-Rich Extensions

Includes optional JSON serialization with shared references, off-heap maps, and MinBin cross-platform format, extending utility beyond basic serialization.

Production Proven

Used in high-stakes production systems like Eurex Exchange's trading backend, demonstrating reliability and performance in real-world scenarios.

Cons

Not Fully Compatible

The README admits it's 'might be 99%' compatible, risking subtle bugs in applications that rely on exact JDK serialization semantics for critical operations.

Version Fragmentation

Multiple version lines (1.x, 2.x, 3.x) with different JDK requirements and compiler options, complicating dependency management and upgrades.

Android Setup Complexity

Requires specific configuration on both server and client sides for Android, adding boilerplate and potential for misconfiguration compared to standard serialization.

Documentation Overhead

Documentation is spread across a separate wiki, which may be less integrated, up-to-date, or accessible than inline docs, increasing learning curve.

Frequently Asked Questions

Quick Stats

Stars1,594
Forks237
Contributors0
Open Issues116
Last commit3 years ago
CreatedSince 2013

Tags

#high-performance#android#java#apache-2.0#json-serialization#serialization#binary-format#json#off-heap-memory

Built With

J
Java

Included in

Java47.5kMicroservices14.2k
Auto-fetched 19 hours ago

Related Projects

FlatBuffersFlatBuffers

FlatBuffers: Memory Efficient Serialization Library

Stars26,255
Forks3,610
Last commit1 month ago
FastjsonFastjson

FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.

Stars25,611
Forks6,405
Last commit2 years ago
JacksonJackson

Main Portal page for the Jackson project

Stars9,775
Forks1,220
Last commit7 days ago
KryoKryo

Java binary serialization and cloning: fast, efficient, automatic

Stars6,535
Forks841
Last commit4 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub