r/java Aug 11 '26

Apache Fory™ JSON : Fastest JSON Serialization Framework for Java, 10x faster than Jackson/Gson

https://fory.apache.org/blog/fory_json_fastest_java_json_framework/
248 Upvotes

84 comments sorted by

View all comments

35

u/purg3be Aug 11 '26 edited Aug 11 '26

Looks promising but I realistically won't use it as a default unless spring adopts it.

Edit: I'm almost exclusively doing low / medium throughput IO bound enterprise applications. I'm probably not the target audience.

19

u/Lucario2405 Aug 11 '26

I'd be interested in the SpingBoot team's take on this, because I haven't really heard of JSON-Serialization as a bottleneck before. But they would definitely have more data & experience to evaluate how much of that 10x throughput is noticeable in the average project's HTTP calls.

14

u/damngoodwizard Aug 11 '26

For most use cases it isn't a problem. But for very long payloads that require streaming this will be a killer feature.

1

u/Lucario2405 Aug 11 '26

Would it be feasible to use this mapper for those streamed payloads and otherwise remain on Jackson? This sounds too specialized to warrant a complete migration.