Re: What is the best way to play with json in flink?

2025-08-09 Thread Zhanghao Chen
According to fastjson2's official benchmark [1], fastjson2 is about 4x faster than jackson on JDK17 and 3x faster on JDK8. Similar results are observed in our production environment. In addition, UTF8 bytes <-> String conversion is much faster on JDK17 with vectorized algorithms [2][3], so even

Re: What is the best way to play with json in flink?

2025-08-09 Thread Xeno Amess
I notice you mean especially in jdk 17+, is there any more details about it? right now we be using flink 1.14 with jdk 8, so I do have a plan to do a whole upgradation(means to update to flink 2.1 with jdk 24/25/graalvm 24). Zhanghao Chen 于2025年8月9日周六 21:56写道: > We find fastjson2 much faster tha

Re: What is the best way to play with json in flink?

2025-08-09 Thread Zhanghao Chen
We find fastjson2 much faster than Jackson, especially with JDK17+. Best, Zhanghao From: Xeno Amess Sent: Friday, August 8, 2025 6:17:31 PM To: user@flink.apache.org Subject: What is the best way to play with json in flink? right now we use fastjson2 (in Collect