fst java_FST: 快速Java序列化的替代品

fast-serialization

up to 10 times faster 100% JDK Serialization compatible drop-in replacement (Ok, might be 99% ..). As an example: Lambda Serialization which came with 1.8 worked instantly.

Android compatible since version >= 2.17 (use FSTConfiguration.createAndroidDefaultConfiguration() both on server and client side. The configuration object has to be passed into FSTObjectIn/Output constructors)

OffHeap Maps, Persistent OffHeap maps

FSTStructs is very similar to IBM's packed objects. Difference is: You can run it with Oracle JDK today.

optionally en/decode any Serializable object graph to JSON (incl. shared references) (since 2.29) for interop

Apache 2.0 license since 2.17

Docs:

mvn

note: maven.org might lag 1 day behind after releasing.

3.0.0 version (requires java 14, "--add-modules jdk.incubator.foreign" option on compiler and runtime)

de.ruedigermoeller

fst

3.0.1

2.0 version (java 8)

de.ruedigermoeller

fst

2.56

jdk1.6 compatible build of fst 2.x

de.ruedigermoeller

fst

2.48-jdk-6

1.x version (different package name, 1.6 compatible ..). Fixes are not backported anymore, unsupported.

de.ruedigermoeller

fst

1.63

Who uses FST ?

I am not actively tracking use, maven.org reports more than 14000 downloads from 6000 distinct IP accesses triggered by maven builds world wide per month.

Notable also:

used in production in Eurex Exchange's trading back end's middleware

JUptr.io's distributed system / NLP engine uses FST

Popular Apache Wicket supplementals use FST to speed up Wicket

afc51b5d3e83a36339c3f142ddf0e1e8.png

how to build

master contains dev branch/trunk.

1.x contains old version

The maven build should work out of the box and reproduces the artifact hosted on maven.org

To use the gradle build, you need to configure the proxy server in settings.properties (or just set empty if you do not sit behind a proxy).

Note that instrumentation done for fst-structs works only if debug info is turned on during compile. Reason is that generating methods at runtime with javassist fails (probably a javassist bug ..). This does not affect the serialization implementation.

JDK 1.6 Build 1.x build since v1.62 are still jdk 6 compatible

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值