跳到主要内容

Fury v0.2.0 发布

· 阅读需 8 分钟
杨朝坤
信息

该版本发布于 Fury 进入 Apache 孵化器之前,因此属于非 ASF 发布。

我非常高兴宣布 Fury 0.2.0 版本发布。这是一个非常令人兴奋的版本:整体性能再提升约 1 倍,序列化数据体积缩小 30%~50%。在 JVM-Serializers 基准中,我们已经成为最快的序列化框架之一。同时,Fury 对 JDK17/21 提供了完整支持,新增 JDK17+ record 的 JIT 序列化与 JDK9+ ImmutableList 的 JIT 序列化。除此之外,我们还开源了 Fury GO——首个支持循环引用与接口多态的 Golang 序列化框架。欢迎试用并反馈问题。

作者:chaokunyang

我非常高兴宣布 Fury 0.2.0 版本发布。 This a very exciting version of fury. With this version, we have 1X speedup, 30%~50% smaller serialized size. And now we are the fastest serialization framework in the JVM-Serializers. At the same time, fury has fully support for JDK17/21, I supported JDK17+ record JIT serialization, JDK9+ ImmutableList JIT serialization. The serialization is blazing fast, please try it out. And we also open sourced Fury GO, the first golang serialization framework which supports circular reference and interface polymorphismm, feel free to try it out and let me know if you have any issues.

亮点

Java

  • Support JDK17+ record JIT/Interpreter serialization
  • Support JDK17+ record JIT/Interpreter serialization backward/forward compatibility
  • Support jdk9+ Immutable Collections JIT/Interpreter mode serialization, much faster compared to other frameworks
  • New collection serialization protocol by homogenization, 1.5x speed up, 2X space saving.
  • Desgined and implemented a new long compression algorithm, with performance cost less than 10% but give 50% compresstion ratio
  • Support configuring compress int/long independently, enable int/long compression by default
  • Add class checker API and Whitelist/Blacklist based implementation to enhance security

Python

  • Support pyarrow6 bazel build
  • Support python 3.10

JavaScript

  • [JavaScript] support fury for browser
  • [JavaScript] support polymorphism
  • [JavaScript] enhancement performance

Golang

  • Implement Golang serialization framework, which support reference, pointer, data serialization
  • Implement serializers for string/numbers/slice/map/slice/struct/pointer

变更列表

新贡献者

完整更新日志https://github.com/alipay/fury/compare/v0.1.0...v0.2.0